NLAlib.Ops.run_linkContext
Library · theorem
Exact semantics of context forwarding for every statement, including failure. The additional operands are explicit in the target tree and cannot be used by shifted queries.
NLAlib.Ops.run_linkContext {Op Lo Tst K : Type} (I : Ops.Interp Lo Tst K)
(T : Ops.ContextTable Op Lo Tst) (context : List (ℕ × ℕ)) (slot : ℕ) (τ : Ops.Tape K)
(s : Ops.Stmt Op Tst) (ρ : Ops.Env) (m : Ops.Mem K) (hslot : slot ≤ ρ.idx.length)
(hLive : m.Live context) :
Ops.eval I τ (Ops.Stmt.linkContext context.length slot T s) (Ops.Env.withContext context slot ρ)
m =
Ops.eval (I.linkContext T context) τ s ρ mImport NLAlib.Ops.ContextRun.