AFTD Auto-Formalizing Theoretical Domains

is_fef1_charity

def

Given common item sizes s : Fin m → ℝ, individual agent budgets B : Fin n → ℝ, and additive valuations given by item values v : Fin n → Fin m → ℝ, an allocation A : Fin n → Finset (Fin m) satisfies FEF1 towards the charity if for every agent i in Fin n and every nonempty subset T ⊆ charity A with total size additive_valuation s T ≤ B i, there exists a good g ∈ T such that additive_valuation (v i) (T.erase g) ≤ additive_valuation (v i) (A i).

Statement

def is_fef1_charity {m n : ℕ} (s : Fin m → ℝ) (B : Fin n → ℝ)
    (v : Fin n → Fin m → ℝ) (A : Fin n → Finset (Fin m)) : Prop
Defined in
arXiv:2611.34488 Def. 2.1
Verified
26 Nov 2026
Axioms
none listed
Built on 2
  • charityGiven natural numbers m and n and an allocation X : Fin n → Finset (Fin m), charity X is the finset of items in Fin m not allocated to any…
  • additive_valuationThe additive valuation with item values u: a bundle is worth the sum of its items' values.
Used by 1

Read back from the Lean

Given natural numbers m (items) and n (agents), a cost/size function s : Fin m → ℝ, a budget function B : Fin n → ℝ, valuation functions v : Fin n → Fin m → ℝ, and an allocation A : Fin n → Finset (Fin m), the definition is_fef1_charity s B v A asserts that: For every agent i : Fin n and every set of items T : Finset (Fin m), if: 1. T is a subset of the unallocated items charity A (items not belonging to A j for any agent j), 2. T is nonempty, and 3. the additive valuation of T under s is at most B i (i.e., additive_valuation s T ≤ B i), then there exists some item g ∈ T such that the additive valuation of T \ {g} under v i is at most the additive valuation of agent i's assigned bundle A i under 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

/-- FEF1 towards the charity bundle under common item sizes and individual budgets. -/
def is_fef1_charity {m n : ℕ} (s : Fin m → ℝ) (B : Fin n → ℝ)
    (v : Fin n → Fin m → ℝ) (A : Fin n → Finset (Fin m)) : Prop :=
  ∀ i : Fin n, ∀ T : Finset (Fin m), T ⊆ charity A → T.Nonempty →
    additive_valuation s T ≤ B i →
    ∃ g ∈ T, additive_valuation (v i) (T.erase g) ≤ additive_valuation (v i) (A i)
See it in the graphDiscuss this resultChallenge it