NLA-lib Explorer

NLAlib.LinearSystems.Refinement.Certification.algorithm

Library · def

Iterative refinement succeeds on every admitted system, within 25 k + 15 instructions of the model with unit weights, and the stored iterate is the last iterate of a refinement run of k steps from the start. No success or numerical execution witness is an assumption.

NLAlib.LinearSystems.Refinement.Certification.algorithm (θ η ζ ε : ℝ) (domain : (Fin 2 → ℕ) → Prop)
  (admitted : ∃ d, domain d)
  (supply :
    ∀ (d : Fin 2 → ℕ), domain d → ∃ x, LinearSystems.Refinement.Certification.accepts θ η ζ ε d x)
  (hθ : 0 ≤ θ) (hη : 0 ≤ η) (hζ : 0 ≤ ζ) (hε : 0 ≤ ε) :
  Ops.Algorithm
    (LinearSystems.Refinement.Certification.model θ η ζ ε domain admitted supply hθ hη hζ hε)
    (LinearSystems.Refinement.solve.specification
      (fun x X ↦ LinearSystems.Refinement.solveSpec id (↑X).1.1 θ η ζ ε)
      (LinearSystems.Refinement.Certification.model θ η ζ ε domain admitted supply hθ hη hζ
          hε).resources
      (fun d X ↦
        (LinearSystems.Refinement.Certification.inputs θ η ζ ε domain admitted supply).blocks d
          (↑X).1)
      (LinearSystems.Refinement.Certification.inputs θ η ζ ε domain admitted supply).bytes
      LinearSystems.Refinement.Certification.operationCount)

Full source on GitHub

Import NLAlib.LinearSystems.Refinement.Certification.