Documentation

Mathlib.LinearAlgebra.FreeModule.Finite.Matrix

Finite and free modules using matrices #

We provide some instances for finite and free modules involving matrices.

Main results #

instance Module.Free.linearMap (R : Type u) (M : Type v) (N : Type w) [CommRing R] [AddCommGroup M] [Module R M] [Module.Free R M] [AddCommGroup N] [Module R N] [Module.Free R N] [Module.Finite R M] [Module.Finite R N] :
Equations
instance Module.Finite.linearMap {R : Type u} (M : Type v) (N : Type w) [CommRing R] [AddCommGroup M] [Module R M] [Module.Free R M] [AddCommGroup N] [Module R N] [Module.Free R N] [Module.Finite R M] [Module.Finite R N] :
Equations

The finrank of M →ₗ[R] N is (finrank R M) * (finrank R N).

theorem Matrix.rank_vecMulVec {K : Type u} {m : Type u} {n : Type u} [CommRing K] [StrongRankCondition K] [Fintype n] [DecidableEq n] (w : mK) (v : nK) :
LinearMap.rank (Matrix.toLin' (Matrix.vecMulVec w v)) 1