NLA-lib Explorer

NLAlib.isStarProjection_cfc_indicator

Library · theorem

The spectral projector is an orthogonal projector: for every square \mathbf{A} and every S \subseteq \mathbb{R}, \mathbf{1}_S(\mathbf{A}) is self-adjoint and idempotent (off Hermitian it is \mathbf{0}, Mathlib's junk value of cfc).

NLAlib.isStarProjection_cfc_indicator.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Fintype n] [DecidableEq n] (A : Matrix n n 𝕜) (S : Set ℝ) :
  IsStarProjection (cfc (S.indicator fun x ↦ 1) A)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.