Section 2, p. 4 — the orthogonal projection onto the span of independent columns is
ProvedWeingartenCalc.Fundamental.projection_factorizationLet be a finite index set and let be linearly independent. Let be the matrix whose -th column is , i.e. , and let be its conjugate transpose. If is an complex matrix which is selfadjoint (), idempotent (), and whose image is , then
This is the matrix-analysis formula for the orthogonal projection onto the column space of , the multidimensional version of the formula for the projection onto a line. Applied to the Haar average and a basis of the invariant tensors, it gives with the Weingarten matrix .
Formalization Note The statement is general linear algebra over an arbitrary finite index type n; (Aᴴ * A)⁻¹ is Mathlib's matrix inverse, which is a genuine inverse here because linear independence makes the Gram matrix invertible. The cases (both sides zero) are included.
import Mathlib import Definitions.Def_WeingartenCalc_Fundamental_TensorPower open MeasureTheory Matrix
namespace WeingartenCalc.Fundamental
theorem projection_factorization
{n : Type*} [Fintype n] [DecidableEq n] {m : ℕ} (a : Fin m → (n → ℂ))
(ha : LinearIndependent ℂ a) (P : Matrix n n ℂ) (hPh : Pᴴ = P) (hPP : P * P = P)
(hrange : LinearMap.range P.mulVecLin = Submodule.span ℂ (Set.range a)) :
P = coordMatrix a * ((coordMatrix a)ᴴ * coordMatrix a)⁻¹ * (coordMatrix a)ᴴ := by sorry
end WeingartenCalc.Fundamental
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.