AFTD Auto-Formalizing Theoretical Domains

is_feasible_allocation

def

In a pure exchange economy E with finite agents Agent, an allocation x : Agent → Good → ℝ is feasible if every agent receives a non-negative consumption bundle (∀ i g, 0 ≤ x i g) and the total consumption of each good across all agents does not exceed the total endowment (∀ g, ∑ i, x i g ≤ ∑ i, E.endowment i g).

Statement

def is_feasible_allocation {Agent Good : Type*} [Fintype Agent]
    (E : ExchangeEconomy Agent Good) (x : Agent → Good → ℝ) : Prop
Defined in
Mas-Colell, Whinston, and Green, Microeconomic Theory (1995), Definition 15.B.1.
Verified
01 Oct 2026
Axioms
none listed
Built on 1
  • ExchangeEconomyA pure exchange economy with agent type Agent and commodity type Good consists of a non-negative initial endowment of each good for each…
Used by 4
  • is_walrasian_equilibriumIn a pure exchange economy E with finite agents Agent and finite commodities Good, a price vector p : Good → ℝ and an allocation x : Agent…
  • is_weakly_pareto_optimalIn a pure exchange economy E with finite agents Agent, an allocation x : Agent → Good → ℝ is weakly Pareto optimal if x is feasible in E…
  • endowment_is_feasibleIn any pure exchange economy with finite agents, the initial endowment allocation is feasible.
  • is_pareto_optimalIn a pure exchange economy E with finite agents Agent, an allocation x : Agent → Good → ℝ is Pareto optimal if x is feasible in E and…

Read back from the Lean

Given types Agent and Good with [Fintype Agent], an exchange economy E : ExchangeEconomy Agent Good, and an allocation x : Agent → Good → ℝ, is_feasible_allocation E x is the proposition that: 1. For every agent i : Agent and every good g : Good, 0 ≤ x i g, and 2. For every good g : Good, the sum over all agents i : Agent of x i g is less than or equal to the sum over all agents i : Agent of E.endowment i g.

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 `x` is feasible in an exchange economy `E` if each bundle is non-negative and total consumption does not exceed total endowment. -/
def is_feasible_allocation {Agent Good : Type*} [Fintype Agent]
    (E : ExchangeEconomy Agent Good) (x : Agent → Good → ℝ) : Prop := (∀ i g, 0 ≤ x i g) ∧ (∀ g, ∑ i, x i g ≤ ∑ i, E.endowment i g)
See it in the graphDiscuss this resultChallenge it