← decomposition.ai
Optimization & Dynamics · v1 · November 28, 2026

Complete $\mathrm{EFX}_0$ allocations for four additive agents: a Lean 4 formalization for at most seven goods, of the four-distinct-favourites lemma for at most nine goods, and profiles with exactly four $\mathrm{EFX}_0$ allocations for $5 \le m \le 10$

Editorial Plate

16:9 archival plate
Swiss mathematical edition

Complete EFX_0 allocations for four additive agents: a Lean 4 formalization for at most seven goods, of the four-distinct-favourites lemma for at most nine goods, and profiles with exactly four EFX_0 allocations for 5 <= m <= 10 — Swiss editorial mathematical plate
Plate — 4-agent EFX₀ in Lean 4 (m ≤ 7, AFM Lemma 5 m ≤ 9) & exactly-4 profiles (doi:10.5281/zenodo.24615834). Full-res JPG ↗

Abstract

Lean 4.34.1 build + exact exhaustive counts
Preprint, not peer reviewed

We give a standalone Lean 4.34.1 proof (without Mathlib, standard axioms `propext`, `Classical.choice`, `Quot.sound` only) that every profile of nonnegative integer additive valuations for four agents and $m \le 7$ goods admits a complete $\mathrm{EFX}_0$ allocation. This is a formalization of a known result — the $n=4$ additive case of Mahara (Math. Oper. Res. 49 (2024), Theorem 3 of arXiv:2107.09901); existence for four additive agents is known up to $m \le 9$ (Alkassar, Fouz, and Mehlhorn, arXiv:2608.08590). We also formalize their Lemma 5 (four distinct favourite goods, $m \le 9$). Computationally, for each $m = 5,\dots,10$ we exhibit an explicit positive integer $4\times m$ profile having exactly $4$ complete $\mathrm{EFX}_0$ allocations out of $4^m$ (matching Neoh–Teh AAAI 2025's lower bound $n=4$ at $m=5,6$ and upper-bounding the minimum at $m=7\dots 10$), plus a seeded sample of $1{,}128{,}480$ profiles at $m=10$ with $0$ counterexamples.

Main Results

Formalization 1 & 2 (Lean 4.34.1, No Mathlib — Known Theorems)
Formally proves complete $\mathrm{EFX}_0$ existence for $4$ additive agents and $m \le 7$ (Mahara 2024) and Alkassar–Fouz–Mehlhorn Lemma 5 (four distinct favourites, $m \le 9$) under standard Lean axioms only.
Computational Result (Profiles With Exactly 4 EFX₀ Allocations)
Exhibits explicit positive integer $4 \times m$ valuation profiles with exactly $4$ complete $\mathrm{EFX}_0$ allocations for every $m = 5, \dots, 10$, verified by exhaustive enumeration.
Motion study — discrete combinatorial optimization geometry. Still plate ↗ MP4 ↓

Construction & Scope

Zero-Mathlib Lean 4 Formalization & Extremal Allocation Counts. Combining formal verification of known existence cases with exhaustive counts of minimal-multiplicity profiles clarifies tightness around Neoh–Teh Conjecture 6.1:

$$\#\mathrm{EFX}_0(v_m) = 4 \quad (m = 5, 6, 7, 8, 9, 10), \qquad 1{,}128{,}480 \text{ sampled } m=10 \text{ profiles (0 exceptions)}$$

Scope and limits: no new existence theorem is proved; formalizes Mahara (2024) m <= 7 and AFM Lemma 5 m <= 9.

Verification Steps

  1. 01
    Standalone Lean 4.34.1 Build (No Mathlib)
    Build the Lean files and check `#print axioms` confirming only standard axioms.
  2. 02
    Exhaustive Enumeration of 4^m Allocations (m = 5…10)
    Verify that each archived $4 imes m$ profile has exactly $4$ complete $\mathrm{EFX}_0$ allocations.

Verify Locally

Papers: CC BY 4.0
Code & certs: MIT

Download and unzip efx0-4agents-lean-v1.zip, then run:

unzip efx0-4agents-lean-v1.zip && sh run_all.sh
Lean 4.34.1 kernel accepts m <= 7 and AFM Lemma 5 (m <= 9); exhaustive counters report exactly 4 EFX_0 allocations for m = 5..10.
  • Lean 4.34.1 (no Mathlib, standard axioms only)
  • Three exhaustive enumeration programs checking all 4^m allocations for m = 5..10

Use of AI: Lean code, scripts, and note were produced with help from AI systems; the author directed the work. Formalizes known existence theorems credited to Mahara and Alkassar–Fouz–Mehlhorn.

References

  1. R. Mahara, Math. Oper. Res. 49 (2024), arXiv:2107.09901 (Theorem 3).
  2. A. Alkassar, M. Fouz, K. Mehlhorn, arXiv:2608.08590 (Lemma 5).
  3. T. Y. Neoh, N. Teh, AAAI 2025, arXiv:2504.03951 (Conjecture 6.1).