NLA-lib Explorer

NLAlib.Ops.Writes.frame_seq_le

Library · theorem

Execute a framed mathematical block and continue in the caller's environment. Its known contract is elaborated first, so clients need not restate the statement's frame syntax.

NLAlib.Ops.Writes.frame_seq_le {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K}
  {τ : Ops.Tape K} {ρ : Ops.Env} {m : Ops.Mem K} {ds : List Ops.IExp} {args : List Ops.Operand}
  {body next : Ops.Stmt Op Tst} {d : List ℕ} {a : List (ℕ × ℕ)} {F G : Ops.Fp}
  {P Q : Ops.Mem K → Prop} (h : Ops.Writes md I τ body (Ops.Env.frame d a) F P m)
  (hd : Ops.IExp.evalList ρ.idx ds = some d) (ha : Ops.Operand.evalList ρ args = some a)
  (hl : m.Live a) (hF : F ≤ G)
  (hnext :
    ∀ (m' : Ops.Mem K),
      Ops.Store.EqOff F m.store m'.store → P m' → Ops.Writes md I τ next ρ G Q m') :
  Ops.Writes md I τ ((Ops.Stmt.frame ds args body).seq next) ρ G Q m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.