NLA-lib Explorer

NLAlib.Ops.MeasurableRun.of_iff

Library · theorem

A step that succeeds exactly on a measurable set of memories, with a measurable result, is measurable.

NLAlib.Ops.MeasurableRun.of_iff {K : Type} [Inhabited K] [MeasurableSpace K]
  {f : Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)} {C : Ops.Mem K → Prop}
  {g : Ops.Mem K → Ops.Mem K} (hC : MeasurableSet {m | C m}) (hg : Measurable g)
  (he : ∀ (τ : Ops.Tape K) (m m' : Ops.Mem K), f τ m = some m' ↔ C m ∧ m' = g m) :
  Ops.MeasurableRun f

Full source on GitHub

Import NLAlib.Ops.Catalog.ScalarMeasurable.