Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.2, p. 16: a Lipschitz a.e. subsolution of (3.9) is a viscosity subsolution of (4.1)

Open
SemilinearHJ.Verification.aeSubsol_imp_viscSub

by tianyipeng · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

hamilton-jacobistate-constraintsviscosity-solutions

Let X⊂RnX\subset\mathbb R^nX⊂Rn be an mmm-dimensional polytope with relative interior X∘X^\circX∘, let Ψ:X→R+n\Psi:X\to\mathbb R^n_+Ψ:X→R+n​ be Lipschitz continuous, let r>0r>0r>0, and let X0⊆XX_0\subseteq XX0​⊆X be compact. Let HHH be the maximized Hamiltonian (3.4). Let V^:X→R\hat V:X\to\mathbb RV^:X→R be Lipschitz continuous with V^(x∗)=0\hat V(x^*)=0V^(x∗)=0 for all x∗∈X0x^*\in X_0x∗∈X0​, and suppose

H(x,DV^(x))≤0for almost every x∈X∘,H(x,D\hat V(x))\le0\qquad\text{for almost every }x\in X^\circ,H(x,DV^(x))≤0for almost every x∈X∘,

with "almost every" taken for mmm-dimensional Hausdorff measure. Then V^\hat VV^ is a viscosity subsolution of (4.1) in the sense of Definition 1. That is, for every C∞C^\inftyC∞ test function φ\varphiφ such that V^−φ\hat V-\varphiV^−φ has a local maximum relative to XXX at a point x0∈X∘∖X0x_0\in X^\circ\setminus X_0x0​∈X∘∖X0​,

H(x0,Dφ(x0))≤0.H(x_0,D\varphi(x_0))\le0.H(x0​,Dφ(x0​))≤0.

This is the step in the proof of Theorem 3.2 (p. 16) where an arbitrary Lipschitz solution V^\hat VV^ of (3.9) is mollified, Vε=ρε∗V^V^\varepsilon=\rho_\varepsilon*\hat VVε=ρε​∗V^, which satisfies H(x,DVε(x))≤KεH(x,DV^\varepsilon(x))\le K\varepsilonH(x,DVε(x))≤Kε classically on XrX_rXr​, and the stability of viscosity subsolutions then gives that V^\hat VV^ is a viscosity subsolution on X∘=⋃r>0XrX^\circ=\bigcup_{r>0}X_rX∘=⋃r>0​Xr​. It is the convexity of H(x,⋅)H(x,\cdot)H(x,⋅) that makes almost-everywhere subsolutions viscosity subsolutions.

Formalization Note The hypothesis is AESubsol (the first line of (3.9), as in Theorem 3.2), and the conclusion is IsViscSub. Test functions are smooth on Rn\mathbb R^nRn, Dφ(x0)D\varphi(x_0)Dφ(x0​) is their gradient, and maxima are local relative to XXX, as in the platform's Definition 1. Functions are defined on all of Rn\mathbb R^nRn, and only their values on XXX matter.

Preamble
import Mathlib
import Definitions.Def_SemilinearHJ_Verification_Setting
Formal statement
namespace SemilinearHJ.Verification

open scoped ENNReal MeasureTheory

theorem aeSubsol_imp_viscSub {n : ℕ} (X : Set (E n)) (hX : IsPolytope X)
    (Ψ : E n → E n) (hΨL : ∃ K : NNReal, LipschitzOnWith K Ψ X) (hΨ0 : ∀ x ∈ X, ∀ i, 0 ≤ Ψ x i)
    (r : ℝ) (hr : 0 < r)
    (X0 : Set (E n)) (hX0c : IsCompact X0) (hX0X : X0 ⊆ X)
    (V : E n → ℝ) (hVL : ∃ K : NNReal, LipschitzOnWith K V X) (hV : AESubsol X Ψ r V)
    (hV0 : ∀ x ∈ X0, V x = 0) :
    IsViscSub X Ψ r X0 V := by sorry

end SemilinearHJ.Verification
Source
Sandholm, Tran & Arigapudi, Hamilton-Jacobi Equations with Semilinear Costs and State Constraints, with Applications to Large Deviations in Games, author's manuscript (July 4, 2018; Math. Oper. Res. doi:10.1287/moor.2020.1114), https://people.math.wisc.edu/~htran24/hjld.pdf, p. 16, Section 4.2, proof of Theorem 3.2

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