AFTD Auto-Formalizing Theoretical Domains

SocialChoice.FairDivision.ShareInstance.toInstance

defimported Lean

Lift a no-externality fair-division instance to a fully general allocation-preference instance by comparing allocations pointwise through the share assigned to the evaluating agent.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
def SocialChoice.FairDivision.ShareInstance.toInstance {N R S : Type*}
    (I : ShareInstance N R S) : Instance N R S
Defined in
EconCSLib, `SocialChoice.FairDivision.ShareInstance.toInstance`
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 6

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- Lift a no-externality fair-division instance to a fully general allocation-preference instance by comparing allocations pointwise through the share assigned to the evaluating agent. -/
def SocialChoice.FairDivision.ShareInstance.toInstance {N R S : Type*}
    (I : ShareInstance N R S) : Instance N R S where
  resource := I.resource
  feasible := I.feasible
  pref i :=
    { rel := fun A B => I.sharePref i (A i) (B i)
      prop :=
        { reflexive := fun A => I.sharePref i |>.prop.reflexive (A i)
          transitive := fun _ _ _ hAB hBC => I.sharePref i |>.prop.transitive hAB hBC
          total := fun A B => I.sharePref i |>.prop.total (A i) (B i) } }
See it in the graphDiscuss this resultChallenge it