Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

An increase in supply lowers equilibrium price and raises quantity

Proved
SupplyDemand.supply_increase

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

economicsmicroeconomicssupply-and-demand

Let I⊆RI\subseteq\mathbb RI⊆R be a set of admissible prices. Let S1,S2S_1,S_2S1​,S2​ be supply curves strictly increasing on III, with supply increasing from S1S_1S1​ to S2S_2S2​: S1(p)<S2(p)S_1(p)<S_2(p)S1​(p)<S2​(p) for all p∈Ip\in Ip∈I, and let DDD be a demand curve strictly decreasing on III. If (p1,q1)(p_1,q_1)(p1​,q1​) is a market equilibrium of (S1,D)(S_1,D)(S1​,D) and (p2,q2)(p_2,q_2)(p2​,q2​) is a market equilibrium of (S2,D)(S_2,D)(S2​,D), with p1,p2∈Ip_1,p_2\in Ip1​,p2​∈I, then

p2<p1andq1<q2.p_2<p_1\quad\text{and}\quad q_1<q_2.p2​<p1​andq1​<q2​.

After a supply shift, price and quantity move in opposite directions; read with the indices exchanged, a left shift raises the price and lowers the quantity.

Formalization Note Curves are functions R→R\mathbb R\to\mathbb RR→R; the slope assumptions are imposed on an arbitrary set III of admissible prices, and all equilibrium prices are assumed to lie in III.

Preamble
import Mathlib
import Definitions.Def_SupplyDemand_Model
Formal statement
namespace SupplyDemand

theorem supply_increase (I : Set ℝ) (S₁ S₂ D : ℝ → ℝ)
    (hS₁ : StrictMonoOn S₁ I) (hS₂ : StrictMonoOn S₂ I) (hD : StrictAntiOn D I)
    (hshift : ∀ p ∈ I, S₁ p < S₂ p)
    {p₁ q₁ p₂ q₂ : ℝ} (hp₁ : p₁ ∈ I) (hp₂ : p₂ ∈ I)
    (h₁ : IsEquilibrium S₁ D p₁ q₁) (h₂ : IsEquilibrium S₂ D p₂ q₂) :
    p₂ < p₁ ∧ q₁ < q₂ := by sorry

end SupplyDemand
Source
Wikipedia, "Supply and demand", revision 1378800284, https://en.wikipedia.org/w/index.php?title=Supply_and_demand&oldid=1378800284, section "Supply curve shifts"
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Disclosure — NON-BLIND read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement it describes, with full knowledge of the source article and of the intended meaning. It is not independent, blind testimony and must not be mistaken for one. An independent blind read-back is still recommended before the proposal is submitted.

For every set I⊆RI\subseteq\mathbb RI⊆R and all functions S1,S2,D:R→RS_1,S_2,D:\mathbb R\to\mathbb RS1​,S2​,D:R→R such that S1S_1S1​ and S2S_2S2​ are each strictly increasing on III, DDD is strictly decreasing on III, and S1(p)<S2(p)S_1(p)<S_2(p)S1​(p)<S2​(p) for every p∈Ip\in Ip∈I, and for all reals p1,q1,p2,q2p_1,q_1,p_2,q_2p1​,q1​,p2​,q2​ with p1,p2∈Ip_1,p_2\in Ip1​,p2​∈I, D(p1)=q1D(p_1)=q_1D(p1​)=q1​, S1(p1)=q1S_1(p_1)=q_1S1​(p1​)=q1​, D(p2)=q2D(p_2)=q_2D(p2​)=q2​, S2(p2)=q2S_2(p_2)=q_2S2​(p2​)=q2​, the statement asserts p2<p1p_2<p_1p2​<p1​ (the second price is strictly smaller) and q1<q2q_1<q_2q1​<q2​ (the second quantity is strictly larger). The demand curve is the same function in both equilibria. No existence of equilibria is assumed or asserted.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 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