Documentation

LeanPool.OrderMaintenance.Impl.NoJob

M6: programs that leave the running job alone #

Only jobSet, jobClear and pcSet write the optional record resJob. A program without them (Stm.noJob) ends, normally or by a failed guard, with the job it started with.

Check that a statement contains no pending-job update primitives.

Equations
Instances For
    theorem OrderMaintenance.Impl.Res.keepsJob_bind {s : Model.Core} {r : Res} {g : Model.Core → Loc → Res} (h : keepsJob s r) (hg : ∀ (s1 : Model.Core) (L1 : Loc), keepsJob s1 (g s1 L1)) :
    keepsJob s (r.bind g)
    theorem OrderMaintenance.Impl.Fld.set_resJob {κ : Caps} {s s' : Model.Core} {i v : ℕ} {f : Fld} (h : set κ s i v f = some s') :
    theorem OrderMaintenance.Impl.LK.set_resJob {κ : Caps} {s s' : Model.Core} {i : ℕ} {l : List (ℕ × ℕ)} {k : LK} (h : set κ s i l k = some s') :
    theorem OrderMaintenance.Impl.runForF_keepsJob {κ : Caps} (b : Stm) (x : Machine.Reg) (hb : ∀ (s : Model.Core) (L : Loc), Res.keepsJob s (evalF κ b s L)) (n k : ℕ) (s : Model.Core) (L : Loc) :
    Res.keepsJob s (runForF (evalF κ b) x k n s L)
    theorem OrderMaintenance.Impl.evalF_keepsJob (κ : Caps) (c : Stm) (s : Model.Core) (L : Loc) :
    c.noJob = true → Res.keepsJob s (evalF κ c s L)
    theorem OrderMaintenance.Impl.evalF_resJob {κ : Caps} {c : Stm} {s s' : Model.Core} {L L' : Loc} {n : ℕ} (hc : c.noJob = true) (h : evalF κ c s L = Res.ok s' L' n) :