NLAlib.HasOrthonormalCols.exists_isRealSchurForm
Library · theorem
Headline of real-schur (provisional)
Real orthogonal canonical form. A real orthogonal matrix is orthogonally similar to scalar signs \pm1 and blocks \begin{\mathbf{b}matri\mathbf{x}}a&\mathbf{b}\\-\mathbf{b}&a\end{\mathbf{b}matri\mathbf{x}} with a^2+\mathbf{b}^2=1. The real Schur pattern, singleton signs, and unit-circle equation hold for any supplied enumeration of a finite index type, including the empty type. [HornJohnson2013, Corollary 2.5.11(c)]; signed block coefficients are allowed here, without choosing the printed positive-angle convention. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, exists_orthogonal_real_orthogonal_normal_form. Result: real-schur
NLAlib.HasOrthonormalCols.exists_isRealSchurForm.{u_2} {k : ℕ} {n : Type u_2} [Fintype n]
[DecidableEq n] {A : Matrix n n ℝ} (hA : HasOrthonormalCols A) (order : Fin k ≃ n) :
∃ Q T,
HasOrthonormalCols Q ∧
A = Q * T * Qᴴ ∧
IsRealSchurForm (T.submatrix ⇑order ⇑order) ∧
(∀ (i j : n), i ≠ j → T i j = -T j i) ∧
(∀ (i : n), (∀ (j : n), j ≠ i → T j i = 0) → T i i = -1 ∨ T i i = 1) ∧
∀ (i j : Fin k),
↑j + 1 = ↑i →
T (order i) (order j) ≠ 0 →
T (order j) (order j) ^ 2 + T (order i) (order j) ^ 2 = 1Import NLAlib.Matrix.Spectral.RealSchur.