NLA-lib Explorer

NLAlib.Ops.MeasurableRun.measurable_getD

Library · theorem

The result of a measurable step, at a measurably chosen tape and memory, with any measurable default.

NLAlib.Ops.MeasurableRun.measurable_getD {K : Type} [Inhabited K] [MeasurableSpace K]
  {f : Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)} (hf : Ops.MeasurableRun f) {X : Type}
  [MeasurableSpace X] {u : X → Ops.Tape K × Ops.Mem K} (hu : Measurable u) {d : X → Ops.Mem K}
  (hd : Measurable d) : Measurable fun x ↦ (f (u x).1 (u x).2).getD (d x)

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.