Theorem (HasOrthonormalCols.exists_isRealSchurForm).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.
Headline (provisional)
Lean statement and details
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 = 1
Theorem (exists_hasOrthonormalCols_isRealSchurForm).The real Schur form. Every real square matrix is orthogonally similar to a matrix in real Schur form: \mathbf{A} = \mathbf{Q}\mathbf{T}\mathbf{Q}^{\mathsf{T}} with \mathbf{Q} orthogonal and \mathbf{T} in real Schur form. [HornJohnson2013, Theorem 2.3.4]; [GolubVanLoan2013, Theorem 7.4.1].
Lean statement and details
NLAlib.exists_hasOrthonormalCols_isRealSchurForm {k : ℕ} (A : Matrix (Fin k) (Fin k) ℝ) :
∃ Q T, HasOrthonormalCols Q ∧ A = Q * T * Qᴴ ∧ IsRealSchurForm T
Theorem (exists_hasOrthonormalCols_isRealSchurForm_of_conjTranspose_eq_neg).Real skew-symmetric canonical form. A real matrix with \mathbf{A}^{\mathsf{H}}=-\mathbf{A} is orthogonally similar to zero scalar blocks and blocks \begin{\mathbf{b}matri\mathbf{x}}0&\mathbf{b}\\-\mathbf{b}&0\end{\mathbf{b}matri\mathbf{x}}, with signed real \mathbf{b}. For any finite index type, including the empty type, a supplied enumeration specifies the real Schur pattern. [HornJohnson2013, Corollary 2.5.11(b)]; the printed statement additionally chooses positive block orientation, which is not asserted here. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730, exists_orthogonal_real_skew_normal_form.
Lean statement and details
NLAlib.exists_hasOrthonormalCols_isRealSchurForm_of_conjTranspose_eq_neg.{u_2} {k : ℕ}
{n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ℝ} (hA : Aᴴ = -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), T i i = 0