Comparative statics of supply and demand
ProvedSupplyDemand.comparative_staticsFix a set of admissible prices. Supply curves are assumed strictly increasing on and demand curves strictly decreasing on ; all equilibrium prices are assumed to lie in .
- Demand shift. If for all , is an equilibrium of and is an equilibrium of , then
- Supply shift. If for all , is an equilibrium of and is an equilibrium of , then
An increase in demand raises both equilibrium price and quantity; an increase in supply lowers the price and raises the quantity. The statements for decreases are obtained by exchanging the indices.
Formalization Note Curves are functions ; the slope assumptions are imposed on an arbitrary set of admissible prices, and all equilibrium prices are assumed to lie in .
import Mathlib import Definitions.Def_SupplyDemand_Model
namespace SupplyDemand
theorem comparative_statics (I : Set ℝ) :
(∀ (S D₁ D₂ : ℝ → ℝ), StrictMonoOn S I → StrictAntiOn D₁ I → StrictAntiOn D₂ I →
(∀ p ∈ I, D₁ p < D₂ p) →
∀ p₁ q₁ p₂ q₂ : ℝ, p₁ ∈ I → p₂ ∈ I →
IsEquilibrium S D₁ p₁ q₁ → IsEquilibrium S D₂ p₂ q₂ →
p₁ < p₂ ∧ q₁ < q₂) ∧
(∀ (S₁ S₂ D : ℝ → ℝ), StrictMonoOn S₁ I → StrictMonoOn S₂ I → StrictAntiOn D I →
(∀ p ∈ I, S₁ p < S₂ p) →
∀ p₁ q₁ p₂ q₂ : ℝ, p₁ ∈ I → p₂ ∈ I →
IsEquilibrium S₁ D p₁ q₁ → IsEquilibrium S₂ D p₂ q₂ →
p₂ < p₁ ∧ q₁ < q₂) := by sorry
end SupplyDemandRead-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 the statement asserts the conjunction of two universally quantified claims.
(1) For all functions : if is strictly increasing on , and are strictly decreasing on , and for every , then for all reals with , , , , , , one has and .
(2) For all functions : if and are strictly increasing on , is strictly decreasing on , and for every , then for all reals with , , , , , one has and .
Existence of equilibria is neither assumed nor asserted; all inequalities are strict.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.