AFTD Auto-Formalizing Theoretical Domains

op_2102_min_chores_tef1_nonexistence_three_agents

theoremverifiedformalization

Open Problem OP-2102 (arXiv:2611.25892, Section 7): There exists a unique natural number m such that 4 ≤ m ∧ m ≤ 9 and m is the least element (IsLeast) of the set of all k : ℕ for which there exists a cost function d : Fin 3 → Fin k → ℝ with nonnegative costs admitting no TEF1 allocation (∀ π, ¬ is_tef1 3 k d π).

Statement

theorem op_2102_min_chores_tef1_nonexistence_three_agents :
    ∃! m : ℕ, 4 ≤ m ∧ m ≤ 9 ∧
      IsLeast {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} m
Formalizes
arXiv:2611.25892 Sec. 7
Verified
22 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • is_tef1An allocation π : Fin m → Fin n of m chores to n agents is temporal EF1 (TEF1) with respect to additive costs d : Fin n → Fin m → ℝ if for…
  • tef1_nonexistence_nine_chores_three_agentsThere exists a cost matrix d : Fin 3 → Fin 9 → ℝ with all costs nonnegative (∀ i c, 0 ≤ d i c) such that for every allocation π : Fin 9 →…
  • tef1_nonexistence_min_ge_fourIf m : ℕ is the least element (IsLeast) of the set of natural numbers k for which there exists a 3-agent, k-chore instance with…

Read back from the Lean

There exists a unique natural number $m$ such that $4 \le m \le 9$ and $m$ is the least natural number $k$ for which there exists a disutility profile $d : \text{Fin } 3 \to \text{Fin } k \to \mathbb{R}$ with $d(i, c) \ge 0$ for all agents $i \in \text{Fin } 3$ and chores $c \in \text{Fin } k$ such that no allocation $\pi : \text{Fin } k \to \text{Fin } 3$ is TEF1 (is_tef1 3 k d π).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The set of chore counts admitting no TEF1 allocation with three agents is non-empty because a counterexample with 9 chores is known (`tef1_nonexistence_nine_chores_three_agents`). By the well-ordering principle on $\mathbb{N}$ (`Nat.find`), this set has a least element $m$, which is bounded above by 9 (as 9 is in the set) and bounded below by 4 (by `tef1_nonexistence_min_ge_four`). Uniqueness follows because the least element of any subset of a partially ordered set is unique.

  1. The set of chore counts for which three agents admit no TEF1 allocation is non-empty, as it contains 9.

    By `tef1_nonexistence_nine_chores_three_agents`, there exists an instance with 3 agents and 9 chores with non-negative costs admitting no TEF1 allocation. Therefore, 9 belongs to the set of such chore counts, which provides the witness that the set is non-empty.

    lines 5–8

    uses tef1_nonexistence_nine_chores_three_agents

      have h9 : 9 ∈ {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} :=
        tef1_nonexistence_nine_chores_three_agents
      have h_ex : ∃ n, n ∈ {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} :=
        ⟨9, h9⟩
  2. There exists a least chore count $m$ in this set.

    By the well-ordering principle of the natural numbers (`Nat.find`), every non-empty set of natural numbers has a least element $m$. By `Nat.find_spec`, $m$ belongs to the set, and by `Nat.find_min'`, any element $x$ in the set satisfies $m \le x$, establishing that $m$ is the least element (`IsLeast`).

    lines 9–12

    uses Nat.find_spec, Nat.find_min'

      classical
      let m := Nat.find h_ex
      have hm : IsLeast {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} m :=
        ⟨Nat.find_spec h_ex, fun x hx => Nat.find_min' h_ex hx⟩
  3. The minimum chore count $m$ satisfies $4 \le m \le 9$.

    The lower bound $4 \le m$ is given by `tef1_nonexistence_min_ge_four`. The upper bound $m \le 9$ follows directly because $m$ is a lower bound for the set and 9 is an element of the set.

    lines 13–14

    uses tef1_nonexistence_min_ge_four

      have hm_ge : 4 ≤ m := tef1_nonexistence_min_ge_four m hm
      have hm_le : m ≤ 9 := hm.2 h9
  4. There exists a unique natural number satisfying the bounds and the least-element property.

    We provide $m$ as the existential witness, which satisfies $4 \le m \le 9$ and is the least element of the set. For uniqueness, if any natural number $y$ also satisfies these conditions, then $y$ is also a least element of the set; since the least element in a partially ordered set is unique, $y = m$.

    lines 15–17

      refine ⟨m, ⟨hm_ge, hm_le, hm⟩, ?_⟩
      intro y hy
      exact (hm.unique hy.2.2).symm
tef1_nonexistence_nine_chores_three_agents
There exists a non-negative cost function for 3 agents and 9 chores such that no allocation is TEF1.
Nat.find_spec
For any non-empty predicate on natural numbers, the value returned by `Nat.find` satisfies the predicate.
Nat.find_min'
The value returned by `Nat.find` is less than or equal to any natural number that satisfies the predicate.
tef1_nonexistence_min_ge_four
If $m$ is the least number of chores for which 3 agents admit no TEF1 allocation, then $m \ge 4$.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- Open Problem OP-2102: The minimum number of chores for TEF1 nonexistence with three agents lies between 4 and 9. -/theorem op_2102_min_chores_tef1_nonexistence_three_agents :    ∃! m : ℕ, 4 ≤ m ∧ m ≤ 9 ∧      IsLeast {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} m := by  have h9 : 9 ∈ {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} :=    tef1_nonexistence_nine_chores_three_agents  have h_ex : ∃ n, n ∈ {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} :=    ⟨9, h9⟩  classical  let m := Nat.find h_ex  have hm : IsLeast {k : ℕ | ∃ (d : Fin 3 → Fin k → ℝ), (∀ i c, 0 ≤ d i c) ∧ ∀ π, ¬ is_tef1 3 k d π} m :=    ⟨Nat.find_spec h_ex, fun x hx => Nat.find_min' h_ex hx⟩  have hm_ge : 4 ≤ m := tef1_nonexistence_min_ge_four m hm  have hm_le : m ≤ 9 := hm.2 h9  refine ⟨m, ⟨hm_ge, hm_le, hm⟩, ?_⟩  intro y hy  exact (hm.unique hy.2.2).symm
See it in the graphDiscuss this resultChallenge it