Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

NegSWGS

Definition
DiscreteConvex_EconomicEquilibriumB_NegSWGS

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

convex-optimizationdiscrete-convex-analysis

Axiom (−M♮^\natural♮-SWGS[Z]), the stepwise gross substitutes property.

(Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.331, axiom (−M^\\natural-SWGS[Z]).)

Definition code
import Mathlib
import Definitions.Def_DiscreteConvex_EconomicEquilibriumB_ArgMaxBot
import Definitions.Def_DiscreteConvex_EconomicEquilibriumB_PriceShift

namespace DiscreteConvex.EconomicEquilibriumB

open Classical
open scoped Pointwise
variable {K : Type*} [Fintype K] [DecidableEq K]
/-- Axiom (−M♮-SWGS[Z]) (the stepwise gross substitutes property). -/
def NegSWGS (U : (K → ℤ) → WithBot ℝ) : Prop :=
  ∀ p : K → ℝ, ∀ x : K → ℤ, x ∈ ArgMaxBot (PriceShift U p) → ∀ i : K,
    (∀ alpha : ℝ, 0 ≤ alpha →
      x ∈ ArgMaxBot (PriceShift U (fun k => p k + (if k = i then alpha else 0)))) ∨
    (∃ alpha : ℝ, 0 ≤ alpha ∧ ∃ y : K → ℤ,
      y ∈ ArgMaxBot (PriceShift U (fun k => p k + (if k = i then alpha else 0))) ∧
      y i = x i - 1 ∧ ∀ j : K, j ≠ i → x j ≤ y j)

-- ===== Structure of the equilibrium price set (§11.5) =====

end DiscreteConvex.EconomicEquilibriumB
Source
Murota, Discrete Convex Analysis, SIAM 2003, DOI 10.1137/1.9780898718508, p.331, axiom (−M^\\natural-SWGS[Z])

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