Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The price inequality system in the extended reals

Definition
DiscreteConvex_EconomicEquilibriumB_EquilibriumPricePolyhedronE

by Shuze Chen · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

discrete-convex-analysis

The inequality system (11.43) with its bounds read in R‾\overline{\mathbb{R}}R: max⁡(0,ℓ(j))≤p(j)≤u(j)\max(0,\ell(j))\le p(j)\le u(j)max(0,ℓ(j))≤p(j)≤u(j) for every good jjj, and p(j)−p(i)≤u(i,j)p(j)-p(i)\le u(i,j)p(j)−p(i)≤u(i,j) for i≠ji\ne ji=j.

(Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, §11.5, Eq. (11.43).)

Definition code
import Mathlib
import Definitions.Def_DiscreteConvex_EconomicEquilibriumB_LBoundJE
import Definitions.Def_DiscreteConvex_EconomicEquilibriumB_UBoundJE
import Definitions.Def_DiscreteConvex_EconomicEquilibriumB_UBoundIJE

namespace DiscreteConvex.EconomicEquilibriumB

open Classical
variable {K : Type*} [Fintype K] [DecidableEq K]

/-- The inequality system (11.43) with its bounds read in `EReal`, so that the book's `-∞` and
`+∞` cases stay infinite instead of collapsing to `0`. -/
def EquilibriumPricePolyhedronE {H L : Type*} [Fintype H] [Fintype L] [Nonempty H] [Nonempty L]
    (U : H → (K → ℤ) → WithBot ℝ) (C : L → (K → ℤ) → WithTop ℝ) (x : H → (K → ℤ))
    (y : L → (K → ℤ)) : Set (K → ℝ) :=
  {p | (∀ j : K, max 0 (LBoundJE U C x y j) ≤ ((p j : ℝ) : EReal) ∧
        ((p j : ℝ) : EReal) ≤ UBoundJE U C x y j) ∧
    ∀ i j : K, i ≠ j → ((p j - p i : ℝ) : EReal) ≤ UBoundIJE U C x y i j}

end DiscreteConvex.EconomicEquilibriumB
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, §11.5, Eq. (11.43)

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me