Row rank equals column rank
ProvedFamousTheorems.matrix_rank_transpose_7bRow rank equals column rank. Let be an matrix over a field. Then : the dimension of the space spanned by the rows of equals the dimension of the space spanned by its columns.
This fact is not obvious from the definitions and is one of the first nontrivial theorems of linear algebra. It gives the rank–nullity theorem for the transpose and shows that a square matrix has linearly independent rows if and only if it has linearly independent columns.
Formalization note. Mathlib's Matrix.rank_transpose. Matrix.rank A is the dimension of the range of the linear map given by , that is, of the span of its columns, so the rank of the transpose is the row rank.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem matrix_rank_transpose_7b {m n R : Type*} [Fintype m] [Fintype n] [Field R] (A : Matrix m n R) : A.transpose.rank = A.rank := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Matrix.rank_transpose`. Proof here reduces to that Mathlib result.