NLA-lib Explorer

Matrix.compound_apply

Library · theorem

An entry of the compound matrix is the minor on the two subsets, in increasing order.

Matrix.compound_apply.{u_1, u_3, u_4} {R : Type u_1} [CommRing R] {m : Type u_3} {n : Type u_4}
  [LinearOrder m] [LinearOrder n] (k : ℕ) (A : Matrix m n R) (s : ↑(Set.powersetCard m k))
  (t : ↑(Set.powersetCard n k)) :
  compound k A s t =
    (A.submatrix (fun i ↦ ↑((Set.powersetCard.orderIsoOfFin s) i)) fun j ↦
        ↑((Set.powersetCard.orderIsoOfFin t) j)).det

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.CauchyBinet.