NLA-lib Explorer

NLAlib.Krylov.Lanczos.Reorth.Rounded.History.exists_run

Library · theorem

Actual local update, two-pass and normalization guarantees assemble the existing run for any positive strictly admissible prefix. Its vectors and all three coefficient sequences are exactly the final archived values. The first direction's unit bound is derived from the actual first continuation guard, rather than assumed.

NLAlib.Krylov.Lanczos.Reorth.Rounded.History.exists_run {K : Type} [Inhabited K] {dec : K → ℝ}
  {n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {em u E : ℝ} {e : Ops.Blas1Err}
  {done r : ℕ} {z : Krylov.Lanczos.Rounded.Values n} {nus : ℕ → ℝ} {τ η c : ℝ}
  (h : Krylov.Lanczos.Reorth.Rounded.History dec A rhs em u E e done z nus) (hr : 0 < r)
  (hrd : r ≤ done) (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)
  (hadm : ∀ j < r, τ * nus (j + 1) < z.beta (j + 1))
  (hbudget :
    ∀ j < r,
      (↑j + 1 + 1) * e.dot n * (1 + η) ^ 2 +
          ((1 + e.axpy) ^ (j + 1) - 1) * (1 + (↑j + 1) * (1 + e.dot n) * (1 + η) ^ 2) ≤
        c) :
  ∃ 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

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Reorth.Rounded.Stability.