Theorem 3.2 (as proved): the residuals of Hölder-regularized minimizers converge uniformly
ProvedPINNConvergence.residuals_converge_uniformlySuppose Assumptions 3.1 () and 3.2 hold, with fixed weights and smooth activation. For let satisfy
and let satisfy (3.2). For each draw iid samples from and, independently, iid samples from ; the coupling between different is arbitrary. Let be a minimizer over of the Hölder regularized loss of (3.3). Then with probability ,
Formalization Note This is the theorem as its proof establishes it. The paper assumes only . The proof also uses , which needs the reverse bound . Without it the bound on , and hence the equicontinuity used for the boundary limit, is not established. The positivity is implicit in the paper: with the loss does not see . The first item of the theorem, a bound holding with a probability that depends on , is not included. The classes may depend on the samples (Remark 2.2). "Sufficiently smooth activation" is taken as . The order is a free parameter and are arbitrary maps on functions: the statement does not tie to the order of a PDE, so it is more general than the paper's, and the proof does not use linearity.
import Mathlib import Definitions.Def_PINNConvergence_Basic open MeasureTheory Filter Topology
namespace PINNConvergence
theorem residuals_converge_uniformly {d : ℕ} (hd : 2 ≤ d) (U Gam : Set (Rd d))
(μr μb : Measure (Rd d)) (cr Cr cb Cb : ℝ) (hA1 : DataDistAssumption U Gam μr μb cr Cr cb Cb)
(α : ℝ) (k : ℕ) (Lop Bop : (Rd d → ℝ) → Rd d → ℝ) (f g : Rd d → ℝ)
(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 σ k α U Gam Lop Bop 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 Gam Lop Bop f g lr lb (lrR m) (lbR m) (XR m ω) (XB m ω) (h m ω) ≤
holderRegLoss α U Gam Lop Bop f g lr lb (lrR m) (lbR m) (XR m ω) (XB m ω) h') :
∀ᵐ ω ∂P, TendstoUniformlyOn (fun m => Lop (h m ω)) f atTop U ∧
TendstoUniformlyOn (fun m => Bop (h m ω)) g atTop Gam := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix an integer and work in with the Euclidean norm. The statement takes the following data:
- sets ;
- measures on ;
- real constants ;
- a real number and a natural number ;
- two completely arbitrary maps sending functions to functions . No linearity, locality or differential structure is assumed; they are not tied to any particular PDE operator;
- arbitrary functions ;
- real weights and .
Throughout, for a set and a function (possibly vector- or multilinear-map-valued), the Hölder constant is
which equals when has fewer than two points. We say when three conditions hold:
- is times continuously differentiable on , with derivatives taken within ;
- for every , ;
- .
For this means is continuous and bounded on with finite Hölder constant.
Hypothesis on the data distributions. All of the following hold.
- The domain .
- is bounded, open and connected.
- At every boundary point there are , a map , a constant and a coordinate index with the following properties: for all in the open ball ,
moreover $\psi(x)_i>0$ for $x \in B(x_0,r)\cap U$, and $\psi(x)_i=0$ for $x\in B(x_0,r)\cap\partial U$.
2. The boundary piece . is closed and . 3. Probability measures. and are probability measures. In particular cannot be empty. 4. Density of . equals Lebesgue measure restricted to with some measurable density . Some satisfies for all . 5. Density of . equals the -dimensional Hausdorff measure (as defined in the library, i.e. without a normalising constant) restricted to , with some measurable density . Some satisfies on . 6. Positive constants. . 7. Cube partitions of . For every with , there is a finite family of sets with all of these properties:
- the sets are measurable and pairwise disjoint, and their union is exactly ;
- each contains a point with , where is the closed axis-parallel cube of side centred at ;
- .
- Cube partitions of . The same holds for with exponent in place of .
- Upper ball bounds. For every :
- for all , ;
- for all , .
Sample sizes. A function from to is given, with for every . There exist constants such that for all
Regularisation weights. Real sequences and are given. For , write and define
It is assumed that:
- and for all ;
- some constant satisfies, for all ,
Random samples. is a probability space. For each there are maps
For every , the pair is almost-everywhere measurable and its law under is exactly . Nothing is assumed about the joint dependence between different values of .
Networks. is infinitely differentiable. A network with activation is a function of the form , where:
- , and the layer widths are all with ;
- ;
- for , with applied entrywise;
- the weight matrices and bias vectors are arbitrary real.
For each and a set of functions is given.
Hypothesis on the network classes. All of the following hold.
- , and .
- For all (including ), all , and every :
- is a network with activation ;
- and ;
- and .
- For every (not merely almost every), there is a sequence with the following properties:
- for every , and has zero empirical PINN loss on the -th samples. The empirical PINN loss is
where $(x_r^i)=X_R^m(\omega)$ and $(x_b^j)=X_B^m(\omega)$. Since $\lambda_r,\lambda_b>0$, zero loss means $\mathcal{L}[u^*_m]=f$ and $\mathcal{B}[u^*_m]=g$ at every sample point;
- and .
Minimisers. Functions are given. No measurability in is required. For every and every :
- ;
- minimises, over all , the Hölder-regularised loss
computed in . Negative weights , if any, would be replaced by .
The values at of , , and play no role.
Conclusion. For -almost every , both of the following hold:
Concretely, for every there is an such that, for all , for all , and likewise for all .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.