Corollary 3.5: convergence when the solution is a network of fixed architecture
ProvedPINNConvergence.pinn_elliptic_Ck_convergence_fixed_architectureAssume the conditions of Theorem 3.3 as printed (with only ), with fixed weights . Let all classes equal one fixed-architecture network class, , and let the activation also satisfy the conditions of Lemma 2.1 for some : is bounded and Lipschitz for . Suppose the classical solution coincides on with a network in . Suppose also, as in Lemma 2.1, that for each draw of the samples the minimizers have uniformly bounded weights and biases. Then with probability ,
Formalization Note The bounded-weights requirement is part of the conditions of Lemma 2.1, which the corollary invokes. It is stated for each sample sequence. The corollary is stated with the paper's one-sided rate condition. Its printed proof invokes Theorem 3.3, whose proof needs a two-sided rate. Here the bounded weights make the networks equi-Lipschitz, which supplies the boundary equicontinuity directly. 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_Ck_convergence_fixed_architecture {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 ℕ∞) σ) (k : ℕ)
(hσb : ∀ s ≤ k, (∃ M : ℝ, ∀ t, |iteratedDeriv s σ t| ≤ M) ∧
∃ K : NNReal, LipschitzWith K (iteratedDeriv s σ))
(L : ℕ) (n : ℕ → ℕ) (hn : IsArch L n)
(hA2 : NetClassAssumption σ 2 α U (frontier U) (ellipticOp a b c e) id f g lr lb mb XR XB
(fun _ _ => nnClass σ d L n))
(h : ℕ → Smp → Rd d → ℝ)
(hmin : ∀ m : ℕ, 1 ≤ m → ∀ ω, h m ω ∈ nnClass σ d L n ∧ ∀ h' ∈ nnClass σ d L n,
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')
(hbdd : ∀ ω, ∃ (M : ℝ) (W : ℕ → ∀ l, Matrix (Fin (n l)) (Fin (inWidth d n l)) ℝ)
(bb : ℕ → ∀ l, Fin (n l) → ℝ), ∀ m : ℕ, 1 ≤ m →
h m ω = nnEval σ d L n (W m) (bb m) ∧ ParamsBounded L (W m) (bb m) M) :
∀ u, IsClassicalSol U a b c e f g u →
(∃ W bb, Set.EqOn (nnEval σ d L n W bb) u (closure U)) →
∀ᵐ ω ∂P, TendstoCk k U (fun m => h m ω) u := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a natural number and let , with the Euclidean norm. Write for the topological boundary of and for its closure. Throughout:
- denotes the -th partial derivative, taken as the Fréchet derivative of at applied to the -th standard basis vector. By convention it is wherever is not differentiable.
- For a set and a function (possibly vector- or multilinear-map-valued), the Hölder constant is
which is if has fewer than two points.
- means three things: is times continuously differentiable on ; for every , , where is the -th derivative taken within ; and . For this says is continuous on , bounded on , and has a finite -Hölder constant on .
Hypotheses on the domain and data distributions. We are given measures on and real numbers , and assume all of the following:
- Domain. is bounded, open and connected (in particular nonempty).
- Lipschitz boundary charts. For every there exist , a map , a constant and a coordinate index such that:
- for all in the open ball , and ;
- for ;
- for .
- Probability measures with densities. and are probability measures.
- is Lebesgue measure restricted to with a measurable density , where on for some constant .
- is the -dimensional Hausdorff measure restricted to with a measurable density , where on .
- Constants. .
- Cube partitions of . For every with , is a finite disjoint union of measurable pieces . Each piece contains a point with , where is the closed cube of side . Each piece also satisfies .
- Cube partitions of . The same holds for with , and exponent , for every with .
- Ball upper bounds. For all :
- for every ;
- for every .
The PDE and its hypotheses. We are given the following real-valued functions on : for , and for , and , , . We are also given reals . The operator is
The assumptions are:
- and .
- Ellipticity. For every and every ,
- Symmetry. on .
- Regularity of coefficients.
- ;
- ;
- .
- Exterior sphere condition. For every there are and with .
- Coefficient bounds. , , and for every :
- ;
- .
- Sign condition. For every ,
Sample sizes and weights.
- We are given and a function with for every .
- There is a constant such that for all ,
- We are given real sequences and . Define
- For all the weights satisfy and .
- There is a constant such that for all ,
Sampling. Let be a probability space. For each we have maps and . For each , the pair is -a.e. measurable and has joint law
Nothing is assumed about the joint dependence across different values of .
Networks. We are given an activation and a number .
- is infinitely differentiable.
- For every , the -th derivative is bounded on and globally Lipschitz.
We are also given and widths satisfying:
- ;
- for all ;
- .
A network with parameters is built as follows:
- is an real matrix, with , and .
- The layers are and , with applied entrywise.
- The network outputs the single entry of .
denotes the set of all such functions, over all real parameter values (unrestricted).
Network-class hypothesis. Write for the empirical PINN loss
The hypothesis consists of the following:
- , and .
- Every , for all parameter values, is a network of some valid architecture and satisfies:
- , including bounded derivatives of order on ;
- ;
- ;
- .
- For every there is a sequence (for ) such that:
- ;
- ;
- .
The estimators. For each and we are given a function , with no measurability in assumed.
- Minimization. For every and every , minimizes over the -valued regularized loss
Here the empirical loss and each weight are first clamped below at .
- Bounded parameters. For every there are a constant (which may depend on ) and parameters such that, for all :
- is the network with parameters ;
- all weight and bias entries of layers have absolute value at most .
Conclusion. Let be any function that satisfies all of the following:
- is twice continuously differentiable on ;
- is continuous on ;
- on ;
- on ;
- agrees on with some network in .
Then for -almost every and every , the -th derivative of (taken within ) converges to the -th derivative of uniformly on as . Convergence is measured in the norm of -linear maps. For this is just uniform convergence of to on . If no such exists, the statement holds vacuously.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.