NLA-lib Explorer

Arnoldi basis of a Hessenberg reduction

Library · Result group

Theorem (HasOrthonormalCols.eq_arnoldiMatrix_of_isUpperHessenberg). Arnoldi basis of a Hessenberg reduction. With positive real subdiagonal entries, the unitary factor is exactly \mathsf{arnoldiMatrix}(\mathbf{A},\mathbf{Q}_{:,0},k+1). [GolubVanLoan2013, §7.4.3].

Headline (provisional)

Lean statement and details
NLAlib.HasOrthonormalCols.eq_arnoldiMatrix_of_isUpperHessenberg.{u_1} {𝕜 : Type u_1} [RCLike 𝕜]
  {k : ℕ} {A Q : Matrix (Fin (k + 1)) (Fin (k + 1)) 𝕜} (hQ : HasOrthonormalCols Q)
  (hH : IsUpperHessenberg (Qᴴ * A * Q)) (hpos : ∀ (i : Fin k), 0 < (Qᴴ * A * Q) i.succ i.castSucc) :
  Q = arnoldiMatrix A (Q.col 0) (k + 1)

Full source on GitHub

Copy link

Other forms

Theorem (HasOrthonormalCols.isGradedKrylovBasis_of_isUnreducedHessenberg). Krylov spaces of an unreduced Hessenberg reduction. The first j+1 columns of the unitary factor \mathbf{Q} span the Krylov space generated by its first column for every j. [GolubVanLoan2013, §7.4.3].

Lean statement and details
NLAlib.HasOrthonormalCols.isGradedKrylovBasis_of_isUnreducedHessenberg.{u_1} {𝕜 : Type u_1}
  [RCLike 𝕜] {k : ℕ} {A Q : Matrix (Fin (k + 1)) (Fin (k + 1)) 𝕜} (hQ : HasOrthonormalCols Q)
  (hH : IsUnreducedHessenberg (Qᴴ * A * Q)) : IsGradedKrylovBasis A (Q.col 0) Q

Full source on GitHub

Copy link