NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.scalarAlgorithm

Library · def

Standard rounding Uniform model Work: program manifest

Standard scalar rounding and the actual raw matrix's spectral window imply total execution, physical numerical stability and full counted resources for the scalar-only stored solver. No BLAS, matvec accuracy callback or successful-run assumption is required.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.scalarAlgorithm
  (lower upper : (Fin 2 → ℕ) → ℝ) (domain : (Fin 2 → ℕ) → Prop) (admitted : ∃ d, domain d)
  (supply :
    ∀ (d : Fin 2 → ℕ),
      domain d → ∃ x, Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.accepts lower upper d x)
  (M : Ops.Machine ℝ) (u : ℝ) (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (em E : (Fin 2 → ℕ) → ℝ)
  (hMatvec : ∀ (d : Fin 2 → ℕ), domain d → Ops.ScalarProducts.roundoff u (d 0) * √↑(d 0) ≤ em d)
  (hAccuracy :
    ∀ (d : Fin 2 → ℕ), domain d → Ops.Standard.Accuracy (em d) u (E d) (Ops.Blas.seq.err u) (d 0))
  (ha : ∀ (d : Fin 2 → ℕ), domain d → 0 < lower d)
  (hprec : ∀ (d : Fin 2 → ℕ), domain d → 3 * E d * upper d ≤ lower d)
  (hwindow :
    ∀ (d : Fin 2 → ℕ),
      domain d → ↑(d 1) ^ 2 * √↑(d 1) * E d * (upper d / lower d) ^ 2 ≤ 1 / 10 ^ 5) :
  Ops.Algorithm
    (Ops.RoundedScalarBlas.model
      (Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.problem lower upper domain admitted
        supply)
      M)
    (Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.scalarSpecification lower upper domain
      admitted supply E)

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.StoredCertification.