NLA-lib Explorer

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

Library · theorem

Resident memory counts the matrix words, RHS and all supplied output capacity.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.initialBytes_problem
  (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)
  (d : Fin 2 → ℕ)
  (x :
    (Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.problem lower upper domain admitted
          supply).Input
      d) :
  (Krylov.CG.HSCG.Carried.Rounded.Stored.Certification.problem lower upper domain admitted
          supply).initialBytes
      d x =
    d 0 * d 0 + (4 * d 0 + 1)

Full source on GitHub

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