NLA-lib Explorer

NLAlib.LinearSystems.Refinement.Rounded.IsThreePrecision

Library · structure

The contracts and the arithmetic of three-precision refinement: the scalar operations at each tag are the functions of a machine in the standard model at its unit roundoff; the casts to the factorization precision and from the residual precision round at the unit roundoff of their target, and the two widening casts are exact.

NLAlib.LinearSystems.Refinement.Rounded.IsThreePrecision {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 ℝ) :
  Prop

Full source on GitHub

Import NLAlib.LinearSystems.Refinement.Rounded.Solve.