Section 13.1, equation (13.2) — lower-level contribution
ProvedBoundedAllocationAudit.LevelAllocation.lower_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 events below level . Then
Both displayed scalar equalities are part of the statement. Level is included: there are no lower events and . This bound combines with (13.1) to account for all buyer-variable increments in Case 2.
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
- encoding: a_r is specified for 1≤r≤d and the lower-level display omits the t=0 endpoint → a_0=a_1/Q and no lower-level events at t=0; reason: the extension changes no defined source coefficient; the multiplied lower-level mass is zero at t=0
import Definitions.Def_BoundedAllocationAudit_LevelAllocation_Certificate
namespace BoundedAllocationAudit.LevelAllocation
/-- §13.1 (13.2), printed 244 / PDF 155, including t=0 (no lower events).
The definition extends a₀=a₁/Q solely to serialize the displayed scalar bound at t=0. -/
theorem lower_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
lowerCost P j ≤ P.price j * (P.degree : ℝ) * coefficient P.degree t * (1 - Δ) ∧
P.price j * (P.degree : ℝ) * coefficient P.degree t * (1 - Δ) =
P.price j * (P.degree : ℝ) * (((P.degree : ℝ) - 1) / (P.degree : ℝ)) *
coefficient P.degree (t + 1) * (1 - Δ) ∧
P.price j * (P.degree : ℝ) * (((P.degree : ℝ) - 1) / (P.degree : ℝ)) *
coefficient P.degree (t + 1) * (1 - Δ) =
P.price j * ((P.degree : ℝ) - 1) * coefficient P.degree (t + 1) * (1 - Δ) := by sorry
end BoundedAllocationAudit.LevelAllocation