NLA-lib Explorer

NLAlib.Ops.Writes.in_frame

Library · theorem

Frame a known mathematical contract before elaborating the caller's dimension and operand equalities. Receiver-first order keeps those shapes determined during proof composition.

NLAlib.Ops.Writes.in_frame {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 : Ops.Stmt Op Tst} {d : List ℕ} {a : List (ℕ × ℕ)} {F : Ops.Fp} {P : 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) :
  Ops.Writes md I τ (Ops.Stmt.frame ds args body) ρ F P m

Full source on GitHub

Import NLAlib.Ops.Logic.Writes.