NLA-lib Explorer

The gap between two orthogonal projectors

Library · Result group

Theorem (IsStarProjection.specNorm_sub_eq_max). The gap between two orthogonal projectors: \|\mathbf{P} - \mathbf{Q}\|_2 is the larger of the two directed gaps, \max(\|(\mathbf{I} - \mathbf{Q})\mathbf{P}\|_2, \|(\mathbf{I} - \mathbf{P})\mathbf{Q}\|_2). [GolubVanLoan2013, §2.5.3]; [Kato1995, §I.6.8].

Headline (provisional)

Lean statement and details
IsStarProjection.specNorm_sub_eq_max.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  [DecidableEq n] {P Q : Matrix n n 𝕜} (hP : IsStarProjection P) (hQ : IsStarProjection Q) :
  specNorm (P - Q) = max (specNorm ((1 - Q) * P)) (specNorm ((1 - P) * Q))

Full source on GitHub

Copy link

Other forms

Theorem (IsStarProjection.specNorm_sub_eq_of_rank_eq). The gap between orthogonal projectors of equal rank. For orthogonal projectors of equal rank, \|\mathbf{P} - \mathbf{Q}\|_2 = \|(\mathbf{I} - \mathbf{Q})\mathbf{P}\|_2.

Lean statement and details
IsStarProjection.specNorm_sub_eq_of_rank_eq.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  [Fintype n] [DecidableEq n] {P Q : Matrix n n 𝕜} (hP : IsStarProjection P)
  (hQ : IsStarProjection Q) (h : P.rank = Q.rank) : specNorm (P - Q) = specNorm ((1 - Q) * P)

Full source on GitHub

Copy link

Theorem (specNorm_rangeProjector_sub_rangeProjector). The distance between two projectors of equal rank is the sine of the largest principal angle: if \operatorname{rank} \mathbf{X} = \operatorname{rank} \mathbf{Y} = j + 1, then \|\mathbf{P}_{\mathbf{X}} - \mathbf{P}_{\mathbf{Y}}\|_2 = \sin \theta_j(\mathbf{X}, \mathbf{Y}). [GolubVanLoan2013, §2.5.3].

Lean statement and details
NLAlib.specNorm_rangeProjector_sub_rangeProjector.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} {p : Type u_3} {q : Type u_4} [Fintype n] [Fintype p] [Fintype q]
  {X : Matrix n p 𝕜} {Y : Matrix n q 𝕜} (h : X.rank = Y.rank) {j : ℕ} (hj : j + 1 = Y.rank) :
  specNorm (rangeProjector X - rangeProjector Y) = Real.sin (principalAngle X Y j)

Full source on GitHub

Copy link