Documentation

LeanPool.OrderMaintenance.Machine.Frame

The arrays a statement may change #

Stmt.arrs c lists the arrays that c stores to or allocates. Running c leaves every other array unchanged, contents and capacity (exec_frame), whatever the outcome.

Array b is unchanged from s to s'.

Equations
Instances For
    theorem OrderMaintenance.Machine.Same.trans {b : Arr} {s t u : State} (h1 : Same b s t) (h2 : Same b t u) :
    Same b s u

    A statement preserves the value of a local, including on abnormal termination.

    Equations
    Instances For
      theorem OrderMaintenance.Machine.runFor_frame {f : State → Out} {x : Reg} {b : Arr} (hf : ∀ (s : State), Same b s (f s).st) (n k : Nat) (s : State) :
      Same b s (runFor f x k n s).st
      theorem OrderMaintenance.Machine.exec_frame (c : Stmt) (s : State) (b : Arr) :
      ¬b ∈ c.arrs → Same b s (exec c s).st

      The frame of a statement: arrays it does not mention are unchanged.