NLAlib.Krylov.Lanczos.Reorth.Rounded.Output.exists_run_prefix
Library · theorem
Every actual rounded output has a longest leading tau-admissible prefix. It is either empty or an existing numerical reorthogonalized Lanczos run with the same stored values. If another computed step follows it, that step's actual coupling is at most tau times its saved raw norm. No successful-execution or future admissibility premise is assumed.
NLAlib.Krylov.Lanczos.Reorth.Rounded.Output.exists_run_prefix {K : Type} [Inhabited K] {dec : K → ℝ}
{n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {em u E : ℝ} {e : Ops.Blas1Err} {cap : ℕ}
{vs cs : List K} {τ η c : ℝ}
(h : Krylov.Lanczos.Reorth.Rounded.Output dec A rhs em u E e cap vs cs) (hA : Aᵀ = A)
(hp : Krylov.Lanczos.Rounded.Precision em u E e n) (hτ : 0 < τ) (hη₀ : 0 ≤ η) (hη : η ≤ 1 / 100)
(hc₀ : 0 ≤ c) (hc : c ≤ 1 / 100)
(hbudget :
∀ j < cap,
(↑j + 1 + 1) * e.dot n * (1 + η) ^ 2 +
((1 + e.axpy) ^ (j + 1) - 1) * (1 + (↑j + 1) * (1 + e.dot n) * (1 + η) ^ 2) ≤
c) :
∃ done ≤ cap,
∃ z nus,
Krylov.Lanczos.Reorth.Rounded.History dec A rhs em u E e done z nus ∧
Krylov.Lanczos.Reorth.Rounded.PackedOutput dec cap done z nus vs cs ∧
(done < cap → (if done = 0 then z.initialNorm else z.beta done) = 0) ∧
∃ r ≤ done,
(∀ j < r, τ * nus (j + 1) < z.beta (j + 1)) ∧
(r = 0 ∨
∃ L,
L.H = A ∧
L.v = z.v ∧
L.α = z.alpha ∧
L.β = z.beta ∧
L.ν = nus ∧
L.ε = E ∧
L.τ = τ ∧
L.η₀ = η ∧
L.ε₁ = 2 * c ∧ L.ε₂ = 3 * c ∧ L.ε₃ = 2 * (η + c) ^ 2) ∧
(r < done → z.beta (r + 1) ≤ τ * nus (r + 1))Import NLAlib.Krylov.Lanczos.Reorth.Rounded.Stability.