NLA-lib Explorer

NLAlib.Ops.Operand.eval_liftContext

Library · theorem

Operand evaluation preserves both its original handle and original offset.

NLAlib.Ops.Operand.eval_liftContext (context : List (ℕ × ℕ)) (slot : ℕ) (ρ : Ops.Env)
  (a : Ops.Operand) (hslot : slot ≤ ρ.idx.length) :
  Ops.Operand.eval (Ops.Env.withContext context slot ρ)
      (Ops.Operand.liftContext context.length slot a) =
    Ops.Operand.eval ρ a

Full source on GitHub

Import NLAlib.Ops.Context.