Suppose Assumption 3.1 holds with d≥2. Let 0<α≤1, let λ=(λr,λb)≥0 be fixed, and let [f]α;U,[g]α;Γ<∞. There is a constant C′, depending only on λ,d,cr,cb,α,f,g, with the following property. Let h and real numbers Rr(h), Rb(h) satisfy [L[h]]α;U2≤Rr(h) and [B[h]]α;Γ2≤Rb(h), and let mr,mb≥1. Draw mr iid samples from μr and, independently, mb iid samples from μb. Then with probability at least
Here Lossm(h;λ,λ^mR)=LossmPINN(h;λ)+λ^r,mRRr(h)+λ^b,mRRb(h), and Cm and λ^mR are the constants of eq. (3.1).
Minimizing the regularized empirical loss therefore minimizes an upper bound on the expected PINN loss.
Formalization Note "Depending only on λ,d,cr,cb,α,f,g" is encoded by the order of quantifiers. C′ is chosen after U,Γ,α,λ,cr,cb,f,g and before μr,μb,Cr,Cb,L,B,h,Rr,Rb,mr,mb. Because the Hölder constants take values in [0,∞], the paper's real inequality [L[h]]α;U2≤Rr(h) is written together with Rr(h),Rb(h)≥0, which it implies. The case d=1 of the theorem is not included.
Preamble
import Mathlib
import Definitions.Def_PINNConvergence_Basic
open MeasureTheory Filter Topology
Formal statement
namespace PINNConvergence
theorem expected_pinn_loss_bound {d : ℕ} (hd : 2 ≤ d) (U Gam : Set (Rd d)) (α : ℝ)
(hα : 0 < α ∧ α ≤ 1) (lr lb : ℝ) (hl : 0 ≤ lr ∧ 0 ≤ lb) (cr cb : ℝ) (f g : Rd d → ℝ)
(hf : holderConst α U f < ⊤) (hg : holderConst α Gam g < ⊤) :
∃ C' : ℝ, ∀ (μr μb : Measure (Rd d)) (Cr Cb : ℝ), DataDistAssumption U Gam μr μb cr Cr cb Cb →
∀ (Lop Bop : (Rd d → ℝ) → Rd d → ℝ) (h : Rd d → ℝ) (Rr Rb : ℝ), 0 ≤ Rr → 0 ≤ Rb →
holderConst α U (Lop h) ^ 2 ≤ ENNReal.ofReal Rr →
holderConst α Gam (Bop h) ^ 2 ≤ ENNReal.ofReal Rb →
∀ mr mb : ℕ, 1 ≤ mr → 1 ≤ mb →
ENNReal.ofReal ((1 - Real.sqrt mr * (1 - 1 / Real.sqrt mr) ^ mr) *
(1 - Real.sqrt mb * (1 - 1 / Real.sqrt mb) ^ mb)) ≤
((Measure.pi fun _ : Fin mr => μr).prod (Measure.pi fun _ : Fin mb => μb))
{p | pinnLossExp Lop Bop f g lr lb μr μb h ≤
ENNReal.ofReal (constCm d cr Cr cb Cb mr mb *
lossEmp Lop Bop f g lr lb (lamHatR d α lr cr Cr cb Cb mr mb)
(lamHatB d α lb cr Cr cb Cb mr mb) Rr Rb p.1 p.2 h +
C' * ((mr : ℝ) ^ (-α / d) + (mb : ℝ) ^ (-α / ((d : ℝ) - 1))))} := by sorry
end PINNConvergence
Source
Shin, Darbon and Karniadakis, On the convergence of physics informed neural networks for linear second-order elliptic and parabolic type PDEs, arXiv:2004.01806v2 (2020), Section 3, Theorem 3.1 (case d >= 2), eq. (3.1), pp. 9-10; proof in Appendix B, p. 24
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.Rd carries the Euclidean norm and distance. The theorem fixes the following data. None of them is constrained beyond what is listed.
an integer d≥2;
arbitrary subsets U,Γ⊆Rd;
a real α with 0<α≤1;
reals λr,λb≥0;
arbitrary reals cr,cb (no sign assumed at this point);
functions f,g:Rd→R whose Hölder constants are finite: [f]α;U<∞ and [g]α;Γ<∞.
Here, for a set S and a function u, the Hölder constant is the [0,∞]-valued quantity
[u]α;S=x,y∈S,x=ysup∥x−y∥α∣u(x)−u(y)∣.
It equals 0 if S has fewer than two points. Nothing else is assumed of f and g: no continuity beyond what this implies, and no boundedness.
Claim. There exists a single real constant C′ such that the statement below holds. C′ is chosen after d,U,Γ,α,λr,λb,cr,cb,f,g, and before everything that follows, so it may depend only on those. C′ may be any real; its sign is not specified. For all of the following:
all measures μr,μb on Rd and all reals Cr,Cb that satisfy the data-distribution assumption A(U,Γ,μr,μb,cr,Cr,cb,Cb) described below;
all maps L,B sending functions Rd→R to functions Rd→R, which are completely arbitrary (no linearity, no differential structure);
every function h:Rd→R, which is arbitrary (not required to be a neural network or to have any regularity);
all reals Rr,Rb≥0 with [L[h]]α;U2≤Rr and [B[h]]α;Γ2≤Rb;
The measure P.P=μr⊗mr⊗μb⊗mb is the product measure on pairs xr=(xr1,…,xrmr)∈(Rd)mr and xb=(xb1,…,xbmb)∈(Rd)mb. The event is not required to be measurable; if it is not, P is evaluated as an outer measure.
Truncation.[⋅]+ means that a negative real is replaced by 0. The left-hand product is likewise truncated at 0 (its factors equal 1 when m=1).
Both integrals are integrals of nonnegative functions, which may equal +∞; no measurability or integrability is assumed. If Lossexp(h)=+∞, the event is empty.
Note that Rr and Rb enter only through λ^rRr+λ^bRb. The squared Hölder constants of L[h] and B[h] are only required to be at most these reals, which forces them to be finite.
The assumption A. It is the conjunction of the following:
U is bounded, open and connected. For every boundary point x0∈∂U there exist r>0, a map ψ:Rd→Rd, a constant K>0 and a coordinate index i such that:
for all x,y in the open ball B(x0,r), both ∣ψ(x)−ψ(y)∣≤K∣x−y∣ and ∣x−y∣≤K∣ψ(x)−ψ(y)∣ hold;
ψ(x)i>0 for x∈B(x0,r)∩U;
ψ(x)i=0 for x∈B(x0,r)∩∂U.
Γ is closed and Γ⊆∂U.
μr and μb are probability measures.
μr has a measurable density ρr:Rd→[0,∞] with respect to Lebesgue measure restricted to U. There is some ρ0∈(0,∞] with ρr≥ρ0 on U.
μb has a measurable density ρb with respect to the (d−1)-dimensional Hausdorff measure restricted to Γ. There is some ρ0∈(0,∞] with ρb≥ρ0 on Γ.
cr,Cr,cb,Cb>0. Hence, if cr≤0 or cb≤0, no measures satisfy A and the claim holds vacuously for any C′.
Cube partitions of U. For every ε>0 with crεd≤1, U is the union of finitely many pairwise disjoint measurable sets P1,…,PK. Each Pj contains a point zj and satisfies:
Pj lies in the closed axis-parallel cube {y:∣yk−(zj)k∣≤ε/2 for all k};
μr(Pj)≥crεd.
Cube partitions of Γ. The same holds for Γ, with measure μb, constant cb and exponent d−1.
Confirmed by the moderator at approval.