Section 13.1, equation (13.1) — highest-level contribution
ProvedBoundedAllocationAudit.LevelAllocation.highest_level_cost_boundLet be any finite buyer set, the finite horizon, the budgets, the common item prices, and the interested sets with . Run the exact equal-share level allocation in arrival order. For the actual event list of a fully sold item , let be the highest level receiving positive mass and the mass allocated there. Assume and the source's Case 2: some positive-budget interested buyer finishes the whole run with spent fraction below . The potential and the capped buyer variables are the ones defined from this same run.
Let be the sum of weighted capped-potential increments over the events at level . Then
This retains the full constant of the highest-level display. The witness's presence throughout that level, its share of at least , and the fact that every interested buyer has reached level are consequences to prove from the algorithm; none is assumed.
Differences from the source:
- generalization: implicit positive-budget and positive-price regime → nonnegative budgets and prices, with explicit zero-data branches; reason: positive source data are included unchanged; zero budgets are exhausted and zero prices change no spend or revenue
- encoding: finite buyers and items arriving one by one → arbitrary finite buyer type and arrivals indexed by Fin m in their actual order; reason: every finite source instance and order has this representation, including empty horizons
- encoding: continuous equal sharing within half-open levels → exact real events at boundary crossings with fuel |I|d+1; reason: no time discretization occurs; the goal asserts completion and no run fact is assumed
import Definitions.Def_BoundedAllocationAudit_LevelAllocation_Certificate
namespace BoundedAllocationAudit.LevelAllocation
/-- §13.1 (13.1), printed 243 / PDF 154, Case 2 of the actual event run. -/
theorem highest_level_cost_bound {I : Type*} [Fintype I] {m : ℕ}
(P : Instance I m) (hd : 2 ≤ P.degree) (j : Fin m) (hc : LastLevelCase P j) :
let t := highestLevel P j
let Δ := levelMass P j t
highestCost P j ≤ P.price j * coefficient P.degree (t + 1) * (P.degree : ℝ) *
(((P.degree : ℝ) - 1) / (P.degree : ℝ)) * Δ ∧
P.price j * coefficient P.degree (t + 1) * (P.degree : ℝ) *
(((P.degree : ℝ) - 1) / (P.degree : ℝ)) * Δ =
P.price j * ((P.degree : ℝ) - 1) * coefficient P.degree (t + 1) * Δ := by sorry
end BoundedAllocationAudit.LevelAllocation