NLA-lib Explorer

NLAlib.Ops.CmpTst.isMeasurableTest

Library · theorem

The canonical comparisons (PL4): a test that is a comparison of a measurable decoding of the cells it reads is measurable.

NLAlib.Ops.CmpTst.isMeasurableTest {K Op Tst : Type} [Inhabited K] [MeasurableSpace K]
  {I : Ops.Interp Op Tst K} {q : Tst} {dec : K → ℝ} (hdec : Measurable dec) (c : Ops.CmpTst)
  (hq :
    ∀ (d : List ℕ) (a : List (ℕ × ℕ)) (m : Ops.Mem K),
      I.test q d a m = Option.map (Ops.CmpTst.fn dec c) (m.readBlocks a c.lens)) :
  I.IsMeasurableTest q

Full source on GitHub

Import NLAlib.Ops.Catalog.ScalarMeasurable.