NLA-lib Explorer

Gaussian elimination in the natural order

Library · Source module

Gaussian elimination in the natural order

NLAlib.gaussState A k, written \mathbf{A}^{(k)} here, is the matrix after eliminating the first k pivots of a matrix \mathbf{A} indexed by Fin n, in the natural order; the j-th pivot is \mathbf{A}^{(j)}_{j,j}. An algorithm is a total recursion; its breakdown is a zero pivot, and its correctness theorem assumes nonzero pivots. The LU and Cholesky factors are read off this sequence.

Main definitions

* NLAlib.gaussState: the sequence of matrices produced by elimination in the natural order.

Main results

* NLAlib.principalMinor_eq_apply_self_mul_principalMinor_eliminationStep: one elimination step factors the pivot out of a principal minor. * NLAlib.eq_gaussState_add_sum: the telescoping identity, with no assumption on the pivots. * NLAlib.gaussState_apply_eq_zero_of_lt_left, NLAlib.gaussState_apply_eq_zero_of_lt_right: the zero pattern while the pivots are nonzero. * NLAlib.rank_gaussState_add: each step at a nonzero pivot lowers the rank by one. * NLAlib.principalMinor_Iic_eq_prod_gaussState: a leading principal minor is the product of the pivots. * NLAlib.gaussState_apply_self_mul_principalMinor_Iio: a pivot is the ratio of consecutive leading principal minors. * NLAlib.forall_gaussState_ne_zero_iff: nonzero pivots are nonzero leading principal minors. * Matrix.IsHermitian.gaussState: elimination preserves Hermitian matrices. * Matrix.PosDef.gaussState_apply_self_pos: the pivots of a positive definite matrix are positive. * NLAlib.gaussState_submatrix, NLAlib.gaussState_submatrix_left: elimination commutes with a reindexing that fixes the pivots used.

Declarations