IsIdempotentElem.exists_fromBlocks_of_rank_add_eq
Library ¡ theorem
Unitary canonical form of an idempotent. For an idempotent \mathbf{P} of rank r and nullity s, there is an orthonormal basis in which \mathbf{P} consists of g oblique planes with blocks \begin{\mathbf{b}matri\mathbf{x}}1 & \sqrt{\sigma_i(\mathbf{P})^2-1} \\ 0 & 0\end{\mathbf{b}matri\mathbf{x}}, and scalar identity and zero blocks. Exactly the first g singular values exceed one, and each positive singular value is at least one. This includes empty matrices and ranks zero and full. [HornJohnson2013, Corollary 3.4.3.3].
IsIdempotentElem.exists_fromBlocks_of_rank_add_eq.{u_1, u_2} {đ : Type u_1} [RCLike đ]
{n : Type u_2} [Fintype n] {P : Matrix n n đ} (hP : IsIdempotentElem P) {s : â}
(hc : P.rank + s = Fintype.card n) :
â g ⤠min P.rank s,
(â (i : â), 1 < singularValues P i â i < g) â§
(â i < P.rank, 1 ⤠singularValues P i) â§
â H,
HasOrthonormalCols H â§
Há´´ * P * H =
fromBlocks 1 (of fun i j ⌠if âi = âj then ââ(singularValues P âi ^ 2 - 1) else 0) 0 0Import NLAlib.Matrix.Subspaces.ObliqueCanonicalForm.