Eq. (3.15) (as proved): stability estimate for the semilinear parabolic equation
OpenPINNGeneralization.heat_energy_estimateLet be open, connected and bounded with boundary, , and let . Let satisfy , let , and let be a classical solution of
Let be a neural network of with a activation function, with residuals . Then
where and .
This is the PDE stability step of Theorem 3.1, before the quadrature bounds are applied.
Formalization Note The paper's (3.15) has without the factor . Its energy inequality, multiplied by before the time integration, gives . This statement gives what the proof establishes. is written as the restriction of a function on .
import Mathlib import Definitions.Def_PINNGeneralization_Basic open MeasureTheory
namespace PINNGeneralization
theorem heat_energy_estimate {n k : ℕ} (hk : 2 ≤ k) (D : Set (Pt (n + 1)))
(hD : IsCkDomain k D) (T : ℝ) (hT : 0 < T) (f : ℝ → ℝ) (Cf : ℝ)
(hf : ∀ v w, |f v - f w| ≤ Cf * |v - w|)
(ubar : Pt (n + 1) → ℝ) (hubar : ContDiff ℝ k ubar)
(u : Pt (n + 1) → ℝ → ℝ) (hu : ContDiff ℝ k (fun q : Pt (n + 1) × ℝ => u q.1 q.2))
(hsol : IsHeatSolution D T f ubar u)
(σ : ℝ → ℝ) (hσ : ContDiff ℝ (⊤ : ℕ∞) σ)
(ustar : Pt (n + 1) → ℝ → ℝ) (hustar : IsPINN σ ustar) :
genErrorL2 D T u ustar ^ 2 ≤
(T + (1 + 2 * Cf) * T ^ 2 * Real.exp ((1 + 2 * Cf) * T)) *
((∫ x in D, heatResTb ubar ustar x ^ 2) +
(∫ t in Set.Ioo 0 T, ∫ x in D, heatResInt f ustar x t ^ 2) +
2 * heatCbdry D T u ustar * Real.sqrt T *
Real.sqrt (∫ q, ustar q.1 q.2 ^ 2 ∂bdryTimeMeasure D T)) := by sorry
end PINNGeneralizationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers and with . Write points of (with the Euclidean norm) as and time as . The hypotheses are the following.
-
Domain. is open, connected (in particular nonempty) and bounded. It has a boundary in the following sense. For every boundary point (topological frontier) there exist:
- a radius ,
- a linear isometric isomorphism of (linear, not affine), and
- a function ,
such that
When , is a bounded open interval and is a constant.
-
Time horizon. is a real number.
-
Nonlinearity. and satisfy for all real . This forces , and forces to be constant. No differentiability of is assumed.
-
Initial datum. is on all of .
-
Solution. is jointly on all of , not just on . It is a classical solution in the following sense:
- for all and ;
- for all (the open set);
- for all and in the open interval .
Here . Each partial derivative is the ordinary one-variable derivative along the -th coordinate direction.
-
Activation. is .
-
Network. is given by for some neural network . The network is defined as follows:
- There are affine maps with .
- The layer widths are arbitrary natural numbers, possibly for the hidden layers.
- The network is
with $\sigma$ applied componentwise after every affine map except the last.
Conventions.
- All integrals are Lebesgue integrals, with the convention that the integral of a non-integrable function is .
- "" denotes the real supremum of the image set, which by convention is if that set is empty or unbounded above.
Auxiliary quantities.
- Surface measure. is the surface measure , taken as a real number (it would be read as if infinite). Here
where is the -dimensional Hausdorff measure on and is the Lebesgue volume of the unit ball of . For this is the counting measure.
- Boundary norm. For , with all suprema over the closed set ,
where .
- Boundary constant.
Conclusion. The theorem asserts the inequality
where the three terms in brackets are:
- the initial residual
- the interior residual
- the boundary term
integrated against the product of restricted to with Lebesgue measure on .
The left-hand side is stated as the square of , which equals the double integral shown since that integral is nonnegative. The prefactor is the quantity itself, not its square root.
Scope. The residual terms are exact integrals, not quadrature sums. The network is arbitrary within the class above, with no training or optimality condition. No compatibility condition between and the boundary data is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.