NLA-lib Explorer

NLAlib.Ops.Examples.SrsumPost

Library · def

The postcondition of srsum for the computed sum v: the cell z holds a word that decodes to v, the position has advanced by n, and v is within the sure bound of the sum.

NLAlib.Ops.Examples.SrsumPost {K : Type} [Inhabited K] (dec : K → ℝ) (u : ℝ) (n : ℕ) (z : ℕ × ℕ)
  (z₀ : K) (xs : List K) (m : Ops.Mem K) (v : ℝ) (m' : Ops.Mem K) : Prop

Full source on GitHub

Import NLAlib.Ops.Examples.StochRound.