Proof of Theorem 3.2, p. 16: a Lipschitz a.e. subsolution of (3.9) is a viscosity subsolution of (4.1)
OpenSemilinearHJ.Verification.aeSubsol_imp_viscSubLet be an -dimensional polytope with relative interior , let be Lipschitz continuous, let , and let be compact. Let be the maximized Hamiltonian (3.4). Let be Lipschitz continuous with for all , and suppose
with "almost every" taken for -dimensional Hausdorff measure. Then is a viscosity subsolution of (4.1) in the sense of Definition 1. That is, for every test function such that has a local maximum relative to at a point ,
This is the step in the proof of Theorem 3.2 (p. 16) where an arbitrary Lipschitz solution of (3.9) is mollified, , which satisfies classically on , and the stability of viscosity subsolutions then gives that is a viscosity subsolution on . It is the convexity of 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 , is their gradient, and maxima are local relative to , as in the platform's Definition 1. Functions are defined on all of , and only their values on matter.
import Mathlib import Definitions.Def_SemilinearHJ_Verification_Setting
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