NLA-lib Explorer

Reduction to Hessenberg form

Library · Result group

Theorem (exists_isUpperHessenberg_conjTranspose_mul_mul). Reduction to Hessenberg form. Every square matrix \mathbf{A} is unitarily similar to an upper Hessenberg matrix \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}, by a unitary \mathbf{Q} whose first column is the first coordinate vector \mathbf{e}_0. [GolubVanLoan2013, §7.4.3]; [HornJohnson2013, §2.5].

Headline (provisional)

Lean statement and details
NLAlib.exists_isUpperHessenberg_conjTranspose_mul_mul.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {n : ℕ}
  (A : Matrix (Fin n) (Fin n) 𝕜) :
  ∃ Q,
    HasOrthonormalCols Q ∧
      IsUpperHessenberg (Qᴴ * A * Q) ∧ ∀ (i : Fin n), ↑i = 0 → Q.col i = Pi.single i 1

Full source on GitHub

Copy link

Other forms

Theorem (isUpperHessenberg_hessenbergReduction_snd). Computed Hessenberg form. Householder similarities clear the subdiagonal tail: if (\mathbf{Q},\mathbf{H})=\mathsf{hessenbergReduction}(\mathbf{A}) then \mathbf{H} is upper Hessenberg. [GolubVanLoan2013, Algorithm 7.4.2].

Lean statement and details
NLAlib.isUpperHessenberg_hessenbergReduction_snd.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {n : ℕ}
  (A : Matrix (Fin n) (Fin n) 𝕜) : IsUpperHessenberg (hessenbergReduction A).2

Full source on GitHub

Copy link