Lemma D.2 (as proved, hypothesis (ii) with inside the sum): the parameters change little
ProvedPINNNeuralTangent.params_move_littleAssume the setting of Theorem 4.4, with hypothesis (ii) in the form the proof uses: and for all . Then
Formalization Note This is the statement as proved. With (ii) as printed, with the absolute value outside the sums, the lemma is false. Take , , , , , and start from , . By oddness the residual sums vanish identically. Every neuron follows the same -independent ODE, so does not depend on . The step of the proof that fails bounds by . The limit is written with explicit and .
import Mathlib import Definitions.Def_PINNNeuralTangent_Basic open MeasureTheory ProbabilityTheory Filter Topology open scoped ContDiff
namespace PINNNeuralTangent
theorem params_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 θ) :
∀ ε > 0, ∃ N₀ : ℕ, ∀ N ≥ N₀, ∀ t ∈ Set.Icc 0 T,
l2norm (fun k : Fin N => (θ N t (idxW0 k) - θ N 0 (idxW0 k)) / Real.sqrt N) ≤ ε ∧
l2norm (fun k : Fin N => (θ N t (idxW1 k) - θ N 0 (idxW1 k)) / Real.sqrt N) ≤ ε ∧
l2norm (fun k : Fin N => (θ N t (idxB0 k) - θ N 0 (idxB0 k)) / 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 function . It is assumed infinitely differentiable, and there is a constant such that for all and every . Here .
-
Natural numbers . Either may be .
-
Reals , boundary points , and collocation points . These satisfy:
- ;
- each equals or ;
- each lies in the open interval .
Repetitions among the points are allowed.
-
Arbitrary functions . No regularity is assumed.
-
A time horizon .
Parameters and network. For every width , including , a parameter vector consists of four groups:
- first-layer weights , for ;
- output weights , for ;
- hidden biases , for ;
- a single output bias .
So there are real numbers in total. The network is
When the sum is empty, so ; the factor is taken to be . Write for the second derivative of .
Loss. The loss is
Here means the ordinary derivative of in the single coordinate , with the others frozen. Any derivative that fails to exist is taken to be .
Trajectories. We are given, for each , a curve in the width- parameter space. The initial values are arbitrary. No random initialization is assumed, and no relation between different is imposed beyond the hypotheses below.
Hypotheses.
- Gradient flow. For every and every , is differentiable at relative to , with one-sided derivatives at the endpoints, and
- Uniform parameter bound. There is such that for all , all and all parameters , including .
- Uniform residual bound. There is such that for all :
The absolute values sit inside the sums. A non-integrable integrand would by convention give integral .
Conclusion. For every there is such that for every and every , the following three inequalities hold simultaneously:
Here denotes the -component of , and similarly for the others. Each left side is the Euclidean norm of the displacement vector, with every entry divided by . When these are norms of empty vectors and equal .
The conclusion says nothing about the output bias . It also does not refer to the network outputs or to the kernel.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.