NLA-lib Explorer

NLAlib.Ops.Env.withContext_pushBuf

Library · theorem

Buffer allocation appends after the ordinary variables, preserving context positions.

NLAlib.Ops.Env.withContext_pushBuf (context : List (ℕ × ℕ)) (slot : ℕ) (ρ : Ops.Env) (b : ℕ) :
  Ops.Env.withContext context slot (ρ.pushBuf b) = (Ops.Env.withContext context slot ρ).pushBuf b

Full source on GitHub

Import NLAlib.Ops.Context.