NLAlib.Krylov.Lanczos.Prefix.readback
Library · theorem
A completed prefix yields actual reads of the basis and shared coefficient block and satisfies the packed mathematical output contract.
NLAlib.Krylov.Lanczos.Prefix.readback {K : Type} [Inhabited K] {dec : K → ℝ} {n cap : ℕ}
{A : Matrix (Fin n) (Fin n) ℝ} {b : Fin n → ℝ} {V C : ℕ × ℕ} {s : Ops.Store K}
(h : Krylov.Lanczos.Prefix dec A b cap cap V C s) :
∃ vs cs,
s.readBlock V.1 V.2 ((cap + 1) * n) = some vs ∧
s.readBlock C.1 C.2 (2 * cap + 2) = some cs ∧ Krylov.Lanczos.Output dec A b cap vs csImport NLAlib.Krylov.Lanczos.State.