Lemma D.1: parameter gradients of and are
ProvedPINNNeuralTangent.param_gradients_smallUnder the setting of Theorem 4.4, as printed, the partial derivatives of and with respect to the parameters are uniformly in time. The setting is: the model problem on , , and gradient-flow trajectories for every width satisfying (i), (ii) as printed, and (iii). There are and such that for all , , and ,
Formalization Note is over the neuron index . The bound is uniform over , as the proof gives it. Hypothesis (ii) is the printed one. The lemma does not use it, nor the gradient flow.
import Mathlib import Definitions.Def_PINNNeuralTangent_Basic open MeasureTheory ProbabilityTheory Filter Topology open scoped ContDiff
namespace PINNNeuralTangent
theorem param_gradients_small (σ : ℝ → ℝ) (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 : ResidualSumBound σ xb xr g f T θ) :
∃ (C : ℝ) (N₀ : ℕ), ∀ N ≥ N₀, ∀ t ∈ Set.Icc 0 T, ∀ x ∈ Set.Icc a b, ∀ k : Fin N,
|pd (fun θ' => netU σ θ' x) (θ N t) (idxW0 k)| ≤ C / Real.sqrt N ∧
|pd (fun θ' => netU σ θ' x) (θ N t) (idxW1 k)| ≤ C / Real.sqrt N ∧
|pd (fun θ' => netU σ θ' x) (θ N t) (idxB0 k)| ≤ C / Real.sqrt N ∧
|pd (fun θ' => netUxx σ θ' x) (θ N t) (idxW0 k)| ≤ C / Real.sqrt N ∧
|pd (fun θ' => netUxx σ θ' x) (θ N t) (idxW1 k)| ≤ C / Real.sqrt N ∧
|pd (fun θ' => netUxx σ θ' x) (θ N t) (idxB0 k)| ≤ C / 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:
- A function (the activation). It is assumed to be infinitely differentiable, and there is a constant with
- Natural numbers , either of which may be .
- Reals , boundary points and collocation points . These satisfy , every , and every (open interval).
- Two completely arbitrary functions . No regularity is assumed.
- A real .
- For every width , a curve of parameter vectors. Each has real coordinates:
The network. For a parameter vector and input , the network is
with the convention . Its second -derivative is .
Partial derivatives in a parameter. For a function of the parameters and a single coordinate , denotes the ordinary one-variable derivative of at . By convention this derivative is wherever it does not exist.
The loss. It is
Hypotheses on the trajectories.
-
Gradient flow. For every and every , the curve has a derivative at (one-sided at the endpoints, taken within ) equal to . Nothing is assumed about the initial value . In particular there is no random initialization; the trajectories are arbitrary deterministic curves satisfying this ODE.
-
Uniformly bounded parameters. There is such that for all , all and all coordinates .
-
Bounded residual sums. There is such that for every :
- The absolute value is outside the sum, so residuals of opposite sign may cancel.
- By convention a non-integrable integrand gives integral , so the bound then holds automatically.
Conclusion. There exist a real and a natural number such that the following six bounds hold for every , every , every (closed interval) and every , with all derivatives evaluated at :
Scope and edge cases.
- is not required to be positive.
- and may depend on all of the data: , , , the points, , , , and the entire family .
- The output bias is not covered by the conclusion.
- For there are no indices , so that case is vacuous.
- The statement does not assert that any family satisfying all the hypotheses exists.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.