AFTD Auto-Formalizing Theoretical Domains

strong_fef1_agents_of_equal_budgets

theoremverifiedformalization

For item values v : Fin n → Fin m → ℝ with ∀ i g, 0 ≤ v i g, item sizes s : Fin m → ℝ, and budgets B : Fin n → ℝ, if a budget-feasible allocation A : Fin n → Finset (Fin m) satisfies FEF1 between agents (is_fef1_agents s B v A), and every agent's budget is at least every other agent's budget (∀ i j, B j ≤ B i), then A satisfies strong FEF1 between agents (is_strong_fef1_agents s B v A).

Statement

theorem strong_fef1_agents_of_equal_budgets {m n : ℕ}
    (s : Fin m → ℝ) (B : Fin n → ℝ) (v : Fin n → Fin m → ℝ)
    (hv : ∀ i g, 0 ≤ v i g)
    (A : Fin n → Finset (Fin m)) (hfeas : is_budget_feasible s B A)
    (heq : ∀ i j : Fin n, B j ≤ B i)
    (hfef1 : is_fef1_agents s B v A) :
    is_strong_fef1_agents s B v A
Formalizes
arXiv:2611.34488 Sec. 4.2
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
  • is_strong_fef1_agentsGiven common item sizes s : Fin m → ℝ, individual agent budgets B : Fin n → ℝ, and additive valuations given by item values v : Fin n →…
  • is_fef1_agentsGiven common item sizes s : Fin m → ℝ, individual agent budgets B : Fin n → ℝ, and additive valuations given by item values v : Fin n →…
  • is_budget_feasibleAn allocation of m items to n agents is budget-feasible under item sizes s and agent budgets B if the allocated bundles are pairwise…
  • additive_valuationThe additive valuation with item values u: a bundle is worth the sum of its items' values.

Read back from the Lean

For any natural numbers $m$ and $n$, given: - an item size/cost function $s : \text{Fin } m \to \mathbb{R}$, - an agent budget function $B : \text{Fin } n \to \mathbb{R}$, - a valuation function $v : \text{Fin } n \to \text{Fin } m \to \mathbb{R}$, - an assumption $hv$ that valuations are non-negative: for all $i \in \text{Fin } n$ and $g \in \text{Fin } m$, $0 \le v(i, g)$, - an allocation $A : \text{Fin } n \to \text{Finset}(\text{Fin } m)$, - an assumption $hfeas$ that $A$ is budget-feasible: the allocated bundles are pairwise disjoint (for all $i \ne j$, $A(i)$ and $A(j)$ are disjoint) and for every agent $i$, $\sum_{g \in A(i)} s(g) \le B(i)$, - an assumption $heq$ that all agents have equal budgets: for all $i, j \in \text{Fin } n$, $B(j) \le B(i)$ (which implies $B(i) = B(j)$), and - an assumption $hfef1$ that $A$ satisfies feasible envy-freeness up to one item (FEF1): for all distinct agents $i \ne j$ and every nonempty subset $T \subseteq A(j)$ such that $\sum_{g \in T} s(g) \le B(i)$, there exists some $g \in T$ such that $\sum_{k \in T \setminus \{g\}} v(i, k) \le \sum_{k \in A(i)} v(i, k)$, then $A$ satisfies strong FEF1: for all distinct agents $i \ne j$, if $A(j)$ is nonempty, there exists an item $g \in A(j)$ such that for every subset $T \subseteq A(j) \setminus \{g\}$ satisfying $\sum_{k \in T} s(k) \le B(i)$, we have $\sum_{k \in T} v(i, k) \le \sum_{k \in A(i)} v(i, k)$.

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

To establish strong FEF1, we must find for any distinct agents i and j with A j nonempty an item g ∈ A j such that every budget-feasible sub-bundle T ⊆ A j ∖ {g} satisfies v i T ≤ v i (A i). Because every agent's budget is at least every other agent's budget, agent j's entire bundle A j is affordable for agent i. Applying the FEF1 hypothesis to A j itself produces an item g ∈ A j such that v i (A j ∖ {g}) ≤ v i (A i). Since item values are non-negative, any sub-bundle T ⊆ A j ∖ {g} satisfies v i T ≤ v i (A j ∖ {g}), completing the proof by transitivity.

  1. For any distinct agents i and j with A j nonempty, there exists an item g ∈ A j such that v i (A j ∖ {g}) ≤ v i (A i).

    We introduce distinct agents i and j with A j nonempty. Since the allocation is budget-feasible, the total size of A j is at most B j, and because B j ≤ B i, the full bundle A j is affordable for agent i under budget B i. Applying the FEF1 hypothesis to T = A j (using subset_refl) yields an item g ∈ A j whose removal ensures agent i's valuation of A j ∖ {g} is at most v i (A i).

    lines 11–13

    uses subset_refl

      intro i j hij hne
      obtain ⟨g, hg, hle⟩ := hfef1 i j hij (A j) (subset_refl _) hne
        ((hfeas.2 j).trans (heq i j))
  2. Taking g as the witness for strong FEF1, it suffices to show that v i T ≤ v i (A j ∖ {g}) for any sub-bundle T ⊆ A j ∖ {g}.

    We propose g ∈ A j as the witness for the strong FEF1 condition. For any sub-bundle T ⊆ A j ∖ {g}, transitivity of inequality (le_trans) with the bound v i (A j ∖ {g}) ≤ v i (A i) reduces the goal to verifying v i T ≤ v i (A j ∖ {g}).

    line 14

    uses le_trans

      refine ⟨g, hg, fun T hT _ => le_trans ?_ hle⟩
  3. For any T ⊆ A j ∖ {g}, agent i's valuation of T is at most their valuation of A j ∖ {g}, completing the proof.

    Unfolding the definition of additive valuation into explicit sums, the inequality holds by Finset.sum_le_sum_of_subset_of_nonneg because T ⊆ A j ∖ {g} and all item values are non-negative (v i x ≥ 0).

    lines 15–16

    uses Finset.sum_le_sum_of_subset_of_nonneg

      unfold additive_valuation
      exact Finset.sum_le_sum_of_subset_of_nonneg hT (fun x _ _ => hv i x)
subset_refl
Every set (or finset) is a subset of itself: a ⊆ a.
le_trans
The preorder relation ≤ is transitive: if a ≤ b and b ≤ c, then a ≤ c.
Finset.sum_le_sum_of_subset_of_nonneg
If s ⊆ t and f(x) ≥ 0 for all elements in t ∖ s, then the sum of f over s is at most the sum of f over t.

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

-- no helpers/-- Under budget constraints where each agent's budget is at least every other agent's budget, FEF1 between agents implies strong FEF1 between agents. -/theorem strong_fef1_agents_of_equal_budgets {m n : ℕ}    (s : Fin m → ℝ) (B : Fin n → ℝ) (v : Fin n → Fin m → ℝ)    (hv : ∀ i g, 0 ≤ v i g)    (A : Fin n → Finset (Fin m)) (hfeas : is_budget_feasible s B A)    (heq : ∀ i j : Fin n, B j ≤ B i)    (hfef1 : is_fef1_agents s B v A) :    is_strong_fef1_agents s B v A := by  intro i j hij hne  obtain ⟨g, hg, hle⟩ := hfef1 i j hij (A j) (subset_refl _) hne    ((hfeas.2 j).trans (heq i j))  refine ⟨g, hg, fun T hT _ => le_trans ?_ hle⟩  unfold additive_valuation  exact Finset.sum_le_sum_of_subset_of_nonneg hT (fun x _ _ => hv i x)
See it in the graphDiscuss this resultChallenge it