NLAlib.Ops.MeasurableRun.ite
Library · theorem
Branch on a measurable condition.
NLAlib.Ops.MeasurableRun.ite {K : Type} [Inhabited K] [MeasurableSpace K]
{p : Ops.Tape K → Ops.Mem K → Prop} [(τ : Ops.Tape K) → (m : Ops.Mem K) → Decidable (p τ m)]
{f g : Ops.Tape K → Ops.Mem K → Option (Ops.Mem K)} (hp : MeasurableSet {x | p x.1 x.2})
(hf : Ops.MeasurableRun f) (hg : Ops.MeasurableRun g) :
Ops.MeasurableRun fun τ m ↦ if p τ m then f τ m else g τ mImport NLAlib.Ops.RunMeasurable.