NLAlib.Krylov.Lanczos.Reorth.Rounded.Output.exists_spectral_prefix
Library · theorem
Under symmetry, explicit primitive/pass budgets and size-only fixed-point/recurrence windows, the actual admissible prefix has the standard perturbed upper interlacing bound. Its radius is one hundred times prefix length plus one, recurrence level, and operator norm. An empty prefix retains the first failed strict threshold instead of assuming nonbreakdown. [HornJohnson2013, Corollary 4.3.37] for exact interlacing; numerical transfer uses the existing reorthogonalized run theorem.
NLAlib.Krylov.Lanczos.Reorth.Rounded.Output.exists_spectral_prefix {K : Type} [Inhabited K]
{dec : K → ℝ} {n cap : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {em u E : ℝ}
{e : Ops.Blas1Err} {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τ₁ : τ ≤ 1) (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)
(hsmall : √(3 * (↑cap + 1)) * (2 * (2 * c + 2 * (η + c) ^ 2 / τ + E)) ≤ η)
(hrec : 2 * (2 * c + 2 * (η + c) ^ 2 / τ + E) + E + 3 * c ≤ 1 / 100) :
∃ 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 < done → z.beta (r + 1) ≤ τ * nus (r + 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 ∧
Krylov.Lanczos.basisMatrix dec n vs r =
L.toLanczosData.basis ∧
Krylov.Lanczos.tridiagonalMatrix dec cap cs r =
L.toLanczosData.tridiagonal ∧
∀ i < r,
eigenvalue
(Krylov.Lanczos.tridiagonalMatrix dec cap cs
r)
i ≤
eigenvalue A i +
100 * (↑r + 1) *
(2 * (2 * c + 2 * (η + c) ^ 2 / τ + E) +
E +
3 * c) *
specNorm A)Import NLAlib.Krylov.Lanczos.Reorth.Rounded.Spectral.