M6: the memory of a core #
The arrays of a core of capacity N ≥ 64 (all the arrays Enc asks for, with the capacities
capsOf (proofParams N)) hold at most 40000 · N cells (core_mem). The large constant comes
from the top structure's per-node lists (162 or 322 entries each); the node count is O(N / L).
The cells of all the arrays of a core with capacities κ (the parameters included).
Equations
Instances For
The memory of a core: at most 40000 · N cells.
The memory of the reachable states #
The cells of slot p's arrays in machine state m.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
OrderMaintenance.Impl.Enc.cap_slot
{p : ℕ}
{κ : Caps}
{s : Model.Core}
{m : Machine.State}
(h : Enc p κ s m)
(sl : Slot)
:
theorem
OrderMaintenance.Impl.Enc.slotMem_eq
{p : ℕ}
{κ : Caps}
{s : Model.Core}
{m : Machine.State}
(h : Enc p κ s m)
:
theorem
OrderMaintenance.Impl.reach_mem
{KB : ℕ}
{m : Machine.State}
{Sp : Spec.State}
(hR : Reach KB m Sp)
:
The memory of a reachable state: the slot of cur holds at most 40000 · N cells, and
the slot of nxt (during a rebuild) at most 40000 · N', with N' ≤ 4 · N. (The handle maps are
allocated with nextHandle + (N − count) + N' cells, which grows with the number of insertions.)