NLA-lib Explorer

Matrix.det_submatrix_equiv_equiv

Library · theorem

Reindexing the rows by a bijection e_r and the columns by a bijection e_c multiplies the determinant by the sign of the permutation e_r^{-1} \circ e_c (ec.trans er.symm). With e_r = e_c this is Matrix.det_submatrix_equiv_self.

Matrix.det_submatrix_equiv_equiv.{u_1, u_2, u_3} {R : Type u_1} [CommRing R] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A : Matrix n n R)
  (er ec : m ≃ n) : (A.submatrix ⇑er ⇑ec).det = ↑↑(Equiv.Perm.sign (ec.trans er.symm)) * A.det

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.Adjugate.