NLA-lib Explorer

NLAlib.LinearSystems.Refinement.Rounded.solve_meets

Library · theorem

Three-precision refinement meets its specification under the contracts and the arithmetic NLAlib.LinearSystems.Refinement.Rounded.IsThreePrecision: the stored iterate is the last iterate of a refinement run. The result is normwise in the 2-norm and the machines are in the standard model, so no overflow or underflow is modelled.

NLAlib.LinearSystems.Refinement.Rounded.solve_meets {Op Tst : Type}
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.FTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.WTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.Tagged LinearSystems.Refinement.Rounded.RTag Ops.ScalarOp) Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.WTag LinearSystems.Refinement.Rounded.FTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.FTag LinearSystems.Refinement.Rounded.WTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.WTag LinearSystems.Refinement.Rounded.RTag)
      Op]
  [Ops.Has (Ops.CastOp LinearSystems.Refinement.Rounded.RTag LinearSystems.Refinement.Rounded.WTag)
      Op]
  {Mf Mw Mr : Ops.Machine ℝ} {cWF cFW cWR cRW : ℝ → ℝ} {uf u ur : ℝ} {I : Ops.Interp Op Tst ℝ}
  (h : LinearSystems.Refinement.Rounded.IsThreePrecision Mf Mw Mr cWF cFW cWR cRW uf u ur I) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) ℝ) :
  LinearSystems.Refinement.Rounded.solve.Meets I
    (LinearSystems.Refinement.Rounded.solveSpec A uf u ur)

Full source on GitHub

Import NLAlib.LinearSystems.Refinement.Rounded.Solve.