Documentation

Mathlib.LinearAlgebra.Matrix.Echelon.Decomposition

Echelon decomposition certificates #

Echelon.Decomposition A L σ pivot certifies an echelon decomposition of the matrix A.

Main definitions #

Main results #

Tags #

matrix, echelon form

structure Echelon.Decomposition {m : Type u_1} [Fintype m] [LinearOrder m] {n : Type u_2} [LinearOrder n] {R : Type u_3} [CommRing R] (A : Matrix m n R) (L : Matrix m m R) (σ : Equiv.Perm m) (pivot : m → WithTop n) :

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.

Instances For
    theorem Echelon.Decomposition.rank_eq {m : Type u_1} [Fintype m] [LinearOrder m] {n : Type u_2} [Fintype n] [LinearOrder n] {R : Type u_3} [CommRing R] [IsDomain R] {A : Matrix m n R} {L : Matrix m m R} {σ : Equiv.Perm m} {pivot : m → WithTop n} (cert : Decomposition A L σ pivot) :
    A.rank = {i : m | pivot i ≠ ⊤}.card