Theorem 2.6: abstract estimate on the generalization error of PINNs
ProvedPINNGeneralization.abstract_generalization_error_boundLet be an abstract PDE as in Section 2.1: is measurable, with , is a separable Banach space, satisfies (H1)-(H2), and has a unique solution for every . Let be a closed subspace with norm , and assume the stability bound (H3)
with . Let solve the PDE and let . Let , , be quadrature points with weights . Let be a space of real functions on with a norm such that every is integrable on and
Suppose that , where . Then, with ,
where and .
This is the paper's central estimate: the error of a PINN is controlled by its training error, the quadrature error and the stability of the PDE.
Formalization Note The PINN is any element of . As Remark 2.9 notes, the estimate uses neither the network structure nor the training. The paper assumes , but its constant and its proof apply the quadrature bound to . The hypothesis is therefore , with a space of scalar functions.
import Mathlib import Definitions.Def_PINNGeneralization_Basic open MeasureTheory
namespace PINNGeneralization
theorem abstract_generalization_error_bound {n m : ℕ} {X : Type*} [NormedAddCommGroup X]
[NormedSpace ℝ X] [CompleteSpace X] [TopologicalSpace.SeparableSpace X]
(P : AbstractPDE n m X) (hP : P.Hyp)
(Z : Submodule ℝ X) (zNorm : X → ℝ) (Cpde : ℝ → ℝ → ℝ) (hstab : P.IsStable Z zNorm Cpde)
(u : X) (hu : P.IsSolution u) (huZ : u ∈ Z) (ustar : X) (hustar : ustar ∈ Z)
(Zs : Submodule ℝ (Pt n → ℝ)) (zsNorm : (Pt n → ℝ) → ℝ) (hZs : IsNormOn Zs zsNorm)
(Cquad : ℝ → ℝ) (α : ℝ) (hα : 0 < α)
(Q : QuadRule (Pt n)) (hQ : Q.IsOn P.dom) (hN : 0 < Q.N)
(hquad : QuadErrorBound volume P.dom (Zs : Set (Pt n → ℝ)) zsNorm Cquad α Q)
(hR : (fun y => ‖P.residual ustar y‖ ^ P.p) ∈ Zs) :
‖u - ustar‖ ≤ Cpde (zNorm u) (zNorm ustar) * trainingError Q P.p (P.residual ustar) +
Cpde (zNorm u) (zNorm ustar) *
Cquad (zsNorm fun y => ‖P.residual ustar y‖ ^ P.p) ^ (1 / P.p) *
(Q.N : ℝ) ^ (-α / P.p) := by sorry
end PINNGeneralizationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers and a real Banach space (a complete normed real vector space) that is also separable, with norm . Write for Euclidean space with the Euclidean norm , and for Lebesgue measure on .
The abstract PDE. An abstract PDE consists of:
- a domain ;
- a real exponent ;
- a linear subspace ;
- a linear subspace of the space of all functions ;
- a map assigning to every (not only ) a function ;
- a function .
It is assumed to satisfy all of the following:
- is Lebesgue measurable, and . There is no boundedness or finite-measure assumption on .
- is closed in .
- Every lies in , meaning is a.e.-strongly measurable on and .
- is -closed in the following sense. Suppose for all , , and . Then some equals -a.e. on .
- for every , and .
- For every there is exactly one such that and a.e. on .
Stability hypothesis. We are given a linear subspace , a function and a function . They satisfy:
- is closed in and .
- is a norm on : it is nonnegative and definite on , satisfies for real and , and satisfies the triangle inequality on . Nothing is required of it outside .
- for all real . No monotonicity is assumed.
- For all ,
where . This quantity is taken to be if the integral is infinite.
The solution and the approximant. Let solve the PDE, meaning and -a.e. on . Assume also .
Let be any element of . Nothing further is assumed about ; in particular it is not required to be a neural network. Its residual is the function
Quadrature hypotheses. We are given a linear subspace of real-valued functions on , a function that is a norm on (in the same sense as above), an arbitrary function , and a real .
We are also given a quadrature rule with points and real weights . It satisfies:
- , each , and each . In particular this forces .
- For every , is Lebesgue-integrable on and
- The function belongs to .
Together, the last two items force .
Conclusion. Define the training error
Then
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.