AFTD Auto-Formalizing Theoretical Domains

SocialChoice.FairDivision.Indivisible.IsEF1

defimported Lean

Envy-free up to one good (EF1): for any envied bundle, removing *some* item from it eliminates the envy. ∀ i ≠ j, A_j nonempty → ∃ g ∈ A_j, v_i(A_j \ {g}) ≤ v_i(A_i). The Nonempty guard is needed because the existential is vacuous for A j = ∅ (an agent cannot envy an empty bundle). EF1 always exists; see RoundRobin.lean. [AGT Ch.11; Lipton et al. 2004]

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset in
variable {N G : Type*} in
def SocialChoice.FairDivision.Indivisible.IsEF1 [DecidableEq G] (v : Valuation N G) (A : Allocation N G) : Prop
Defined in
EconCSLib, `SocialChoice.FairDivision.Indivisible.IsEF1`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
Verified
08 Oct 2026
Axioms
none listed
Built on 2
Used by 6

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset in
variable {N G : Type*} in
/-- Envy-free up to one good (EF1): for any envied bundle, removing *some* item from it eliminates the envy. `∀ i ≠ j, A_j nonempty → ∃ g ∈ A_j, v_i(A_j \ {g}) ≤ v_i(A_i)`. The `Nonempty` guard is needed because the existential is vacuous for `A j = ∅` (an agent cannot envy an empty bundle). EF1 always exists; see `RoundRobin.lean`. [AGT Ch.11; Lipton et al. 2004] -/
def SocialChoice.FairDivision.Indivisible.IsEF1 [DecidableEq G] (v : Valuation N G) (A : Allocation N G) : Prop :=
  ∀ i j : N, i ≠ j → (A j).Nonempty →
    ∃ g ∈ A j, v.val i (A j \ {g}) ≤ v.val i (A i)
See it in the graphDiscuss this resultChallenge it