Matrix rank: proof internals #
Proofs behind Complexitylib.Algebraic.LinearAlgebra.MatrixRank: subadditivity, the
characterization of rank by nonvanishing square minors, closedness of the bounded-rank
locus, block-triangular lower bounds, and the effect of deleting rows and columns.
theorem
Algebraic.MatrixRank.Internal.exists_linearIndependent_rows
{K : Type u_1}
[Field K]
{m : Type u_2}
{n : Type u_3}
[Fintype n]
[Fintype m]
{k : ℕ}
(A : Matrix m n K)
(hk : k ≤ A.rank)
:
∃ (f : Fin k → m), LinearIndependent K (A.submatrix f id).row
If k ≤ rank A, some k rows of A are linearly independent.
theorem
Algebraic.MatrixRank.Internal.card_le_rank_of_det_ne_zero
{K : Type u_1}
[Field K]
{m : Type u_2}
{n : Type u_3}
[Fintype n]
{ι : Type u_6}
[Fintype ι]
[DecidableEq ι]
(A : Matrix m n K)
(f : ι → m)
(g : ι → n)
(h : (A.submatrix f g).det ≠ 0)
:
A nonzero square minor indexed by ι bounds the rank below by card ι.
theorem
Algebraic.MatrixRank.Internal.natCard_not_mem_range
{α : Type u_10}
{β : Type u_11}
[Fintype α]
[Fintype β]
{f : α → β}
(hf : Function.Injective f)
: