Inequality (2) — the greedy deviation dominates each Algorithm 3-renamed good of Y_ℓ marginally
ProvedRoundRobinEq.SubmodularEF1.inequality_2Let be a profile of rankings over goods, an agent with valuation , and a greedy response of to (Algorithm 4). Let be the good agent receives in round of Round-Robin, so that . For an agent list its bundle in Round-Robin as in order of allocation in Round-Robin, form and , and for rename by Algorithm 3 with inputs , , . Then for and ,
Inequality (2) is the good-by-good comparison that, summed over and combined with submodularity, bounds by three times in the closing bound.
Formalization Note The greedy response and Algorithm 3 are encoded relationally (IsGreedyResponse, IsAlg3Order), so the statement covers every tie-breaking. The hypothesis hx identifies x r (0-based round r) with the good picked at step r*n + i of the deviation run, and Y is either Yone y k or Ytwo y k. No equilibrium hypothesis and no property of is assumed: the argument of p. 20 uses only the greedy choice, the Algorithm 3 order and the parity split, so the Lean statement holds for an arbitrary real set function , which is stronger than the paper's setting. 0-based: y' r is the paper's and (Finset.range r).image x is in the paper's indexing, i.e. the goods received before its -st pick.
Formalization Note Agents are Fin n with (0-based: the paper's agent is i - 1), goods a finite type with , and the paper's standing simplification (p. 7) is the hypothesis hm : Fintype.card M = k * n; the paper calls it without loss of generality (dummy goods), and that reduction is not formalized. Steps of Round-Robin are 0-based: the paper's step is step (r-1)*n + (i-1), and the paper's , (goods allocated in steps ) are allocBefore σ (r*n + i) and allocBefore (Function.update σ i τ) (r*n + i) for the 0-based agent i. A ranking is a duplicate-free list of all goods; the deviating profile is Function.update σ i τ.
import Mathlib import Definitions.Def_RoundRobinEq_SubmodularEF1_Setting
namespace RoundRobinEq.SubmodularEF1
/-- Inequality (2), p. 20: let `τ` be a greedy response (Algorithm 4) of agent `i` with valuation
`vi` to `σ_{−i}`, `x r` the good agent `i` receives in round `r` (0-based) of Round-Robin(τ, σ_{−i}),
`y` the allocation-time enumeration of `A_j` (`j ≠ i`) in that run, `Y` one of `Y_1, Y_2`, and `y′`
an Algorithm 3 ordering of `Y` with respect to `x`. Then for every `r < |Y|`,
`v_i(x_r | {x_0, …, x_{r−1}}) ≥ v_i(y′_r | {x_0, …, x_{r−1}})`. -/
theorem inequality_2 {n : ℕ} [NeZero n] {M : Type} [Fintype M] [DecidableEq M]
(k : ℕ) (hm : Fintype.card M = k * n)
(σ : Fin n → List M) (hσ : ∀ ℓ, IsRanking (σ ℓ))
(i j : Fin n) (hji : j ≠ i) (vi : Finset M → ℝ)
(τ : List M) (hτ : IsGreedyResponse vi σ i τ)
(x : ℕ → M) (hx : ∀ r < k, pick (Function.update σ i τ) (r * n + i.val) = some (x r))
(y : ℕ → M) (hy : IsTimeOrderedEnum (Function.update σ i τ) (roundRobin σ j) k y)
(Y : Finset M) (hY : Y = Yone y k ∨ Y = Ytwo y k)
(y' : ℕ → M) (hy' : IsAlg3Order vi x Y y') :
∀ r < Y.card,
marginal vi {y' r} ((Finset.range r).image x) ≤
marginal vi {x r} ((Finset.range r).image x) := by sorry
end RoundRobinEq.SubmodularEF1
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.