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 n → R)
:
Replacing a column carries matrixEquiv to Mathlib's updateCol.