AFTD Auto-Formalizing Theoretical Domains

is_target

def

Given 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 j ≠ i, or D is the charity of unallocated goods.

Statement

def is_target {m n : ℕ} (A : Fin n → Finset (Fin m)) (i : Fin n) (D : Finset (Fin m)) : Prop
Defined in
arXiv:2611.34488, Section 2
Verified
26 Nov 2026
Axioms
none listed
Built on 1
  • 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…
Used by 8
  • is_strong_fef1An allocation A satisfies strong FEF1 if for every agent i and every nonempty target D for i, there exists a good g ∈ D such that for…
  • is_fefxAn allocation A is FEFx (1-FEFx) if for every agent i, every target D for i, and every feasible proper subset T ⊂ D with T ∈ F i, agent i…
  • fefx_implies_strong_fef1Every FEFx allocation satisfies strong FEF1: for any agent i and nonempty target D, any good g ∈ D witnesses strong FEF1 since every…
  • is_fef1An 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…
  • strong_fef1_implies_fef1For nonnegative additive valuations and hereditary feasible families, every allocation satisfying strong FEF1 is FEF1.
  • exists_strong_fef1_not_fefx_one_agentThere exists an instance with one agent, nonnegative additive valuation, unit-size goods under a budget constraint (hereditary family of…
  • fefx_strong_fef1_fef1_hierarchy_and_separationsProposition 2.4: Every FEFx allocation satisfies strong FEF1, every allocation satisfying strong FEF1 under nonnegative additive…
  • exists_fef1_not_strong_fef1_one_agentThere exists an instance with one agent, nonnegative additive valuation, unit-size goods under a budget constraint (hereditary family of…

Read back from the Lean

For natural numbers m and n, a family of subsets A : Fin n → Finset (Fin m), an index i : Fin n, and a subset D : Finset (Fin m), is_target A i D is defined to hold if and only if: 1. There exists an index j : Fin n such that j ≠ i and D = A j, or 2. D is equal to charity A.

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

/-- A target for agent i is either another agent j's bundle or the charity of unallocated goods. -/
def is_target {m n : ℕ} (A : Fin n → Finset (Fin m)) (i : Fin n) (D : Finset (Fin m)) : Prop := (∃ j : Fin n, j ≠ i ∧ D = A j) ∨ D = charity A
See it in the graphDiscuss this resultChallenge it