NLA-lib Explorer

NLAlib.Ops.MeasurableRun.bind_value

Library · theorem

A step that binds a measurable optional value in a countable set.

NLAlib.Ops.MeasurableRun.bind_value {K : Type} [Inhabited K] [MeasurableSpace K] {α : Type}
  [Countable α] [MeasurableSpace α] [MeasurableSingletonClass α] (d : α)
  {t : Ops.Tape K → Ops.Mem K → Option α} (ht₁ : Measurable fun x ↦ (t x.1 x.2).isSome)
  (ht₂ : Measurable fun x ↦ (t x.1 x.2).getD d)
  {f : α → Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)} (hf : ∀ (a : α), Ops.MeasurableRun (f a)) :
  Ops.MeasurableRun fun τ m ↦ (t τ m).bind fun a ↦ f a τ m

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.