Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.4 for (24) — exact formula ∂Cφ(uˉ)=∫∂uCe(uˉ,v) dμζ(v)\partial^C\varphi(\bar u)=\int\partial^C_u e(\bar u,v)\,d\mu_\zeta(v)∂Cφ(uˉ)=∫∂uC​e(uˉ,v)dμζ​(v) when the set (11) is bounded

Open
ChanceStateCtrl.PDE.theorem_2_4_bounded

by tianyipeng · Nov 3, 2026 · Mathlib 0df444a (Lean v4.33.1)

chance-constraintsclarke-subdifferentialpde-constrained-optimization

Let D⊆RdD\subseteq\mathbb R^dD⊆Rd (d∈{1,2,3}d\in\{1,2,3\}d∈{1,2,3}) be a nonempty, open, bounded domain of class S, let A−1:L2(D)→C(Dˉ)A^{-1}:L^2(D)\to C(\bar D)A−1:L2(D)→C(Dˉ) be the solution operator of the Dirichlet problem −Δy=F-\Delta y=F−Δy=F in DDD, y=0y=0y=0 on ∂D\partial D∂D, and let f0,φ1,…,φm∈L2(D)f_0,\varphi_1,\dots,\varphi_m\in L^2(D)f0​,φ1​,…,φm​∈L2(D), α∈R\alpha\in\mathbb Rα∈R. With S(u,z)=A−1(u+f0+∑iziφi)S(u,z)=A^{-1}(u+f_0+\sum_i z_i\varphi_i)S(u,z)=A−1(u+f0​+∑i​zi​φi​), the constraint function of problem (24) is

g(u,z)=max⁡x∈Dˉ[S(u,z)](x)−α.g(u,z)=\max_{x\in\bar D}[S(u,z)](x)-\alpha .g(u,z)=x∈Dˉmax​[S(u,z)](x)−α.

Let ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) on a probability space, Σ\SigmaΣ positive definite (m≥1m\ge1m≥1), let φ(u)=P(g(u,ξ)≤0)\varphi(u)=\mathbb P(g(u,\xi)\le0)φ(u)=P(g(u,ξ)≤0) be the probability function and e(u,v)=μη{r≥0∣g(u,rΣ1/2v)≤0}e(u,v)=\mu_\eta\{r\ge0\mid g(u,r\Sigma^{1/2}v)\le0\}e(u,v)=μη​{r≥0∣g(u,rΣ1/2v)≤0} (v∈Sm−1v\in\mathbb S^{m-1}v∈Sm−1) the radial probability function (13), where μη\mu_\etaμη​ is the chi law with mmm degrees of freedom.

Fix uˉ∈L2(D)\bar u\in L^2(D)uˉ∈L2(D) whose expected state satisfies (26): [S(uˉ,0)](x)<α[S(\bar u,0)](x)<\alpha[S(uˉ,0)](x)<α for all x∈Dˉx\in\bar Dx∈Dˉ (this is condition (10), g(uˉ,0)<0g(\bar u,0)<0g(uˉ,0)<0). Assume moreover that the set

M={z∈Rm∣g(uˉ,z)≤0}(11)M=\{z\in\mathbb R^m\mid g(\bar u,z)\le0\}\tag{11}M={z∈Rm∣g(uˉ,z)≤0}(11)

is bounded. Then the Clarke subdifferential of φ\varphiφ at uˉ\bar uuˉ is given exactly by the Aumann integral

∂Cφ(uˉ)=∫Sm−1∂uCe(uˉ,v) dμζ(v),\partial^C\varphi(\bar u)=\int_{\mathbb S^{m-1}}\partial^C_u e(\bar u,v)\,d\mu_\zeta(v),∂Cφ(uˉ)=∫Sm−1​∂uC​e(uˉ,v)dμζ​(v),

where μζ\mu_\zetaμζ​ is the uniform distribution on the sphere.

This is Theorem 2.4 of the paper specialized to problem (24): ggg is jointly convex (Lemma 2.9), (26) gives (10), and MMM is bounded, so the assumptions of Lemma 2.3 hold. It is the case "the set (11) is bounded" of the equality statement in Theorem 2.15, p. 14 ("implying the assumptions of Lemma 2.3").

Formalization note. Same conventions as Theorem 2.15 of this mission: H∗H^*H∗ is identified with L2(D)L^2(D)L2(D) through the inner product, the Clarke subdifferential is clarkeSubdiffL2, and the Aumann integral is aumannL2 over sphereLaw m.

Preamble
import Mathlib
import Definitions.Def_ChanceStateCtrl_PDE_Setting
import Definitions.Def_ChanceStateCtrl_PDE_Model

open MeasureTheory Filter Topology ProbabilityTheory
open scoped ENNReal Pointwise
Formal statement
namespace ChanceStateCtrl.PDE

/-- Theorem 2.4 (p. 7) for problem (24), as invoked in Theorem 2.15 (p. 14): under (26) at `ū`,
if the set `M = {z | g(ū, z) ≤ 0}` of (11) is bounded, then (Lemma 2.3's assumptions hold, since
`g` is jointly convex by Lemma 2.9 and (26) is (10)) the exact formula
`∂^C φ(ū) = ∫_{S^{m-1}} ∂^C_u e(ū, v) dμ_ζ(v)` holds. -/
theorem theorem_2_4_bounded {d m : ℕ} (D : Set (EuclideanSpace ℝ (Fin d)))
    (hDopen : IsOpen D) (hDbdd : Bornology.IsBounded D) (hDne : D.Nonempty)
    (hd : d = 1 ∨ d = 2 ∨ d = 3) (hDS : IsClassS D)
    [CompactSpace (closure D)] (Ainv : L2 D →L[ℝ] C(closure D, ℝ))
    (hA : ∀ F : L2 D, ∃ y, IsDirichletSol D (⇑F) y ∧ ∀ x : closure D, Ainv F x = y x)
    (f₀ : L2 D) (φ : Fin m → L2 D) (α : ℝ)
    (hm : 0 < m) (Sigma : Matrix (Fin m) (Fin m) ℝ) (hSigma : Sigma.PosDef)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (ξ : Ω → EuclideanSpace ℝ (Fin m)) (hξ : Measurable ξ)
    (hξlaw : P.map ξ = multivariateGaussian 0 Sigma)
    (ubar : L2 D) (h26 : ∀ x : closure D, stateS Ainv f₀ φ ubar 0 x < α)
    (hM : Bornology.IsBounded {z : EuclideanSpace ℝ (Fin m) | gPDE Ainv f₀ φ α ubar z ≤ 0}) :
    clarkeSubdiffL2 (probFn P ξ (gPDE Ainv f₀ φ α)) ubar =
      aumannL2 (sphereLaw m)
        (fun v => clarkeSubdiffL2 (fun u => radialProb (gPDE Ainv f₀ φ α) Sigma u v) ubar) := by sorry

end ChanceStateCtrl.PDE
Source
Geiersbach & Henrion, Optimality conditions in control problems with random state constraints in probabilistic or almost-sure form, arXiv:2306.03965v2, p. 7, Theorem 2.4 (with Lemma 2.3, p. 6), applied to problem (24) as invoked in Theorem 2.15, p. 14

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