NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Output.exists_run

Library · theorem

Positive cap and nonzero actual input exclude the zero-step alternative. The resulting existing run retains all physical ties and the actual initial normalization error.

NLAlib.Krylov.Lanczos.Rounded.Output.exists_run {K : Type} [Inhabited K] {dec : K → ℝ} {n cap : ℕ}
  {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {E : ℝ} {vs cs : List K}
  (h : Krylov.Lanczos.Rounded.Output dec A rhs E cap vs cs) (hcap : 0 < cap) (hrhs : rhs ≠ 0) :
  ∃ done ≤ cap,
    ∃ z R,
      Krylov.Lanczos.Rounded.Outcome A rhs E done z ∧
        Krylov.Lanczos.Rounded.PackedOutput dec cap z vs cs ∧
          R.H = A ∧
            R.ε = E ∧ R.v = z.v ∧ R.α = z.alpha ∧ R.β = z.beta ∧ (done < cap → z.beta done = 0)

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.Stability.