Theorem 3.4: with exact boundary values, the minimizers converge in
ProvedPINNConvergence.pinn_elliptic_H1_convergenceUnder the conditions of Theorem 3.3 as printed (with only ), with fixed weights , suppose also that every minimizer satisfies the boundary condition: on for all and all samples. Then with probability the minimizers converge to the classical solution in :
Learning the boundary data exactly therefore upgrades uniform convergence to convergence in energy.
Formalization Note Both and are on , so the norm is computed with classical gradients. The squared distance takes values in . The reverse rate condition of Theorem 3.3 (as proved) is not needed here: with exact boundary values only the interior residual must converge uniformly, and the one-sided rate suffices for that. Positivity is assumed, as in Theorem 3.3 (as proved). 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_H1_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)))
(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')
(hbc : ∀ m : ℕ, 1 ≤ m → ∀ ω, ∀ x ∈ frontier U, h m ω x = g x) :
∀ u, IsClassicalSol U a b c e f g u →
∀ᵐ ω ∂P, Tendsto (fun m => h1DistSq U (h m ω) u) atTop (𝓝 0) := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix an integer and a set , where carries the Euclidean norm. Write for the topological boundary of and for its closure. The statement is about every classical solution of a linear second-order Dirichlet problem on , and about a family of "minimizing networks" . It asserts that, for almost every sample outcome , the squared -type distance between and tends to as . The data and hypotheses are listed below in full.
Notation used throughout.
- Hölder constant. For a set and a (possibly vector- or multilinear-map-valued) function , the Hölder constant is
which is if has fewer than two points.
-
The class . "" means all three of the following:
- is times continuously differentiable on (for : continuous on );
- for each , ;
- .
Here is the -th iterated Fréchet derivative taken within , and .
-
Partial derivatives. is the Fréchet derivative of at applied to the -th standard basis vector. It is defined to be at points where is not differentiable.
-
Closed cube. .
Data-distribution hypothesis. We are given measures on and reals , satisfying all of the following.
-
is a bounded domain. is bounded, open and connected.
-
Lipschitz chart at each boundary point. For every there exist:
- a radius ,
- a map ,
- a constant ,
- a coordinate index ,
such that, for in the open ball :
Moreover, for , and for . 3. Probability measures. and are probability measures. (The requirements that be closed and contained in are automatically true.) 4. Interior density. equals Lebesgue measure restricted to with some measurable density , and on for some . 5. Boundary density. equals the -dimensional Hausdorff measure restricted to with some measurable density , and is bounded below on by a positive constant. 6. Positive constants. . 7. Interior cube partitions. For every with , there is a finite family and points such that:
- the are measurable, pairwise disjoint sets with union exactly ;
- ;
- .
-
Boundary cube partitions. The same holds for , , , with exponent in place of .
-
Upper bounds on balls. For all :
- for every ;
- for every .
Here denotes a closed ball.
Elliptic hypothesis. We are given coefficient functions (for ) and reals , satisfying all of the following.
- Exponents and ellipticity constant. and .
- Uniform ellipticity. For all and all ,
- Symmetry. for all .
- Hölder regularity.
- , and lie in ;
- and lie in ;
- lies in .
- Exterior sphere condition. For every there exist and such that .
- Bounds on the coefficients. , , and for all :
- Sign condition. For all ,
The operator. For any , define on all of by
Derivatives are taken with the "zero where not differentiable" convention above. The boundary operator is the identity, .
Loss weights, sample sizes and regularization weights.
- Loss weights. and .
- Boundary sample sizes. satisfies for all .
- Growth condition. There is a real such that for all .
- Constants , , . For , write and define
- Regularization weights. The sequences satisfy, for all :
- and ;
- for some fixed real .
Sampling. is a probability space. For each there are maps
For every , the pair is almost-everywhere measurable, and its joint law under is exactly the product measure . No relation between different is imposed.
Networks. The activation is infinitely differentiable (). A "network with activation " is defined as follows.
- Architecture. There are layers with widths and output width .
- Parameters. There are weight matrices of size , where the input width of layer is , and bias vectors .
- Evaluation. The network maps to the single entry of , where
with applied entrywise and no activation after the last layer.
Empirical loss. For sample points and , the empirical PINN loss of is
Hypothesis on the network classes. For each and we are given a class of functions , satisfying all of the following.
- Exponent and data regularity. , and .
- Properties of every member. For every (including ), every , and every :
- is a network with activation (of some architecture);
- and ;
- and .
- Interpolating sequence. For every there is a sequence such that, for all :
- ;
- has empirical loss exactly at the samples ;
- in addition, and .
Minimizers. For each and , the function satisfies the following for every and every (not merely almost every ):
- ;
- minimizes, over , the -valued Hölder-regularized loss
Each real coefficient here is replaced by if negative. The loss is evaluated at the samples .
- for all .
The value is unconstrained.
Conclusion. Let be any function satisfying:
- is twice continuously differentiable on ;
- is continuous on ;
- for all ;
- for all .
The existence of such a is not asserted; the statement applies to each such . Then for -almost every ,
In this integral:
- is the Fréchet derivative on , taken to be wherever is not differentiable.
- is its operator norm, i.e. the Euclidean norm of the gradient.
- The integral is a -valued Lebesgue integral, and convergence is in ; in particular the integrals are eventually finite.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.