NLA-lib Explorer

NLAlib.Ops.Machine.sampler_regular

Library · theorem

The lazy-sampling theorem's regularity requirements follow from measurable rounding maps with countable ranges. These are properties of the same implemented sampler functions, with no algorithm-specific output or execution assumption.

NLAlib.Ops.Machine.sampler_regular {K : Type} [MeasurableSpace K] [MeasurableSingletonClass K]
  (M : Ops.Machine K) {roundUnif roundGaussian : ℝ → K} (hU : Measurable roundUnif)
  (hG : Measurable roundGaussian) (hcU : (Set.range roundUnif).Countable)
  (hcG : (Set.range roundGaussian).Countable) :
  (∀ (c z : K), MeasurableSet (M.uniformSample roundUnif c ⁻¹' {z})) ∧
    (∀ (c : K), (Set.range (M.uniformSample roundUnif c)).Countable) ∧
      (∀ (z : K × K), MeasurableSet (M.normalSample roundGaussian ⁻¹' {z})) ∧
        (Set.range (M.normalSample roundGaussian)).Countable

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSamplingMeasurable.