NLA-lib Explorer

Matrix.isStarProjection_iff

Library · theorem

A matrix is a star projection exactly when it is idempotent and Hermitian.

Matrix.isStarProjection_iff.{u_1, u_2} {m : Type u_1} {α : Type u_2} [Fintype m] [Mul α]
  [AddCommMonoid α] [Star α] {P : Matrix m m α} : IsStarProjection P ↔ P * P = P ∧ P.IsHermitian

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.Hermitian.