AFTD Auto-Formalizing Theoretical Domains

op2461_five_chore_capacity_obstruction

theoremverified

For the explicitly displayed three-agent five-chore cost table, no allocation keeps the two light agents at cost at most three and the heavy agent at cost at most seven.

Statement

theorem op2461_five_chore_capacity_obstruction :
    let c : Fin 3 → Fin 5 → ℕ := ![![4, 3, 3, 1, 1], ![4, 3, 3, 1, 1], ![6, 2, 2, 1, 1]]
    ∀ σ : Fin 5 → Fin 3,
      ¬ ((∑ e ∈ Finset.univ.filter (fun e => σ e = 0), c 0 e) ≤ 3 ∧
         (∑ e ∈ Finset.univ.filter (fun e => σ e = 1), c 1 e) ≤ 3 ∧
         (∑ e ∈ Finset.univ.filter (fun e => σ e = 2), c 2 e) ≤ 7)
Source
Finite numeric core of the OP-2461 counterexample; experiments 41658 and 41660.
Verified
27 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

The proof, explained

The claim states that no allocation of the five chores can keep the two light agents at cost at most 3 and the heavy agent at cost at most 7. Mathematically, chore 0 exceeds the capacity of the light agents and must go to the heavy agent, whose remaining capacity of 1 cannot accommodate either chore 1 or 2; those chores in turn exhaust the capacities of the light agents, forcing the final two chores onto the heavy agent and exceeding its limit of 7. In the formal proof, because the allocation space is finite (3⁵ = 243 possibilities), the statement is decided purely by exhaustive computation via `decide`.

  1. No chore allocation σ : Fin 5 → Fin 3 satisfies the three capacity bounds simultaneously. automation

    The search space of chore allocations σ : Fin 5 → Fin 3 is finite, containing exactly 3⁵ = 243 elements. For any specific allocation, each agent's total cost is a finite sum of natural numbers, so the condition that agent 0 has cost at most 3, agent 1 at most 3, and agent 2 at most 7 is a decidable predicate. The `decide` tactic evaluates this predicate for all 243 possible allocations and verifies that none of them satisfies all three bounds. Mathematically, chore 0 (cost 4 to agents 0 and 1) must go to agent 2 (cost 6), leaving agent 2 with capacity at most 1; then chores 1 and 2 (cost 2 to agent 2) must go to agents 0 and 1, completely consuming their capacity of 3; the remaining chores 3 and 4 are forced onto agent 2, pushing agent 2's total cost to 6 + 1 + 1 = 8 > 7.

    line 10

      decide

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

set_option maxRecDepth 8192set_option maxHeartbeats 1000000theorem op2461_five_chore_capacity_obstruction :    let c : Fin 3 → Fin 5 → ℕ := ![![4, 3, 3, 1, 1], ![4, 3, 3, 1, 1], ![6, 2, 2, 1, 1]]    ∀ σ : Fin 5 → Fin 3,      ¬ ((∑ e ∈ Finset.univ.filter (fun e => σ e = 0), c 0 e) ≤ 3 ∧         (∑ e ∈ Finset.univ.filter (fun e => σ e = 1), c 1 e) ≤ 3 ∧         (∑ e ∈ Finset.univ.filter (fun e => σ e = 2), c 2 e) ≤ 7) := by  decide
See it in the graphDiscuss this resultChallenge it