Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§4.2, proof of Theorem 4.4 — Y_1 and Y_2 each contain at most r − 1 goods of S′_{r−1} ∖ S′_0

Proved
RoundRobinEq.SubmodularEF1.parity_split

by mikedeng1 · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

fair-divisionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1round-robin

Let ≻\succ≻ be a profile of rankings over m=knm=knm=kn goods, iii an agent, ≻i′\succ'_i≻i′​ any ranking, and Sr′S'_rSr′​ (0≤r≤k−10\le r\le k-10≤r≤k−1) the goods allocated in steps 1,…,rn+i−11,\dots,rn+i-11,…,rn+i−1 of Round-Robin(≻i′,≻−i)(\succ'_i,\succ_{-i})(≻i′​,≻−i​). Let j≠ij\ne ij=i be another agent, AjA_jAj​ its bundle in Round-Robin(≻)(\succ)(≻), and write Aj={y1,…,yk}A_j=\{y_1,\dots,y_k\}Aj​={y1​,…,yk​} with the goods indexed in the order in which they are allocated in Round-Robin(≻i′,≻−i)(\succ'_i,\succ_{-i})(≻i′​,≻−i​). Split Aj∖{y1}A_j\setminus\{y_1\}Aj​∖{y1​} into

Y1={y3,y5,… },Y2={y2,y4,… }.Y_1=\{y_3,y_5,\dots\},\qquad Y_2=\{y_2,y_4,\dots\}.Y1​={y3​,y5​,…},Y2​={y2​,y4​,…}.

Then for every r∈[k]r\in[k]r∈[k],

∣ ∣Y1∩(Sr−1′∖S0′)∣−∣Y2∩(Sr−1′∖S0′)∣ ∣≤1,\Big|\,|Y_1\cap(S'_{r-1}\setminus S'_0)|-|Y_2\cap(S'_{r-1}\setminus S'_0)|\,\Big|\le 1,​∣Y1​∩(Sr−1′​∖S0′​)∣−∣Y2​∩(Sr−1′​∖S0′​)∣​≤1,

and each of Y1Y_1Y1​, Y2Y_2Y2​ contains at most r−1r-1r−1 goods of Sr−1′∖S0′S'_{r-1}\setminus S'_0Sr−1′​∖S0′​.

This is the counting step of the proof of Theorem 4.4: together with the greedy choice of agent iii's deviation it yields inequality (2).

Formalization Note The enumeration is a function y : ℕ → M with IsTimeOrderedEnum σ' (roundRobin σ j) k y: y 0, …, y (k-1) lists AjA_jAj​ without repetition, and a good with a larger index is never allocated earlier in Round-Robin(σ′)(\sigma')(σ′). The paper's yay_aya​ is y (a-1), so Y1Y_1Y1​ is Yone y k (0-based indices 2,4,…2,4,\dots2,4,…) and Y2Y_2Y2​ is Ytwo y k (0-based indices 1,3,…1,3,\dots1,3,…). With 0-based rrr (the paper's r−1r-1r−1) the bounds read ≤ r for r < k, and the difference is taken in Z\mathbb ZZ. The statement holds for every ranking τ\tauτ in place of ≻i′\succ'_i≻i′​ and involves no valuations.

Formalization Note Agents are Fin n with n≥1n\ge1n≥1 (0-based: the paper's agent iii is i - 1), goods a finite type MMM with ∣M∣=m|M| = m∣M∣=m, and the paper's standing simplification m=knm = knm=kn (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 (r−1)n+i(r-1)n+i(r−1)n+i is step (r-1)*n + (i-1), and the paper's SrS_rSr​, Sr′S'_rSr′​ (goods allocated in steps 1,…,rn+i−11,\dots,rn+i-11,…,rn+i−1) 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 (≻i′,≻−i)(\succ'_i,\succ_{-i})(≻i′​,≻−i​) is Function.update σ i τ.

Preamble
import Mathlib
import Definitions.Def_RoundRobinEq_SubmodularEF1_Setting
Formal statement
namespace RoundRobinEq.SubmodularEF1

/-- §4.2, p. 20, proof of Theorem 4.4 (parity split), for an arbitrary deviation `τ` of agent `i`:
list `A_j` (`j ≠ i`) as `y 0, …, y (k−1)` in order of allocation in Round-Robin(τ, σ_{−i}) and split
`A_j \ {y 0}` into `Y_1` (`y 2, y 4, …`) and `Y_2` (`y 1, y 3, …`). Then for every `r < k` the numbers
of goods of `Y_1` and of `Y_2` in `S′_r \ S′_0` differ by at most one and are each at most `r`
(the paper's `r − 1` for `S′_{r−1}`, `r ∈ [k]`). -/
theorem parity_split {n : ℕ} [NeZero n] {M : Type} [Fintype M] [DecidableEq M]
    (k : ℕ) (hm : Fintype.card M = k * n)
    (σ : Fin n → List M) (hσ : ∀ ℓ, IsRanking (σ ℓ))
    (i : Fin n) (τ : List M) (hτ : IsRanking τ) (j : Fin n) (hji : j ≠ i)
    (y : ℕ → M) (hy : IsTimeOrderedEnum (Function.update σ i τ) (roundRobin σ j) k y)
    (r : ℕ) (hr : r < k) :
    let D := allocBefore (Function.update σ i τ) (r * n + i.val) \
      allocBefore (Function.update σ i τ) i.val
    |((Yone y k ∩ D).card : ℤ) - ((Ytwo y k ∩ D).card : ℤ)| ≤ 1 ∧
      (Yone y k ∩ D).card ≤ r ∧ (Ytwo y k ∩ D).card ≤ r := by sorry

end RoundRobinEq.SubmodularEF1
Source
Amanatidis et al., Round-Robin Beyond Additive Agents, arXiv:2301.13652v1, p. 20, proof of Theorem 4.4, second paragraph
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me