NLA-lib Explorer

NLAlib.Ops.Examples.Resources.exec_configuration

Library · theorem

Actual resource execution of a fixed call under one specified configuration.

NLAlib.Ops.Examples.Resources.exec_configuration (sp ws : ℕ) (h : sp ≤ 100) :
  Ops.exec Ops.Examples.Resources.primitiveProgram Ops.Examples.Resources.identityInterp
      (Ops.Examples.Resources.configuration sp ws h) Fin.elim0 (fun x x_1 ↦ ()) Fin.elim0
      { store := [], pos := 0 } =
    some
      { mem := { store := [], pos := 0 }, cost := Ops.Count.one (Sum.inl ()) [], cur := 0,
        peak := ws }

Full source on GitHub

Import NLAlib.Ops.Examples.Resources.