Theorem (IsIdempotentElem.specNorm_mul_cos_principalAngle).The secant formula. The spectral norm of a nonzero idempotent \mathbf{P} is the secant of the largest principal angle between its range and the range of \mathbf{P}^{\mathsf{H}} (the orthogonal complement of its kernel): \|\mathbf{P}\|_2 \cos \theta_j = 1 with \theta_j = \theta_j(\mathbf{P}, \mathbf{P}^{\mathsf{H}}) and j + 1 = \operatorname{rank} \mathbf{P}; that \theta_j < \pi / 2 is IsIdempotentElem.principalAngle_conjTranspose_lt. [HornJohnson2013, Corollary 3.4.3.3]; [Szyld2006].
Headline (provisional)
Lean statement and details
IsIdempotentElem.specNorm_mul_cos_principalAngle.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2}
[Fintype n] {P : Matrix n n ๐} (hP : IsIdempotentElem P) {j : โ} (hj : j + 1 = P.rank) :
specNorm P * Real.cos (principalAngle P Pแดด j) = 1
Theorem (IsIdempotentElem.specNorm_one_sub).An idempotent and its complement have the same norm, when neither is zero: \|\mathbf{I} - \mathbf{P}\|_2 = \|\mathbf{P}\|_2 for \mathbf{P} \ne \mathbf{0}, \mathbf{I}. [Kato1995, ยงI.6.7]; [Szyld2006]; [HornJohnson2013, Corollary 3.4.3.3].
Lean statement and details
IsIdempotentElem.specNorm_one_sub.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2} [Fintype n]
[DecidableEq n] {P : Matrix n n ๐} (hP : IsIdempotentElem P) (h0 : P โ 0) (h1 : P โ 1) :
specNorm (1 - P) = specNorm P
Theorem (HasOrthonormalCols.specNorm_obliqueProjector).The norm of the oblique projector of two frames: for \mathbf{U}, \mathbf{V} with orthonormal columns, of any widths and any overlap, \|\mathbf{\Pi}_{\mathbf{U},\mathbf{V}^{\mathsf{H}}}\|_2 = \|(\mathbf{V}^{\mathsf{H}}\mathbf{U})^{+}\|_2\,. When \mathbf{V}^{\mathsf{H}}\mathbf{U} is square and invertible this is the secant of the largest principal angle (NLAlib.HasOrthonormalCols.specNorm_obliqueProjector_mul_cos). [Szyld2006]; there for invertible \mathbf{V}^{\mathsf{H}}\mathbf{U}.
Lean statement and details
NLAlib.HasOrthonormalCols.specNorm_obliqueProjector.{u_1, u_3, u_4, u_5} {๐ : Type u_1} [RCLike ๐]
{n : Type u_3} {p : Type u_4} {q : Type u_5} [Fintype n] [Fintype p] [Fintype q] [DecidableEq p]
[DecidableEq q] {U : Matrix n p ๐} {V : Matrix n q ๐} (hU : HasOrthonormalCols U)
(hV : HasOrthonormalCols V) : specNorm (obliqueProjector U Vแดด) = specNorm (pinv (Vแดด * U))
Theorem (HasOrthonormalCols.specNorm_obliqueProjector_mul_cos).The norm of an oblique projector and the largest principal angle: for \mathbf{U}, \mathbf{V} with orthonormal columns indexed by p and \mathbf{V}^{\mathsf{H}}\mathbf{U} invertible, \|\mathbf{\Pi}_{\mathbf{U},\mathbf{V}^{\mathsf{H}}}\|_2 \cos\theta_j(\mathbf{U}, \mathbf{V}) = 1 for j + 1 = \lvert p \rvert. [Szyld2006]; [HornJohnson2013, Corollary 3.4.3.3].
General form: sizes are index types
Lean statement and details
NLAlib.HasOrthonormalCols.specNorm_obliqueProjector_mul_cos.{u_1, u_3, u_4} {๐ : Type u_1}
[RCLike ๐] {n : Type u_3} {p : Type u_4} [Fintype n] [Fintype p] [DecidableEq p]
{U V : Matrix n p ๐} (hU : HasOrthonormalCols U) (hV : HasOrthonormalCols V) (h : IsUnit (Vแดด * U))
{j : โ} (hj : j + 1 = Fintype.card p) :
specNorm (obliqueProjector U Vแดด) * Real.cos (principalAngle U V j) = 1
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.