AFTD Auto-Formalizing Theoretical Domains

is_fef1

def

An allocation A is feasibly envy-free up to one good (FEF1) if for every agent i, every target D for i, and every nonempty feasible subset T ⊆ D with T ∈ F i, there exists a good g ∈ T such that agent i values A i at least as much as T without g.

Statement

def is_fef1 {m n : ℕ} (v : Fin n → Fin m → ℝ) (F : Fin n → Set (Finset (Fin m)))
    (A : Fin n → Finset (Fin m)) : Prop
Defined in
arXiv:2611.34488, Definition 2.1
Verified
26 Nov 2026
Axioms
none listed
Built on 2
  • is_targetGiven an allocation A of goods in Fin m to n agents, a bundle D is a target for agent i if D is the allocated bundle A j of another agent…
  • additive_valuationThe additive valuation with item values u: a bundle is worth the sum of its items' values.
Used by 3

Read back from the Lean

Given implicit parameters m, n : ℕ, valuation functions v : Fin n → Fin m → ℝ, a family of feasible sets for each agent F : Fin n → Set (Finset (Fin m)), and an allocation A : Fin n → Finset (Fin m), is_fef1 v F A asserts that: For every agent i : Fin n and every item set D : Finset (Fin m), if D is a target for agent i under A (that is, either D = A j for some agent j ≠ i, or D = charity A), then for every subset T ⊆ D, if T is nonempty and T ∈ F i, there exists an item g ∈ T such that the additive valuation of T \ {g} with respect to v i is less than or equal to the additive valuation of A i with respect to v i.

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

Lean source view module on GitHub

/-- An allocation is FEF1 if for every agent i, target D, and nonempty feasible T ⊆ D, removing some good from T eliminates envy. -/
def is_fef1 {m n : ℕ} (v : Fin n → Fin m → ℝ) (F : Fin n → Set (Finset (Fin m)))
    (A : Fin n → Finset (Fin m)) : Prop := ∀ (i : Fin n) (D : Finset (Fin m)), is_target A i D →
    ∀ T ⊆ D, T.Nonempty → T ∈ F i →
      ∃ g ∈ T, additive_valuation (v i) (T.erase g) ≤ additive_valuation (v i) (A i)
See it in the graphDiscuss this resultChallenge it