Documentation

HexMatrixMathlib.Submatrix

The executable principal-submatrix and row-prefix operations correspond to Mathlib's Matrix.submatrix reindexed along Fin.castLE.

@[simp]

The k × k principal submatrix is the Fin.castLE-reindexed submatrix.

@[simp]
theorem HexMatrixMathlib.matrixEquiv_takeRows {R : Type u} {n m : } (M : Hex.Matrix R n m) (k : ) (hk : k n) :

The first-k-rows slice is the submatrix reindexing rows by Fin.castLE.