NLAlib.Krylov.Lanczos.Rounded.State.exists_run_next
Library · theorem
Actual local defects extend the existing run while preserving its archived values. The new last coefficient may be zero; an old terminal run cannot be extended.
NLAlib.Krylov.Lanczos.Rounded.State.exists_run_next {K : Type} [Inhabited K] {dec : K → ℝ}
{n cap done L : ℕ} {V C : ℕ × ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {em u E : ℝ}
{e : Ops.Blas1Err} {z : Krylov.Lanczos.Rounded.Values n} {s : Ops.Store K}
(h : Krylov.Lanczos.Rounded.State dec A rhs E cap done V C L z s) (hAT : Aᵀ = A)
(hp : Krylov.Lanczos.Rounded.Precision em u E e n)
(hactive : (if done = 0 then z.initialNorm else z.beta done) ≠ 0) {first raw next : Fin n → ℝ}
{a b : ℝ}
(hb :
Krylov.Lanczos.Rounded.UpdateBounds em (e.dot n) e.axpy A (z.v done) (z.v (done + 1)) first raw
(z.beta done) a)
(hn : ‖WithLp.toLp 2 (raw - b • next)‖ ≤ E * ‖WithLp.toLp 2 raw‖) (hbn : 0 ≤ b)
(hunit : b ≠ 0 → |‖WithLp.toLp 2 next‖ ^ 2 - 1| ≤ E) :
∃ R,
R.H = A ∧
R.ε = E ∧
R.v = (z.next done next a b).v ∧
R.α = (z.next done next a b).alpha ∧ R.β = (z.next done next a b).betaImport NLAlib.Krylov.Lanczos.Rounded.Recurrence.