Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark, step (α) — the best value φ_ι is upper semicontinuous

Proved
SocialEquilibrium.Existence.bestValue_upperSemicontinuousAt

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

best-responsemaximum-theoremp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1semicontinuity

In Debreu's abstract economy, fix an agent ι\iotaι and a point aˉι0∈Aˉι\bar a^0_\iota\in\bar{\mathfrak A}_\iotaaˉι0​∈Aˉι​. Suppose that AιA_\iotaAι​ has non-void values and a compact graph GιG_\iotaGι​, and that fιf_\iotafι​ is continuous on GιG_\iotaGι​ with values in the completed real line. Then the best value

φι(aˉι)=max⁡aι∈Aι(aˉι)fι(aˉι,aι)\varphi_\iota(\bar a_\iota)=\max_{a_\iota\in A_\iota(\bar a_\iota)}f_\iota(\bar a_\iota,a_\iota)φι​(aˉι​)=aι​∈Aι​(aˉι​)max​fι​(aˉι​,aι​)

is upper semicontinuous at aˉι0\bar a^0_\iotaaˉι0​: for every sequence aˉιn→aˉι0\bar a^n_\iota\to\bar a^0_\iotaaˉιn​→aˉι0​ and every ε>0\varepsilon>0ε>0, eventually φι(aˉιn)<φι(aˉι0)+ε\varphi_\iota(\bar a^n_\iota)<\varphi_\iota(\bar a^0_\iota)+\varepsilonφι​(aˉιn​)<φι​(aˉι0​)+ε.

Formalization Note The conclusion is Mathlib's UpperSemicontinuousAt, which the paper itself names ("in other words, φ(aˉ)\varphi(\bar a)φ(aˉ) is upper semicontinuous at aˉ0\bar a^0aˉ0"). Mathlib's definition uses strict upper bounds in EReal and involves no arithmetic with ±∞\pm\infty±∞; the paper reaches the same statement by transporting R‾\overline{\mathbb R}R to [−1,1][-1,1][−1,1].

Preamble
import Mathlib
import Definitions.Def_SocialEquilibrium_Existence_graph
import Definitions.Def_SocialEquilibrium_Existence_Game
Formal statement
namespace SocialEquilibrium.Existence

/-- Debreu (1952), §2, p. 890, step (α) of the proof of the Remark: if `A_ι` has non-void values
and a compact graph `G_ι` and `f_ι` is continuous on `G_ι` (values in the completed real line),
then `φ_ι` is upper semicontinuous at every `ā⁰_ι`. -/
theorem bestValue_upperSemicontinuousAt {ι : Type*} [Fintype ι] [DecidableEq ι]
    {E : ι → Type*} [∀ i, NormedAddCommGroup (E i)] [∀ i, NormedSpace ℝ (E i)]
    [∀ i, FiniteDimensional ℝ (E i)]
    (X : ∀ i, Set (E i)) (A : ∀ i : ι, Others X i → Set (X i))
    (f : ι → (∀ j, X j) → EReal) (i : ι) (ā₀ : Others X i)
    (hA : ∀ ā : Others X i, (A i ā).Nonempty)
    (hG : IsCompact (graph (A i)))
    (hf : ContinuousOn (fun p : Others X i × X i => f i (join X i p.1 p.2)) (graph (A i))) :
    UpperSemicontinuousAt (bestValue X A f i) ā₀ := by sorry

end SocialEquilibrium.Existence
Source
Debreu, A Social Equilibrium Existence Theorem, Proc. Natl. Acad. Sci. USA 38(10), 1952, p. 890, proof of the Remark, step (α)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • ι\iotaι is a finite set of agents with decidable equality.
  • Each EjE_jEj​ is a finite-dimensional real normed space, and Xj⊆EjX_j \subseteq E_jXj​⊆Ej​.
  • Aˉi=∏j≠iXj\bar{\mathfrak A}_i = \prod_{j\ne i} X_jAˉi​=∏j=i​Xj​, with product-of-subspace topologies throughout.
  • AjA_jAj​ are constraint maps, and fj:∏kXk→[−∞,+∞]f_j : \prod_k X_k \to [-\infty,+\infty]fj​:∏k​Xk​→[−∞,+∞] are payoffs.
  • An agent iii and a point aˉ0∈Aˉi\bar a^0 \in \bar{\mathfrak A}_iaˉ0∈Aˉi​ are fixed.

The best value is φi(aˉ)=sup⁡{fi(aˉ,b):b∈Ai(aˉ)}\varphi_i(\bar a) = \sup\{f_i(\bar a, b) : b \in A_i(\bar a)\}φi​(aˉ)=sup{fi​(aˉ,b):b∈Ai​(aˉ)} in [−∞,+∞][-\infty,+\infty][−∞,+∞].

Hypotheses.

  1. Ai(aˉ)≠∅A_i(\bar a) \ne \varnothingAi​(aˉ)=∅ for every aˉ∈Aˉi\bar a \in \bar{\mathfrak A}_iaˉ∈Aˉi​.
  2. The graph Gi={(aˉ,b):b∈Ai(aˉ)}G_i = \{(\bar a, b) : b \in A_i(\bar a)\}Gi​={(aˉ,b):b∈Ai​(aˉ)} is compact in Aˉi×Xi\bar{\mathfrak A}_i \times X_iAˉi​×Xi​.
  3. (aˉ,b)↦fi(aˉ,b)(\bar a, b) \mapsto f_i(\bar a, b)(aˉ,b)↦fi​(aˉ,b) is continuous on GiG_iGi​.

Claim. φi\varphi_iφi​ is upper semicontinuous at aˉ0\bar a^0aˉ0: for every y∈[−∞,+∞]y \in [-\infty,+\infty]y∈[−∞,+∞] with φi(aˉ0)<y\varphi_i(\bar a^0) < yφi​(aˉ0)<y, one has φi(aˉ)<y\varphi_i(\bar a) < yφi​(aˉ)<y for all aˉ\bar aaˉ in some neighbourhood of aˉ0\bar a^0aˉ0.

Degenerate cases. Hypotheses 1 and 2 together mean that Aˉi\bar{\mathfrak A}_iAˉi​ is the projection of the compact set GiG_iGi​, so Aˉi\bar{\mathfrak A}_iAˉi​ is itself compact. Payoffs may take the values ±∞\pm\infty±∞. If φi(aˉ0)=+∞\varphi_i(\bar a^0) = +\inftyφi​(aˉ0)=+∞, the claim is vacuous.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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