NLA-lib Explorer

NLAlib.Ops.callsSatisfy_stmtCost_frame_of_length

Library · theorem

A frame has as many evaluated offsets as declared operands.

NLAlib.Ops.callsSatisfy_stmtCost_frame_of_length {Op Tst : Type} {ds : List Ops.IExp}
  {args : List Ops.Operand} {s : Ops.Stmt Op Tst} {idx d : List ℕ} {P : Op → List ℕ → Prop}
  (hd : Ops.IExp.evalList idx ds = some d)
  (h : ∀ (os : List ℕ), os.length = args.length → (Ops.stmtCost s (d ++ os)).CallsSatisfy P) :
  (Ops.stmtCost (Ops.Stmt.frame ds args s) idx).CallsSatisfy P

Full source on GitHub

Import NLAlib.Ops.CallSupport.