Documentation

HexMatrixMathlib.Lemmas

Correspondence lemmas carrying the executable container API of Hex.Matrix (transpose, row/column updates) across matrixEquiv to the matching Mathlib Matrix operations.

@[simp]

Transpose commutes with matrixEquiv: the executable transpose becomes Mathlib's .

@[simp]
theorem HexMatrixMathlib.matrixEquiv_setRow {R : Type u} {n m : } (M : Hex.Matrix R n m) (dst : Fin n) (v : Vector R m) :

Replacing a row carries matrixEquiv to Mathlib's updateRow.

@[simp]
theorem HexMatrixMathlib.matrixEquiv_setCol {R : Type u} {n m : } (M : Hex.Matrix R n m) (dst : Fin m) (v : Fin nR) :

Replacing a column carries matrixEquiv to Mathlib's updateCol.