These statements hold in exact arithmetic, for every \mathbf{A}, every start block, and every exact extension scheme. Dependent start columns, rank-deficient \mathbf{A}, and breakdown inside the run are included: a dropped direction is a zero column of the stored basis.
Theorem (First block relation). For an exact run, with \mathbf{V}_{<q} the first q blocks of the right basis,
\mathbf{A}\mathbf{V}_{<q}=\mathbf{U}\mathbf{R}.
Lean statement and details
NLAlib.IsBlockGolubKahan.mul_blockPrefix_right_eq.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
{A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜} {q : ℕ}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) :
A * blockPrefix b V q = U * R
Full source on GitHub
Copy link
Theorem (Second block relation). For an exact run, with \mathbf{V} the right basis of all q+1 blocks,
\mathbf{A}^{\mathsf{H}}\mathbf{U}=\mathbf{V}\mathbf{S}.
Lean statement and details
NLAlib.IsBlockGolubKahan.conjTranspose_mul_left_eq.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
{A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜} {q : ℕ}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) :
Aᴴ * U = V * S
Full source on GitHub
Copy link
Theorem (Orthonormal bases). For an exact run, the nonzero columns of the right basis are orthonormal:
\mathbf{V}^{\mathsf{H}}\mathbf{V}=\operatorname{diag}(\mathbf{s}),\qquad s_c=0\ \text{at a zero column of }\mathbf{V},\quad s_c=1\ \text{otherwise}.
The library states the same identity for the left basis \mathbf{U}.
Lean statement and details
NLAlib.IsBlockGolubKahan.gramDefect_right_eq_zero.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
{A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜} {q : ℕ}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) :
gramDefect V = 0
Full source on GitHub
Copy link
Theorem (The right basis spans the block Krylov spaces). For an exact run and every j\le q, the first j+1 blocks of \mathbf{V} span
\mathcal{K}_{j+1}(\mathbf{A}^{\mathsf{H}}\mathbf{A},\mathbf\Omega)=\operatorname{range}[\mathbf\Omega,\ \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf\Omega,\ldots,(\mathbf{A}^{\mathsf{H}}\mathbf{A})^{j}\mathbf\Omega].
Zero columns are included in the stored blocks and contribute nothing to the range. The same result group, listed under Further results, states that the first j blocks of \mathbf{U} span \mathbf{A}\,\mathcal{K}_j(\mathbf{A}^{\mathsf{H}}\mathbf{A},\mathbf\Omega) and that \mathbf{U}\mathbf{U}^{\mathsf{H}} is the orthogonal projector onto the range of \mathbf{A}[\mathbf\Omega,\ldots,(\mathbf{A}^{\mathsf{H}}\mathbf{A})^{q-1}\mathbf\Omega].
Lean statement and details
NLAlib.IsBlockGolubKahan.range_blockPrefix_right.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
{A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜} {q : ℕ}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) {j : ℕ}
(hj : j ≤ q) : (blockPrefix b V (j + 1)).mulVecLin.range = blockKrylovSpace (Aᴴ * A) Ω (j + 1)
Full source on GitHub
Copy link
Theorem (Band structure of the coefficients). For an exact run with block width \ell:
- \mathbf{R} is upper triangular and vanishes above its \ell-th superdiagonal: R_{ic}=0 for i>c and for c>i+\ell.
- \mathbf{S} vanishes above its diagonal and below its \ell-th subdiagonal: S_{ic}=0 for i<c and for i>c+\ell.
Thus \mathbf{R} and \mathbf{S}^{\mathsf{H}} are zero outside the band 0\le\text{column}-\text{row}\le \ell. For \ell=1, \mathbf{S}^{\mathsf{H}} is upper bidiagonal.
Lean statement and details
NLAlib.IsBlockGolubKahan.blockTriangular_left.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
{A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜} {q : ℕ}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) :
R.BlockTriangular id
Full source on GitHub
Copy link
Theorem (A run exists for every input). For every \mathbf{A}, every start block \mathbf\Omega, and every q, there are matrices \mathbf{U},\mathbf{V},\mathbf{R}_0,\mathbf{R},\mathbf{S} forming an exact run. The definition is therefore never vacuous.
Lean statement and details
NLAlib.exists_isBlockGolubKahan.{u_1} {𝕜 : Type u_1} [RCLike 𝕜] {m n b : ℕ}
(A : Matrix (Fin m) (Fin n) 𝕜) (Ω : Matrix (Fin n) (Fin b) 𝕜) (q : ℕ) :
∃ U V R₀ R S, IsBlockGolubKahan A Ω q U V R₀ R S
Full source on GitHub
Copy link
Theorem (The factored output is the block Krylov approximation). For an exact run,
\mathbf{U}\mathbf{S}^{\mathsf{H}}\mathbf{V}^{\mathsf{H}}=\mathsf{rbki}(\mathbf{A},\mathbf\Omega,q),
the projection of \mathbf{A} onto the range of \mathbf{A}[\mathbf\Omega,\mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf\Omega,\ldots,(\mathbf{A}^{\mathsf{H}}\mathbf{A})^{q-1}\mathbf\Omega]. Here \mathbf{V} has all q+1 blocks. The same result group states the identity for the factors assembled from the packed coefficient blocks of an exact stored run of the program, over the reals.
Lean statement and details
NLAlib.IsBlockGolubKahan.mul_conjTranspose_mul_conjTranspose_eq_rbki.{u_1} {𝕜 : Type u_1} [RCLike 𝕜]
{m n b q : ℕ} {A : Matrix (Fin m) (Fin n) 𝕜} {Ω : Matrix (Fin n) (Fin b) 𝕜}
{U : Matrix (Fin m) (Fin (q * b)) 𝕜} {V : Matrix (Fin n) (Fin ((q + 1) * b)) 𝕜}
{R₀ : Matrix (Fin b) (Fin b) 𝕜} {R : Matrix (Fin (q * b)) (Fin (q * b)) 𝕜}
{S : Matrix (Fin ((q + 1) * b)) (Fin (q * b)) 𝕜} (h : IsBlockGolubKahan A Ω q U V R₀ R S) :
U * Sᴴ * Vᴴ = rbki A Ω q
Full source on GitHub
Copy link