NLA-lib Explorer

NLAlib.Ops.Program.environment_eq_slots

Library · theorem

The initial environment of a program is the environment of a call at the sizes and the supplied buffers.

NLAlib.Ops.Program.environment_eq_slots {r : ℕ} (d : Fin r → ℕ) (b : ℕ) :
  Ops.Program.environment d = Ops.Env.frame (List.ofFn d) (Ops.slots b)

Full source on GitHub

Import NLAlib.Ops.Routine.