NLA-lib Explorer

NLAlib.Ops.Examples.Resources.exec_allocation24

Library · theorem

This is actual canonical accounting, not just a static upper bound.

NLAlib.Ops.Examples.Resources.exec_allocation24 (d : Fin 1 → ℕ) :
  ∃ st,
    Ops.exec Ops.Examples.Resources.allocation24 Ops.Examples.Resources.emptyInterp
          Ops.Examples.Resources.memoryResources Ops.Examples.Resources.mixedProblem.formats
          (fun x x_1 ↦ ()) d { store := [], pos := 0 } =
        some st ∧
      st.peak = 24 ∧ st.cur = 0 ∧ st.mem = { store := [], pos := 0 }

Full source on GitHub

Import NLAlib.Ops.Examples.Resources.