Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, pp. 14–15 — every multistage risk-trading equilibrium prices in every risk set, obeys (24), and solves SE({μ̄}) and SE(D_s)

Proved
DynRiskEq.Welfare.theorem_3

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

arrow-debreuequilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1risk-measureswelfare-theorem

This is the paper's First Welfare Theorem.

Consider agents a∈Aa\in\mathcal Aa∈A on a finite scenario tree, each with polyhedral node-dependent risk sets Da(n)=conv⁡{[pak]n+}\mathcal D_a(n)=\operatorname{conv}\{[p^k_a]_{n_+}\}Da​(n)=conv{[pak​]n+​​}, n∉Ln\notin\mathcal Ln∈/L, whose generators are probability vectors on n+n_+n+​, and satisfying Assumption 3: ⋂aDa(n)≠∅\bigcap_a\mathcal D_a(n)\neq\emptyset⋂a​Da​(n)=∅ for n∉Ln\notin\mathcal Ln∈/L. Let psk(n)p^k_s(n)psk​(n), k∈Ks(n)k\in\mathcal K_s(n)k∈Ks​(n), be generators of the social planning risk set: conv⁡{[psk]n+}=Ds(n)\operatorname{conv}\{[p^k_s]_{n_+}\}=\mathcal D_s(n)conv{[psk​]n+​​}=Ds​(n) for every n∉Ln\notin\mathcal Ln∈/L. Suppose {πˉ(n)}\{\bar\pi(n)\}{πˉ(n)}, {αˉa(n)}\{\bar\alpha_a(n)\}{αˉa​(n)}, {μˉ(n)}\{\bar\mu(n)\}{μˉ​(n)} form a multistage risk-trading equilibrium RTE(DA)(\mathcal D_{\mathcal A})(DA​) in which agent aaa solves AEa(πˉ,αˉ,μˉ,Da)\mathrm{AE}_a(\bar\pi,\bar\alpha,\bar\mu,\mathcal D_a)AEa​(πˉ,αˉ,μˉ​,Da​) with policy (uˉa,xˉa,θˉa)(\bar u_a,\bar x_a,\bar\theta_a)(uˉa​,xˉa​,θˉa​) and security holdings Wˉa\bar W_aWˉa​. Let θˉ(n)=∑aθˉa(n)\bar\theta(n)=\sum_a\bar\theta_a(n)θˉ(n)=∑a​θˉa​(n). Then:

  1. [μˉ]n+∈Da(n)[\bar\mu]_{n_+}\in\mathcal D_a(n)[μˉ​]n+​​∈Da​(n) for all aaa, and hence [μˉ]n+∈Ds(n)[\bar\mu]_{n_+}\in\mathcal D_s(n)[μˉ​]n+​​∈Ds​(n), for every n∉Ln\notin\mathcal Ln∈/L;
  2. for every n∉Ln\notin\mathcal Ln∈/L,
θˉ(n)=∑m∈n+μˉ(m)(∑a∈ACa(uˉa(m))+θˉ(m));(24)\bar\theta(n)=\sum_{m\in n_+}\bar\mu(m)\Big(\sum_{a\in\mathcal A}C_a(\bar u_a(m))+\bar\theta(m)\Big);\tag{24}θˉ(n)=m∈n+​∑​μˉ​(m)(a∈A∑​Ca​(uˉa​(m))+θˉ(m));(24)
  1. there exist multipliers γ\gammaγ such that (uˉ,xˉ,θˉ,γ,πˉ,αˉ)(\bar u,\bar x,\bar\theta,\gamma,\bar\pi,\bar\alpha)(uˉ,xˉ,θˉ,γ,πˉ,αˉ) solves SE(D0)(\mathcal D_0)(D0​) with D0={μˉ}\mathcal D_0=\{\bar\mu\}D0​={μˉ​}, and μˉ(m)=γ1(n)μˉ(m)\bar\mu(m)=\gamma^1(n)\bar\mu(m)μˉ​(m)=γ1(n)μˉ​(m) on n+n_+n+​;
  2. there exist multipliers γ\gammaγ such that (uˉ,xˉ,θˉ,γ,πˉ,αˉ)(\bar u,\bar x,\bar\theta,\gamma,\bar\pi,\bar\alpha)(uˉ,xˉ,θˉ,γ,πˉ,αˉ) solves SE(Ds)(\mathcal D_s)(Ds​) and μˉ(m)=∑k∈Ks(n)γk(n)psk(m)\bar\mu(m)=\sum_{k\in\mathcal K_s(n)}\gamma^k(n)p^k_s(m)μˉ​(m)=∑k∈Ks​(n)​γk(n)psk​(m) for m∈n+m\in n_+m∈n+​, n∉Ln\notin\mathcal Ln∈/L.

In words: a competitive market in which risk-averse agents trade Arrow–Debreu securities reaches an outcome that a risk-averse social planner, using the intersection of the agents' risk sets, would choose; and the security prices are the planner's worst-case measure.

Formalization Note. The paper's closing clause "μˉ(n)=∑k∈Ks(n)γk(n)pak(m)\bar\mu(n)=\sum_{k\in K_s(n)}\gamma^k(n)p^k_a(m)μˉ​(n)=∑k∈Ks​(n)​γk(n)pak​(m)" mixes nnn and mmm and agent and social generators; it is read as the link μˉ(m)=∑kγk(n)psk(m)\bar\mu(m)=\sum_k\gamma^k(n)p^k_s(m)μˉ​(m)=∑k​γk(n)psk​(m) between the multipliers of SE(Ds)(\mathcal D_s)(Ds​) and the equilibrium price, and posed as part of the conclusion of (iv) (and, trivially, of (iii)). The social generating family is a hypothesis (any finite family whose hull is ⋂aDa(n)\bigcap_a\mathcal D_a(n)⋂a​Da​(n); such a family exists since an intersection of polytopes is a polytope). Note that the printed proof of (iv) obtains γ\gammaγ from Lemma 1, which in general yields a single maximizing generator; the multipliers asserted here represent μˉ\bar\muμˉ​ as a convex combination of social generators. Assumption 3 is stated as printed although it follows from (i). Convexity of CaC_aCa​, Assumptions 1, 2 and 4 and equal leaf depth are not assumed: Theorem 3 does not use them. Risk-set generators are probability vectors (risk sets are sets of probability measures, p. 3). Stationarity "0∈∇f(v)+NS(v)0\in\nabla f(v)+N_S(v)0∈∇f(v)+NS​(v)" requires the gradient to exist and v∈Sv\in Sv∈S. Vector complementarity is componentwise; xa(0−)x_a(0_-)xa​(0−​) is given initial storage.

Preamble
import Mathlib
import Definitions.Def_DynRiskEq_Welfare_Model

open StochasticProg.Multistage FirstOrderOpt.ConvexTheory
open scoped RealInnerProductSpace
Formal statement
namespace DynRiskEq.Welfare

/-- Theorem 3 (pp. 14–15), the First Welfare Theorem. Agents with polyhedral risk sets
(probability-vector generators) satisfying Assumption 3, and a social generating family `(Ks, ps)`
whose convex hull is `𝒟_s(n)` at every non-leaf node. Every multistage risk-trading equilibrium
`(π̄, ᾱ, μ̄; ū, x̄, W̄, θ̄_a)` satisfies (i) `μ̄ ∈ 𝒟_a(n)` for all `a` and `μ̄ ∈ 𝒟_s(n)`; (ii) (24);
(iii) `(ū, x̄, θ̄, γ, π̄, ᾱ)` solves `SE({μ̄})` for some `γ`; (iv) `(ū, x̄, θ̄, γ, π̄, ᾱ)` solves
`SE(𝒟_s)` for some `γ` with `μ̄(m) = Σ_k γ^k(n) p^k_s(m)` on `n+`. -/
theorem theorem_3 {H : ℕ} (T : Tree H) {A : Type} [Fintype A] [DecidableEq A]
    (M : Market T A) (Ka : A → T.Node → ℕ)
    (pa : (a : A) → (n : T.Node) → Fin (Ka a n) → T.Node → ℝ)
    (hprob : ∀ a, ProbGenerators T (Ka a) (pa a))
    (hA3 : ∀ n, ¬ IsLeaf T n → (socialRiskSet T Ka pa n).Nonempty)
    (Ks : T.Node → ℕ) (ps : (n : T.Node) → Fin (Ks n) → T.Node → ℝ)
    (hs : ∀ n, ¬ IsLeaf T n → riskSet T Ks ps n = socialRiskSet T Ka pa n)
    (π : T.Node → ℝ) (α : (a : A) → T.Node → Vec (M.dX a)) (μ : T.Node → ℝ)
    (u : (a : A) → T.Node → Vec (M.dU a)) (x : (a : A) → T.Node → Vec (M.dX a))
    (W : A → T.Node → ℝ) (θa : A → T.Node → ℝ)
    (hRTE : IsRTE T M Ka pa π α μ u x W θa) :
    -- (i)
    (∀ n, ¬ IsLeaf T n →
      (∀ a, InRisk T (Ka a) (pa a) n μ) ∧ restrictChildren T μ n ∈ socialRiskSet T Ka pa n) ∧
    -- (ii), (24)
    (∀ n, ¬ IsLeaf T n →
      thetaBar T θa n = ∑ m ∈ T.children n, μ m * (∑ a, M.C a (u a m) + thetaBar T θa m)) ∧
    -- (iii), SE(𝒟₀) with 𝒟₀ = {μ̄}: one generator p¹₀ = μ̄ at every node
    (∃ γ : (n : T.Node) → Fin 1 → ℝ,
      SE T M (fun _ => 1) (fun _ _ => μ) u x (thetaBar T θa) γ π α ∧
      ∀ n, ¬ IsLeaf T n → ∀ m ∈ T.children n, μ m = ∑ k, γ n k * μ m) ∧
    -- (iv), SE(𝒟_s), with the closing clause μ̄(m) = Σ_k γ^k(n) p^k_s(m)
    (∃ γ : (n : T.Node) → Fin (Ks n) → ℝ,
      SE T M Ks ps u x (thetaBar T θa) γ π α ∧
      ∀ n, ¬ IsLeaf T n → ∀ m ∈ T.children n, μ m = ∑ k, γ n k * ps n k m) := by sorry

end DynRiskEq.Welfare
Source
Ferris & Philpott, Dynamic risked equilibrium, author's manuscript of April 16, 2018 (Oper. Res. 2022, doi:10.1287/opre.2019.1958), pp. 14–15, Theorem 3; proof pp. 15–16
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