Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.StrictUpperTriangular

Strictly upper triangular matrices #

A square matrix over an ordered index type is strictly upper triangular when its entry at (i, j) vanishes unless i < j (Matrix.IsStrictUpperTriangular). Mathlib's Matrix.IsUpperTriangular allows a nonzero diagonal; the strict version is closed under sums, negation, differences and products, and 1 + E then has determinant one.

Main definitions #

Main results #

def Matrix.IsStrictUpperTriangular {V : Type u_1} {R : Type u_2} [LT V] [Zero R] (M : Matrix V V R) :

A square matrix is strictly upper triangular when its entry at (i, j) vanishes unless i < j. For the time-layered transition matrices of a machine, ordered by time, this says that every transition moves strictly forward.

A strictly upper triangular matrix is upper triangular.

theorem Matrix.IsStrictUpperTriangular.det_one_add {R : Type u_2} {V : Type u_3} [Fintype V] [DecidableEq V] [LinearOrder V] [CommRing R] {E : Matrix V V R} (h : E.IsStrictUpperTriangular) :
(1 + E).det = 1

1 + E has determinant one when E is strictly upper triangular.