Eq. (4.18) (as proved): stability estimate for the viscous scalar conservation law
ProvedPINNGeneralization.vscl_energy_estimateLet , , , , and let be a classical solution of
Let be a neural network of with a activation, with residuals . Let . Then
where
with , , and , all sup norms over .
This is the stability step of Theorem 4.1, obtained from the relative-entropy identity (4.13) and Grönwall's inequality.
Formalization Note The paper writes . Its proof, through the Taylor remainder (4.14), needs at intermediate points, so the maximum of over is used. The paper leaves as an unspecified function of and . The value used is the one its boundary computation produces. The hypothesis is read as , as the boundary values and the constants require. It is written as the restriction of a function on .
import Mathlib import Definitions.Def_PINNGeneralization_Basic open MeasureTheory
namespace PINNGeneralization
theorem vscl_energy_estimate {k : ℕ} (hk : 2 ≤ k) (T ν : ℝ) (hT : 0 < T) (hν : 0 < ν)
(f : ℝ → ℝ) (hf : ContDiff ℝ k f) (ubar : ℝ → ℝ) (hubar : ContDiff ℝ k ubar)
(u : ℝ → ℝ → ℝ) (hu : ContDiff ℝ k (fun q : ℝ × ℝ => u q.1 q.2))
(hsol : IsVSCLSolution T ν f ubar u)
(σ : ℝ → ℝ) (hσ : ContDiff ℝ (⊤ : ℕ∞) σ) (ustar : ℝ → ℝ → ℝ) (hustar : IsPINN1D σ ustar) :
genErrorL2 (Set.Ioo 0 1) T u ustar ^ 2 ≤
(T + (1 + 2 * vsclCf T f u ustar) * T ^ 2 * Real.exp ((1 + 2 * vsclCf T f u ustar) * T)) *
((∫ x in Set.Ioo 0 1, vsclResTb ubar ustar x ^ 2) +
(∫ t in Set.Ioo 0 T, ∫ x in Set.Ioo 0 1, vsclResInt ν f ustar x t ^ 2) +
2 * vsclCbarb T f ustar *
((∫ t in Set.Ioo 0 T, ustar 0 t ^ 2) + (∫ t in Set.Ioo 0 T, ustar 1 t ^ 2)) +
2 * ν * vsclCb T u ustar * Real.sqrt T *
(Real.sqrt (∫ t in Set.Ioo 0 T, ustar 0 t ^ 2) +
Real.sqrt (∫ t in Set.Ioo 0 T, ustar 1 t ^ 2))) := by sorry
end PINNGeneralizationRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a natural number with , and real numbers (final time) and (viscosity). Let the following be given:
- a flux that is times continuously differentiable on all of ;
- an initial datum that is on all of ;
- a function , , that is jointly on the whole plane (not just on the rectangle).
Assume is a classical solution of the viscous scalar conservation law in the following pointwise sense.
- PDE. For every and ,
- Initial condition. for every in the open interval .
- Boundary condition. and for every in the closed interval .
All derivatives here are ordinary one-variable derivatives. Each is taken with the other variable held fixed.
Next, fix an activation that is infinitely differentiable. Let be the realization of a feed-forward neural network, meaning for some map of the form
In this network:
- there are affine maps with arbitrary real weight matrices and bias vectors;
- the layer widths are arbitrary, with input width and output width ; intermediate widths may even be ;
- is applied componentwise after every affine map except the last.
Nothing else is assumed about . In particular, it need not satisfy any initial or boundary condition.
All suprema below are taken over the closed rectangle unless stated otherwise. Since every function involved is continuous there, they are finite maxima. Define:
- ;
- ;
- ;
- , where .
Also define two residuals of .
- The interior residual:
- The temporal-boundary residual:
The theorem asserts the following inequality:
where
Some details of how this is stated:
- Left-hand side. Formally it is the square of of the double integral. Because the integrand is nonnegative, this equals the double integral itself.
- Integrals. All integrals are Lebesgue integrals over the open intervals and . By convention, any integral of a non-integrable function is assigned the value .
- Prefactor. The constant multiplying the bracket is itself, with no square root.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.