NLA-lib Explorer

NLAlib.Ops.Examples.exists_isSrLo

Library · theorem

Witness: for every u ≥ 0 and every law of the uniform stream there are a stochastic rounding function meeting SrModel and an interpretation satisfying the lower contract with tape-local operations; hence also the contract of srAdd, by linking.

NLAlib.Ops.Examples.exists_isSrLo {u : ℝ} (hu : 0 ≤ u) (μ : Measure ℝ) [IsProbabilityMeasure μ] :
  ∃ f I,
    Ops.Examples.SrModel u id μ f ∧
      Ops.Examples.IsSrLo f I ∧
        (∀ (o : Ops.Examples.SrLo), I.TapeLocal o (Ops.Examples.srWindow o)) ∧
          Ops.Examples.IsSrAdd f (I.link Ops.Examples.srTable)

Full source on GitHub

Import NLAlib.Ops.Examples.StochRound.