Lemma D.3 (as proved): the hidden activations and their derivatives change little
ProvedPINNNeuralTangent.activations_move_littleAssume the setting of Theorem 4.4, with hypothesis (ii) in the form the proof uses (absolute value inside the sums). Then for every and ,
with applied coordinatewise.
Formalization Note This is the statement as proved. The printed eq. (D.3) has in the second term. The first line of the proof and the later use in Lemma D.4 have , and that version is stated. 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 activations_move_little (σ : ℝ → ℝ) (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, ∀ k ≤ 3, ∀ ε > 0, ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ t ∈ Set.Icc 0 T,
l2norm (fun j : Fin N =>
(iteratedDeriv k σ (θ N t (idxW0 j) * x + θ N t (idxB0 j)) -
iteratedDeriv k σ (θ N 0 (idxW0 j) * x + θ N 0 (idxB0 j))) / Real.sqrt N) ≤ ε := 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 that is infinitely differentiable, with a constant such that
Here .
- Natural numbers . Either may be , so there may be no boundary points or no collocation points.
- Reals , boundary points each equal to or to , and collocation points each in the open interval . Repetitions are allowed.
- Arbitrary functions , with no regularity assumed. Only their values at the data points enter.
- A time horizon .
The network. For each width (including ), a parameter vector consists of
- first-layer weights ,
- output weights ,
- hidden biases ,
- one output bias .
The network is
with the convention , so for the network is . Write for its second derivative in the scalar input .
The loss and the trajectories. The loss is
For each we are given a deterministic trajectory . Trajectories for different are otherwise unrelated, and there is no random initialization: is arbitrary.
Hypotheses on the trajectories.
- Gradient flow. For every and every , is differentiable at relative to (one-sided at and ), with
Each is the ordinary derivative of in the single coordinate , with all other coordinates fixed. By convention it is wherever that one-variable derivative fails to exist.
- (i) Uniformly bounded parameters. There is , independent of , with
for all , all and every coordinate .
- (ii) Integrated residual bound. There is , independent of , such that for every
The absolute value is inside the sum. By convention a non-integrable integrand gives the integral the value .
Conclusion. Let and denote the corresponding coordinates of . For every , every and every , there is such that for all and all :
The left side is the root-mean-square, over the hidden units, of the change in of each unit's pre-activation between time and time . For it is the norm of the empty vector, namely . The threshold may depend on , and , but it is uniform in .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.