Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.2, p. 31 — v ↦ H_Z(v) is continuous on dom H_Z

Proved
EndoInvDemand.Clearing.H_continuousOn

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

clearing-pricecontinuityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let RRR satisfy Assumption 3.1 on D∈{R,R++}\mathbb D\in\{\mathbb R,\mathbb R_{++}\}D∈{R,R++​}, let the aggregate endowment X\mathcal XX satisfy Assumption 2.1, and let Z∈L∞Z\in L^\inftyZ∈L∞. Then the pricing map

v↦HZ(v)=E[Zexp⁡(−R(X+Z−v))]E[exp⁡(−R(X+Z−v))]v\mapsto H_Z(v)=\frac{\mathbb E[Z\exp(-R(\mathcal X+Z-v))]}{\mathbb E[\exp(-R(\mathcal X+Z-v))]}v↦HZ​(v)=E[exp(−R(X+Z−v))]E[Zexp(−R(X+Z−v))]​

is continuous on its domain dom⁡HZ\operatorname{dom}H_ZdomHZ​.

Continuity is the first step of the existence proof (Theorem 3.2), which locates a fixed point by the intermediate value theorem, and of the closedness of the set of clearing prices.

Formalization Note For D=R++\mathbb D=\mathbb R_{++}D=R++​, dom⁡HZ\operatorname{dom}H_ZdomHZ​ is (−∞,ess inf⁡[X+Z]](-\infty,\operatorname{ess\,inf}[\mathcal X+Z]](−∞,essinf[X+Z]] or (−∞,ess inf⁡[X+Z])(-\infty,\operatorname{ess\,inf}[\mathcal X+Z])(−∞,essinf[X+Z]); continuity is relative to that set, so at its right end point (when it belongs to the domain) it is continuity from the left. dom⁡HZ\operatorname{dom}H_ZdomHZ​ requires a finite denominator (see the definitions item).

Preamble
import Mathlib
import Definitions.Def_EndoInvDemand_Clearing_Setting
open MeasureTheory
open scoped ENNReal Topology
Formal statement
namespace EndoInvDemand.Clearing

/-- Proof of Theorem 3.2, p. 31: `v ↦ H_Z(v)` is continuous on `dom H_Z`. -/
theorem H_continuousOn {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (D : Dom) (R : ℝ → ℝ) (hR : Assumption31 D R)
    (X Z : Ω → ℝ) (hX : Assumption21 P D X) (hZ : MemLp Z ⊤ P) :
    ContinuousOn (H P D R X Z) (domH P D R X Z) := by sorry

end EndoInvDemand.Clearing
Source
Bichuch & Feinstein, Endogenous Inverse Demand Functions, arXiv:2012.08002v3, proof of Theorem 3.2 (Online Appendix D.1), p. 31, "We first note that R is continuous, and therefore so is v ↦ H_Z(v)."
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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