NLAlib.Ops.PBackwardStep.ite
Library · theorem
The branch: if the test succeeds on the memories of S, and each arm is a probabilistic backward step from S and its outcome, the branch is one.
NLAlib.Ops.PBackwardStep.ite.{u_1} {Op Tst K : Type} {α : Type u_1} [Inhabited K]
[MeasurableSpace K] {law : ℕ → Measure K} {I : Ops.Interp Op Tst K} {ρ : Ops.Env} {F : Ops.Fp}
{R : ℝ → α → α → Prop} {S S' : α → Ops.Mem K → Prop} {ε φ : ℝ} (hI : I.IsMeasurable) {q : Tst}
{ds : List Ops.IExp} {ins : List Ops.Operand} {t e : Ops.Stmt Op Tst}
(htest : ∀ (a : α) (m : Ops.Mem K), S a m → ∃ b, I.testAt q ds ins ρ m = some b)
(ht :
Ops.PBackwardStep law I t ρ F R (fun a m ↦ S a m ∧ I.testAt q ds ins ρ m = some true) S' ε φ)
(he :
Ops.PBackwardStep law I e ρ F R (fun a m ↦ S a m ∧ I.testAt q ds ins ρ m = some false) S' ε φ) :
Ops.PBackwardStep law I (Ops.Stmt.ite q ds ins t e) ρ F R S S' ε φImport NLAlib.Ops.Logic.ProbabilisticBackward.