Theorem 1, p. 8 — under MLRP, BinSearch finds an allocation envy-free up to η in poly(n, log λ, log 1/η) iterations
ProvedMLRPCake.EnvyFree.theorem_1There is a universal constant such that the following holds. Let be a cake-division instance with agents in which the value densities satisfy the monotone likelihood ratio property, with the agents indexed in the MLRP order. Assume the cut and eval queries are -Lipschitz for some , and let be the precision. Run BinSearch (Algorithm 1) with parameter . Then:
- BinSearch returns at its first stopping iteration , and
- coalescing its output (giving the leftover piece to agent ) yields a contiguous allocation of the whole cake that is envy-free up to precision : for all .
This is the paper's Theorem 1: under MLRP, an envy-free allocation with connected pieces can be computed up to an arbitrary precision in time in the Robertson–Webb query model. The time is polynomial in , so can be driven exponentially close to zero.
Formalization Note The running time is measured in iterations of BinSearch. Each iteration evaluates once, at a cost of Robertson–Webb queries. The polynomial is universal: is chosen before and the instance. The restriction is added: the paper's proof uses , and for envy-freeness up to is automatic. is the paper's standing assumption (p. 8). Riemann integrability is encoded as boundedness plus interval integrability.
import Mathlib import Definitions.Def_MLRPCake_EnvyFree_Model
namespace MLRPCake.EnvyFree
/-- Theorem 1, p. 8: under MLRP and `λ`-Lipschitz queries, BinSearch run with `δ = η/λ`
returns within a number of iterations polynomial in `n`, `log λ` and `log (1/η)` (with a
universal polynomial; each iteration costs `2(n-1)` Robertson–Webb queries), and coalescing its
output gives a contiguous allocation that is envy-free up to `η`. -/
theorem theorem_1 : ∃ c : ℕ, ∀ (n : ℕ) (f : Fin n → ℝ → ℝ) (lam η : ℝ),
1 ≤ n → IsInstance f → IsMLRP f → 1 ≤ lam → QueriesLipschitz f lam → 0 < η → η < 1 →
∃ T : ℕ, bsStops f (η / lam) T ∧ (∀ k < T, ¬ bsStops f (η / lam) k) ∧
(T : ℝ) ≤ c * ((n : ℝ) + Real.logb 2 lam + Real.logb 2 (1 / η) + 1) ^ c ∧
IsAllocation (n := n) (coalesce n (bsOutput f (η / lam) T)) ∧
EnvyFreeUpTo f η (coalesce n (bsOutput f (η / lam) T)) := by sorry
end MLRPCake.EnvyFree
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.