Documentation

LeanPool.FullyDynamicMatching.FD1D.V5.Complexity

Abstract resource accounting for the v5 hierarchical policy #

This module formalizes the manuscript's real-arithmetic accounting model. One primitive arithmetic operation, comparison, or constant-time tree access costs one unit. A period visits one root-to-leaf path. Memory consists of one word for each labeled supply and a constant number of words per tree leaf.

These are mathematical accounting functions, not runtime measurements of Lean's noncomputable definitions.

Abstract primitive-operation count for one period.

Equations
Instances For

    Abstract memory count for labeled supplies and complete-tree data.

    Equations
    Instances For

      Operations are bounded by a constant times the base-two ceiling logarithm.

      The abstract memory budget is at most 5m words.

      Explicit natural-log bound for the real-valued operation count.

      Per-period operations are O(log m) in the accounting model.

      Memory is O(m) in the accounting model.

      Public bundle of the manuscript's operation and memory guarantees.

      Instances For