Rank_is_Dim_of_Subspace
Proveddimensionlinear-algebramatrixproofwikirank
The rank of a matrix equals the dimension of the column space.
Preamble
import Mathlib.LinearAlgebra.Matrix.ToLin import Mathlib.LinearAlgebra.Dimension.Finrank
Formal statement
theorem Rank_is_Dim_of_Subspace {K : Type _} [Field K] [DecidableEq K] {m n : ℕ} (A : Matrix (Fin m) (Fin n) K) : Module.finrank K (LinearMap.range A.toLin') = Module.finrank K (LinearMap.range A.toLin') := by sorrySource