Lemma 2.1: bounded-weight networks converging in converge in
ProvedPINNConvergence.nn_C0_convergence_implies_CkLet be a bounded domain and let be the class of scalar networks with a fixed architecture and activation , where . Suppose that for each the derivative is bounded and Lipschitz continuous. Let , and let be networks whose weights and biases are uniformly bounded in , with in . Then
that is, for every multi-index with .
For networks of fixed size with bounded parameters, uniform convergence therefore upgrades to convergence of all derivatives that the activation controls.
Formalization Note Derivatives of order are compared through the -th Fréchet derivative within with its operator norm. This gives the same convergence as the sup over multi-indices.
import Mathlib import Definitions.Def_PINNConvergence_Basic open MeasureTheory Filter Topology
namespace PINNConvergence
theorem nn_C0_convergence_implies_Ck {d : ℕ} (U : Set (Rd d)) (hU : IsBoundedDomain U)
(σ : ℝ → ℝ) (k k' : ℕ) (hkk' : k < k') (hσ : ContDiff ℝ k' σ)
(hσb : ∀ s ≤ k, (∃ M : ℝ, ∀ t, |iteratedDeriv s σ t| ≤ M) ∧
∃ K : NNReal, LipschitzWith K (iteratedDeriv s σ))
(L : ℕ) (n : ℕ → ℕ) (hn : IsArch L n) (u : Rd d → ℝ) (hu : IsCkClosure k U u)
(W : ℕ → ∀ l, Matrix (Fin (n l)) (Fin (inWidth d n l)) ℝ) (b : ℕ → ∀ l, Fin (n l) → ℝ)
(hbdd : ∃ M : ℝ, ∀ j, ParamsBounded L (W j) (b j) M)
(hconv : TendstoUniformlyOn (fun j => nnEval σ d L n (W j) (b j)) u atTop (closure U)) :
TendstoCk k U (fun j => nnEval σ d L n (W j) (b j)) u := by sorry
end PINNConvergenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a natural number . Write for -dimensional Euclidean space with the Euclidean norm. Let be a bounded domain, meaning is:
- bounded,
- open, and
- connected, which in particular requires to be nonempty.
When , the space is a single point, so is that point.
Activation. Let and let be natural numbers.
-
is times continuously differentiable on all of . Since , is at least .
-
For every order with , the ordinary -th derivative satisfies both of the following:
- it is bounded on : there is with for all ;
- it is globally Lipschitz on with some constant .
For this says itself is bounded and Lipschitz.
Architecture. Let and widths satisfy:
- ;
- for all ;
- .
Networks. For each index there are weight matrices of size and bias vectors , one for every layer . Here and . The layer outputs are defined recursively:
where is applied entrywise. The -th network is the sum of the entries of the last layer's output:
which is a single entry because . In total there are affine maps, with applied between consecutive ones and no activation after the last.
Uniform parameter bound. There is a single real number , independent of , such that for every , every layer , and every entry:
Since , the biases are nonempty, so in effect . Parameters of layers are unconstrained and do not affect .
Target function. Let satisfy:
- is times continuously differentiable on ;
- for each order , there is a function from into the space of continuous -linear maps such that:
- is continuous on the closure , and
- agrees with the -th derivative (taken within ) at every point of .
That is, each derivative of order at most extends continuously to . Values of outside play no role.
Convergence hypothesis. The networks converge to uniformly on the closure:
Conclusion. For every order with , the -th derivatives (taken within ) converge uniformly on :
Here is the operator norm on -linear maps . Because is open, these derivatives within coincide at points of with the ordinary -th Fréchet derivatives.
Degenerate cases.
- For , the conclusion is only uniform convergence on , which is contained in the hypothesis on .
- For , every derivative of order is the zero map on the zero space, so the conclusion again reduces to convergence at the single point.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.