NLA-lib Explorer

NLAlib.Ops.Examples.integral_dec_srsumF

Library · theorem

Random tape

The stochastically rounded sum is unbiased, for every law of the tape whose uniform stream has the law of SrModel. Each addition is unbiased given the past of its position (IsTapeLaw.integral_entry); the sure bound gives the integrability.

NLAlib.Ops.Examples.integral_dec_srsumF {K : Type} [MeasurableSpace K] {u : ℝ} {dec : K → ℝ}
  {law : ℕ → Measure K} {g : K → K → K → K}
  (hg : Ops.Examples.SrModel u dec (law Ops.Stream.unif) g) (hu : 0 ≤ u) {Ω : Type}
  {mΩ : MeasurableSpace Ω} {P : Measure Ω} {ξ : Ω → Ops.Tape K} (h : Ops.IsTapeLaw law P ξ) (z₀ : K)
  (x : ℕ → K) (p n : ℕ) :
  ∫ (ω : Ω), dec (Ops.Examples.srsumF g z₀ x (ξ ω) p n) ∂P =
    dec z₀ + ∑ k ∈ Finset.range n, dec (x k)

Full source on GitHub

Import NLAlib.Ops.Examples.StochRound.