NLA-lib Explorer

NLAlib.Ops.Env.frame_append_eq_withContext

Library · theorem

The environment of a frame whose leading operands are context is the frame of the others with the context forwarded after the dimensions.

NLAlib.Ops.Env.frame_append_eq_withContext (d : List ℕ) (ctx e : List (ℕ × ℕ)) :
  Ops.Env.frame d (ctx ++ e) = Ops.Env.withContext ctx d.length (Ops.Env.frame d e)

Full source on GitHub

Import NLAlib.Ops.RoutineData.