A version of OrderHom.lfp
that does not require f
the Monotone
upfront.
Instances For
@[simp]
@[simp]
Equations
- pGCL.skip.wp X = X
- (x ::= A).wp X = fun (σ : pGCL.States ϖ) => X (σ[x ↦ A σ])
- (C₁ ;; C₂).wp X = C₁.wp (C₂.wp X)
- (C₁ ·[p] C₂).wp X = p.pick (C₁.wp X) (C₂.wp X)
- (C₁ ·[] C₂).wp X = C₁.wp X ⊓ C₂.wp X
- (pGCL.loop b C').wp X = pGCL.wp.lfp fun (x : pGCL.Exp ϖ) => b.probOf * C'.wp x + b.not.probOf * X
- (pGCL.tick e).wp X = e + X
Instances For
@[simp]
@[simp]
@[simp]