Row equivalence is sameness of row space (Two.III.3)
Provedhefferon_row_equivalent_iff_same_row_spaceechelon-formlinear-algebrarow-space
Two matrices and over a field are row equivalent -- that is, for some invertible matrix -- if and only if their rows span the same subspace of .
Preamble
import Mathlib.Data.Matrix.Basic import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.LinearAlgebra.Matrix.ToLin open Matrix open Submodule
Formal statement
theorem hefferon_row_equivalent_iff_same_row_space
{K : Type*} [Field K] {m n : ℕ} (A B : Matrix (Fin m) (Fin n) K) :
(∃ M : Matrix (Fin m) (Fin m) K, IsUnit M.det ∧ B = M * A) ↔
Submodule.span K (Set.range A) = Submodule.span K (Set.range B) := by
sorrySource
Jim Hefferon, *Linear Algebra*, Saint Michael's College, 2020 printing, Chapter Two, Section III.3, Lemma 3.5 and Theorem 3.7, pp. 146-153