Lemma D.4 (as proved): the parameter gradients of and barely change
ProvedPINNNeuralTangent.output_gradients_stableAssume the setting of Theorem 4.4, with hypothesis (ii) in the form the proof uses (absolute value inside the sums). Then for every ,
where is the gradient over all parameters.
Formalization Note The printed eqs. (D.4)-(D.5) omit "". The value is what the proof concludes. Hypothesis (ii) is used in the corrected form, as in Lemma D.2.
import Mathlib import Definitions.Def_PINNNeuralTangent_Basic open MeasureTheory ProbabilityTheory Filter Topology open scoped ContDiff
namespace PINNNeuralTangent
theorem output_gradients_stable (σ : ℝ → ℝ) (hσ : ActivationBounded4 σ)
{Nb Nr : ℕ} (a b : ℝ) (xb : Fin Nb → ℝ) (xr : Fin Nr → ℝ) (hdata : IsModelData a b xb xr)
(g f : ℝ → ℝ) (T : ℝ) (hT : 0 < T) (θ : (N : ℕ) → ℝ → PIdx N → ℝ)
(hflow : ∀ N, IsGradFlow (modelLoss σ xb xr g f) (θ N) T)
(h1 : ParamsUnifBounded T θ)
(h2 : ResidualAbsSumBound σ xb xr g f T θ) :
∀ x ∈ Set.Icc a b, ∀ ε > 0, ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ t ∈ Set.Icc 0 T,
l2norm (fun p => pd (fun θ' => netU σ θ' x) (θ N t) p -
pd (fun θ' => netU σ θ' x) (θ N 0) p) ≤ ε ∧
l2norm (fun p => pd (fun θ' => netUxx σ θ' x) (θ N t) p -
pd (fun θ' => netUxx σ θ' x) (θ N 0) p) ≤ ε := by sorry
end PINNNeuralTangentRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix the following data:
- An activation function . It is assumed to be infinitely differentiable, and there is a constant with
- Natural numbers . Either may be .
- Reals .
- Boundary points , each equal to or to .
- Collocation points , each in the open interval .
- Two arbitrary functions , with no regularity assumed.
- A time horizon .
The network. For each width , a parameter vector consists of the coordinates for , together with a single . The network is
For this is just . The symbol denotes the second derivative of .
Parameter gradients. For a function of , the "gradient" is the vector of coordinate-wise partial derivatives. Each component is the ordinary one-variable derivative of in the coordinate , with the other coordinates held fixed. By convention this derivative is taken to be wherever that one-variable function is not differentiable.
The loss. The loss is
The trajectories. Fix a family of maps , one for each . Only their values on are constrained. The hypotheses are:
- Gradient flow. For every and every , has a derivative at relative to (one-sided at the endpoints), and
The initial value is otherwise arbitrary. It is deterministic; nothing about Gaussian or random initialization is assumed.
- Uniform parameter bound. There is , independent of , with
- Residual bound. There is such that for every ,
Here the absolute values are inside the sums. These integrals are interpreted with the convention that a non-integrable integrand gives the value , in which case the bound holds automatically.
Conclusion. For every and every there is such that for all and all :
Here is the Euclidean norm on .
The threshold may depend on and . No uniformity in is asserted. It is uniform in .
Degenerate case. If , the loss is identically . Each is then constant on , and the conclusion holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.