Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9, p. 13 — the market clearing problem (P) and problem (P′) (maximize r s.t. Σ w_i + rg = Σ x^0_i, u_i(w_i) ≥ u_i(x^0_i)) have equal values and corresponding solutions

Proved
DoubleAuctionEff.Repeated.lemma_9

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

double-auctionmarket-clearingoptimization-reformulationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let III be a finite nonempty set of agents with utilities uiu_iui​, endowments xi0x^0_ixi0​, numeraire ggg and indifference prices DiD_iDi​ at xi0x^0_ixi0​. Consider

maximize r over r∈R, w∈RI×J  subject to ∑i∈Iwi+rg=∑i∈Ixi0,ui(wi)≥ui(xi0)  (i∈I).(P′)\text{maximize } r \text{ over } r\in\mathbb R,\ w\in\mathbb R^{I\times J}\ \text{ subject to } \sum_{i\in I}w_i+rg=\sum_{i\in I}x^0_i,\quad u_i(w_i)\ge u_i(x^0_i)\ \ (i\in I). \qquad (P')maximize r over r∈R, w∈RI×J  subject to i∈I∑​wi​+rg=i∈I∑​xi0​,ui​(wi​)≥ui​(xi0​)  (i∈I).(P′)
  1. The optimum value CS(x0)CS(x^0)CS(x0) of (P) equals the optimum value of (P′), sup⁡{r∣∃w feasible}\sup\{r\mid \exists w \text{ feasible}\}sup{r∣∃w feasible} (both in [−∞,+∞][-\infty,+\infty][−∞,+∞]).
  2. If every uiu_iui​ satisfies Assumption 1, then for every xˉ\bar xxˉ: xˉ\bar xxˉ solves (P) and CS(x0)<+∞CS(x^0)<+\inftyCS(x0)<+∞ if and only if there are ri∈Rr_i\in\mathbb Rri​∈R such that (r,w)(r,w)(r,w) with
r=∑i∈Iri,wi=xi0+xˉi−rigr=\sum_{i\in I}r_i,\qquad w_i=x^0_i+\bar x_i-r_igr=i∈I∑​ri​,wi​=xi0​+xˉi​−ri​g

solves (P′).

The lemma rewrites the market clearing problem directly in terms of utilities, which is how the monotonicity of the surplus along the repeated auction and the welfare theorem are obtained.

Formalization Note Part 2 adds the finiteness CS(x0)<+∞CS(x^0)<+\inftyCS(x0)<+∞: when the optimum value of (P) is +∞+\infty+∞, (P) may have a maximizer (with value +∞+\infty+∞) while (P′), whose objective is real, has none. Part 1 needs no assumption.

Preamble
import Mathlib
import Definitions.Def_DoubleAuctionEff_Repeated_Model
Formal statement
namespace DoubleAuctionEff.Repeated
theorem lemma_9 {I J : Type*} [Fintype I] [DecidableEq I] [Nonempty I] [Fintype J] [DecidableEq J] (u : I → (J → ℝ) → EReal) (g : J → ℝ) (x0 : I → J → ℝ) : CS u g x0 = (⨆ (r : ℝ) (_ : ∃ w : I → J → ℝ, FeasibleP' u g x0 r w), (r : EReal)) ∧ ((∀ i, Assumption1 (u i) g) → ∀ xbar : I → J → ℝ, (SolvesP u g x0 xbar ∧ CS u g x0 ≠ ⊤) ↔ ∃ r : I → ℝ, SolvesP' u g x0 (∑ i, r i) (fun i => x0 i + xbar i - r i • g)) := by sorry
end DoubleAuctionEff.Repeated
Source
T. Pennanen, Efficient allocations in double auction markets, arXiv:2001.02071v2, p. 13, Lemma 9 and problem (P′)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me