Matrix.det_conjTranspose_mul_self_eq_sum_powersetCard
Library · theorem
General form: sizes are index types
Cauchy–Binet formula for Gram determinants. A Gram determinant is the sum of the Gram determinants of the maximal row selections: \det(\mathbf{A}^{\mathsf{H}}\mathbf{A}) = \sum_s \det(\mathbf{A}_{s,:}^{\mathsf{H}} \mathbf{A}_{s,:}), o\mathbf{v}er the sets s of rows with as many elements as \mathbf{A} has columns. Over \mathbb{R} or \mathbb{C} each term is the squared absolute value of a maximal minor. [HornJohnson2013, §0.8.7]. Result: cauchy-binet
Matrix.det_conjTranspose_mul_self_eq_sum_powersetCard.{u_1, u_3, u_4} {R : Type u_1} [CommRing R]
{m : Type u_3} {n : Type u_4} [Fintype m] [Fintype n] [StarRing R] [DecidableEq n]
(A : Matrix m n R) :
(Aᴴ * A).det =
∑ s ∈ Finset.powersetCard (Fintype.card n) Finset.univ,
((A.submatrix Subtype.val id)ᴴ * A.submatrix Subtype.val id).detImport NLAlib.ForMathlib.LinearAlgebra.Matrix.CauchyBinet.
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.