Theorem 3.3 (as proved): PINN minimizers converge uniformly to the solution of the elliptic problem
OpenPINNConvergence.pinn_elliptic_convergenceConsider the elliptic Dirichlet problem (3.6), in , on , with and . Suppose Assumptions 3.1 (), 3.2 (with ) and 3.3 hold and in . Let be fixed and let the activation be smooth. For let satisfy
and let satisfy (3.2). The samples are as in Theorem 3.2. Let minimize the Hölder regularized loss (3.3) over . Then:
- the problem has a classical solution , unique on ;
- with probability , in .
This is the paper's main consistency result: in the sample limit, minimizers of the regularized PINN loss converge uniformly to the classical solution.
Formalization Note This is the theorem as its proof establishes it. The reverse rate bound is added because the proof goes through Theorem 3.2, whose boundary step needs it. Positivity of is implicit in the paper. Smoothness of the activation is taken as . One exponent serves both Assumption 3.2 () and Assumption 3.3 (), as the paper uses the single symbol for both; this excludes the Lipschitz regularization from the elliptic theorems.
import Mathlib import Definitions.Def_PINNConvergence_Basic open MeasureTheory Filter Topology
namespace PINNConvergence
theorem pinn_elliptic_convergence {d : ℕ} (hd : 2 ≤ d) (U : Set (Rd d))
(μr μb : Measure (Rd d)) (cr Cr cb Cb : ℝ)
(hA1 : DataDistAssumption U (frontier U) μr μb cr Cr cb Cb)
(α : ℝ) (a : Fin d → Fin d → Rd d → ℝ) (b c : Fin d → Rd d → ℝ) (e f g : Rd d → ℝ)
(lam0 Lam v : ℝ) (hA3 : EllipticAssumption α U a b c e f g lam0 Lam v)
(hct : ∀ x ∈ U, ctilde b e x ≤ 0)
(lr lb : ℝ) (hl : 0 < lr ∧ 0 < lb) (mb : ℕ → ℕ) (hmb : ∀ m, 1 ≤ mb m)
(hrate : ∃ K : ℝ, ∀ m : ℕ, 1 ≤ m → (m : ℝ) ≤ K * (mb m : ℝ) ^ ((d : ℝ) / ((d : ℝ) - 1)))
(hrate' : ∃ K : ℝ, ∀ m : ℕ, 1 ≤ m → (mb m : ℝ) ^ ((d : ℝ) / ((d : ℝ) - 1)) ≤ K * m)
(lrR lbR : ℕ → ℝ) (hR : RegWeightCondition d α lr lb cr Cr cb Cb mb lrR lbR)
{Smp : Type*} [MeasurableSpace Smp] (P : Measure Smp) [IsProbabilityMeasure P]
(XR : ∀ m : ℕ, Smp → Fin m → Rd d) (XB : ∀ m : ℕ, Smp → Fin (mb m) → Rd d)
(hX : IsIIDSampling P μr μb mb XR XB)
(σ : ℝ → ℝ) (hσ : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) σ) (H : ℕ → Smp → Set (Rd d → ℝ))
(hA2 : NetClassAssumption σ 2 α U (frontier U) (ellipticOp a b c e) id f g lr lb mb XR XB H)
(h : ℕ → Smp → Rd d → ℝ)
(hmin : ∀ m : ℕ, 1 ≤ m → ∀ ω, h m ω ∈ H m ω ∧ ∀ h' ∈ H m ω,
holderRegLoss α U (frontier U) (ellipticOp a b c e) id f g lr lb (lrR m) (lbR m)
(XR m ω) (XB m ω) (h m ω) ≤
holderRegLoss α U (frontier U) (ellipticOp a b c e) id f g lr lb (lrR m) (lbR m)
(XR m ω) (XB m ω) h') :
(∃ u, IsClassicalSol U a b c e f g u ∧
∀ w, IsClassicalSol U a b c e f g w → Set.EqOn w u (closure U)) ∧
∀ u, IsClassicalSol U a b c e f g u →
∀ᵐ ω ∂P, TendstoUniformlyOn (fun m => h m ω) u atTop U := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting and notation. Fix a natural number . Write for Euclidean space with the Euclidean norm. Throughout:
- is the -th partial derivative of at . It is the Fréchet derivative of on all of applied to the -th unit vector, and it is set to wherever is not differentiable at .
- For , and , the Hölder constant is the extended non-negative number
-
means three things:
- is times continuously differentiable on ;
- for every , the -th derivative of taken within has finite supremum norm on ;
- the -th derivative within has finite Hölder constant , measured in the operator norm.
For this says is continuous on , and .
-
is the topological boundary of and is its closure.
Data hypotheses. The theorem takes a set , measures on , and real numbers . It assumes all of the following:
-
Domain. is bounded, open and connected, hence nonempty. For every there exist:
- a radius ,
- a map ,
- a constant ,
- a coordinate index ,
such that for all in the open ball ,
and moreover for and for . Nothing is required of points of outside . 2. Boundary set. is closed and . Both hold automatically. 3. Interior measure. and are probability measures. is Lebesgue measure restricted to with a measurable density , and there is with on . 4. Boundary measure. is the -dimensional Hausdorff measure restricted to with a measurable density , and there is with on . 5. Constants. . 6. Interior cube partitions. Let be the closed cube of side centred at . For every with , there is a finite family of sets with points such that:
- the are measurable and pairwise disjoint, and their union is exactly ;
- ;
- .
- Boundary cube partitions. The same holds for , and with exponent , for every with .
- Ball upper bounds. For every and closed ball :
- for all ;
- for all .
The PDE and its hypotheses. The theorem takes a real , functions (for ), and reals . The operator is
with all derivatives taken in the whole-space sense above. The theorem assumes:
- and .
- Ellipticity: for all and ,
- Symmetry: for .
- Regularity:
- ;
- ;
- ;
- .
- Exterior sphere condition: for every there are and with .
- Coefficient bounds: , , and for all ,
- Sign condition: for all .
Sample sizes and weights.
- Fix .
- Fix with for every .
- Assume there exist real constants (sign unrestricted) such that for all :
- For , with , define
- The given sequences satisfy, for every :
- and ;
- for some real constant , .
Sampling. There is a probability space and random sample vectors
For every , the map is -a.e. measurable and its law is exactly the product measure . Nothing links the samples for different .
Network classes. Let be infinitely differentiable. For each and , let be a set of functions . A neural network with activation is any function of the following form:
- there are layers with widths and ;
- the weight matrices and biases are arbitrary real and unbounded;
- the layers are and , with applied entrywise;
- the output is the sum of the entries of .
The empirical loss on the -th samples and is
Here the boundary operator is the identity, . The theorem assumes:
- , and .
- For every (including ), every and every :
- is a neural network with activation ;
- and ;
- and .
- For every there is a sequence such that, for all :
- and , i.e. fits the -th samples exactly;
- and .
Minimizers. The theorem takes functions . It assumes that for every and every (not merely almost every), minimizes over the -valued loss
This uses the convention . No measurability of in is assumed, and is unconstrained.
Conclusion. A classical solution is a function that is on , continuous on , satisfies at every point of , and satisfies at every point of . The theorem asserts both of the following:
- Existence and uniqueness on . There exists a classical solution , and every classical solution coincides with on . Values outside are unconstrained.
- Convergence. For every classical solution , for -almost every ,
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.