Theorem 1, p. 9 — on instances with the powers-of-(1+ε) property, Algorithm 1 returns an envy-free solution after polynomially many iterations
ProvedFairRentFPTAS.Approx.theorem_1There is a constant such that the following holds. Let be a well-formed instance with agents, , all slopes of integer powers of , a bound on over the slopes of , the total number of pieces of , and a threshold with for all . Then
- Algorithm 1 can be run on until it halts (some run reaches a price vector with a nonpositive entry);
- every run has at most
iterations, whatever Step 2 solution, maximum-weight matchings and LP optima are chosen; 3. every halted run outputs nonnegative rents such that is an envy-free solution of itself.
This is the exact algorithm for structured instances; Theorem 2 applies it to the rounded instance.
Formalization Note Only the number of while-iterations is bounded; the cost of one iteration (a maximum-weight matching and a linear program) is not formalized. The constant is chosen before the instance.
import Mathlib import Definitions.Def_FairRentFPTAS_Approx_Model
namespace FairRentFPTAS.Approx
/-- Theorem 1, p. 9 (proof pp. 13–14): for instances whose slopes are integer powers of
`(1+ε)`, Algorithm 1 can be run to completion, every run stops after a number of iterations
bounded by a fixed polynomial in `n`, the number `ℓ` of pieces, the slope bound `β` and `1/ε`,
and every output is an envy-free solution of the instance with nonnegative rents. -/
theorem theorem_1 : ∃ c : ℕ, ∀ (n : ℕ) (J : Instance n) (ε β M : ℝ),
1 ≤ n → Standing J → 0 < ε → PowersProp ε J →
(∀ a r, ∀ e ∈ (J.v a r).pieces, |Real.log e.2| ≤ β) →
IsThreshold J M →
(∃ (T : ℕ) (π : ℕ → Equiv.Perm (Fin n)) (p : ℕ → Fin n → ℝ),
IsRun J M T π p ∧ Halted p T) ∧
(∀ (T : ℕ) (π : ℕ → Equiv.Perm (Fin n)) (p : ℕ → Fin n → ℝ), IsRun J M T π p →
(T : ℝ) ≤ c * ((n : ℝ) + totalPieces J + β + 1 / ε + 1) ^ c) ∧
(∀ (T : ℕ) (π : ℕ → Equiv.Perm (Fin n)) (p : ℕ → Fin n → ℝ), IsRun J M T π p →
Halted p T → (∀ r, 0 ≤ p T r) ∧ IsEF J (π T) (p T)) := by sorry
end FairRentFPTAS.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.