NLA-lib Explorer

The Arnoldi process computes the Hessenberg matrix

Library ยท Result group

Theorem (mgsArnoldiHessenberg_eq). The Arnoldi process computes the Hessenberg matrix: for every \mathbf{A} and q, the matrix computed by q steps from \mathbf{b} is \underline{\mathbf{H}}_q = \mathbf{Q}_{q+1}^{\mathsf{H}}\mathbf{A}\mathbf{Q}_q for the canonical bases \mathbf{Q}_j = \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, j). [Saad2003, ยง6.3].

Headline (provisional)

Lean statement and details
NLAlib.mgsArnoldiHessenberg_eq.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) (q : โ„•) :
  mgsArnoldiHessenberg A b q = (arnoldiMatrix A b (q + 1))แดด * A * arnoldiMatrix A b q

Full source on GitHub

Copy link

Other forms

Theorem (mgsArnoldiMatrix_eq_arnoldiMatrix). The Arnoldi process computes the canonical basis, for every \mathbf{A} and every q, with no breakdown hypothesis: the basis computed by q steps from \mathbf{b} is \mathsf{arnoldiMatrix}(\mathbf{A}, \mathbf{b}, q); past the grade both are zero. [Saad2003, Proposition 6.4].

Lean statement and details
NLAlib.mgsArnoldiMatrix_eq_arnoldiMatrix.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2}
  [Fintype n] [DecidableEq n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) (q : โ„•) :
  mgsArnoldiMatrix A b q = arnoldiMatrix A b q

Full source on GitHub

Copy link

Theorem (mul_mgsArnoldiMatrix). The computed Arnoldi relation \mathbf{A}\mathbf{Q}_q = \mathbf{Q}_{q+1}\underline{\mathbf{H}}_q, for every \mathbf{A} and q, with the matrices the process computes. [Saad2003, Proposition 6.5].

Lean statement and details
NLAlib.mul_mgsArnoldiMatrix.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) (q : โ„•) :
  A * mgsArnoldiMatrix A b q = mgsArnoldiMatrix A b (q + 1) * mgsArnoldiHessenberg A b q

Full source on GitHub

Copy link