NLA-lib Explorer

NLAlib.Ops.shape_store_of_run

Library · theorem

A run keeps the shape of the store: buffers are neither created, resized nor freed behind the program's back.

NLAlib.Ops.shape_store_of_run {Op Tst K : Type} {I : Ops.Interp Op Tst K} {τ : Ops.Tape K}
  {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {m m' : Ops.Mem K} (h : Ops.eval I τ s ρ m = some m') :
  m'.store.shape = m.store.shape

Full source on GitHub

Import NLAlib.Ops.Exec.