The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.Echelon.Decomposition
7 declarations. Mathlib docs · Source
Echelon decomposition certificates
Echelon.Decomposition A L σ pivot certifies an echelon decomposition of the matrix A.
Main definitions
Echelon.Decomposition: the certificate structure.
Main results
Echelon.Decomposition.rank_eq:A.rankis the pivot count of any certificate forA.Echelon.Decomposition.prod_diag_mul_det:A.detis determined by the diagonal products ofLand of the echelon form of any certificate forA.
Tags
matrix, echelon form
structure Echelon.Decomposition E3 #
{m : Type u_1} →
[Fintype m] →
[LinearOrder m] →
{n : Type u_2} →
[LinearOrder n] →
{R : Type u_3} → [CommRing R] → Matrix m n R → Matrix m m R → Equiv.Perm m → (m → WithTop n) → Prop
A certificate of an echelon form decomposition of A, certifying that
L * (A.submatrix σ id) is in echelon form with the pivot pivot, where L
is lower triangular with nonzero diagonal, and σ the permutation on the rows
of A.
This version does not take the final echelon form itself as it can be computed
from the other data.
ctor Echelon.Decomposition.mk E0 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {n : Type u_2} [inst_2 : LinearOrder n] {R : Type u_3}
[inst_3 : CommRing R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n},
(L * A.submatrix (⇑σ) id).IsPivotedBy pivot →
L.IsLowerTriangular → (∀ (i : m), L.diag i ≠ 0) → Echelon.Decomposition A L σ pivot
theorem Echelon.Decomposition.isPivotedBy E1 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {n : Type u_2} [inst_2 : LinearOrder n] {R : Type u_3}
[inst_3 : CommRing R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n},
Echelon.Decomposition A L σ pivot → (L * A.submatrix (⇑σ) id).IsPivotedBy pivot
theorem Echelon.Decomposition.L_lowerTriangular E1 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {n : Type u_2} [inst_2 : LinearOrder n] {R : Type u_3}
[inst_3 : CommRing R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n},
Echelon.Decomposition A L σ pivot → L.IsLowerTriangular
theorem Echelon.Decomposition.L_diag_ne_zero E1 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {n : Type u_2} [inst_2 : LinearOrder n] {R : Type u_3}
[inst_3 : CommRing R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n},
Echelon.Decomposition A L σ pivot → ∀ (i : m), L.diag i ≠ 0
theorem Echelon.Decomposition.prod_diag_mul_det E3 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {R : Type u_3} [inst_2 : CommRing R] {L : Matrix m m R}
{σ : Equiv.Perm m} [inst_3 : DecidableEq m] {A : Matrix m m R} {pivot : m → WithTop m},
Echelon.Decomposition A L σ pivot →
(∏ i, L i i) * (↑↑(Equiv.Perm.sign σ) * A.det) = ∏ i, (L * A.submatrix (⇑σ) id) i i
theorem Echelon.Decomposition.rank_eq E3 #
∀ {m : Type u_1} [inst : Fintype m] [inst_1 : LinearOrder m] {n : Type u_2} [Finite n] [inst_3 : LinearOrder n]
{R : Type u_3} [inst_4 : CommRing R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n}
[IsDomain R], Echelon.Decomposition A L σ pivot → A.rank = {i | pivot i ≠ ⊤}.card