Theorem 4.2: expansion of expectations of observables of neurons
OpenLesHouchesWidth.finite_width_expansionUnder the hypotheses of the recursion (Theorem 4.2), fix and a smooth all of whose derivatives are polynomially bounded. Then there is such that for every , all hidden widths with , every layer with ,
where denotes the average against i.i.d. variables and is the dressed two-point function.
To order , all single-input statistics of a layer are determined by its two-point function and .
Formalization Note The notes print in front of the correction term. This appears to be an index slip: with the formula is exact for and . "Reasonable" is taken to be smooth with polynomially bounded derivatives.
import Mathlib import Definitions.Def_LesHouchesWidth_GaussianMLP import Definitions.Def_LesHouchesWidth_FiniteWidth
namespace LesHouchesWidth
open MeasureTheory ProbabilityTheory
theorem finite_width_expansion (Cb CW : ℝ) (hCb : 0 ≤ Cb) (hCW : 0 < CW)
(σ : ℝ → ℝ) (hσ : Measurable σ) (hσ_poly : PolyBounded σ)
(L : ℕ) (hL : 1 ≤ L) (n0 nOut : ℕ) (hn0 : 1 ≤ n0) (hnOut : 1 ≤ nOut) (x : Fin n0 → ℝ)
(hK : ∀ ℓ ∈ Finset.Icc 1 (L + 1), 0 < nngpKernel Cb CW σ ℓ x x)
(A : ℝ) (hA : 1 ≤ A) (m : ℕ) (hm : 1 ≤ m) (f : (Fin m → ℝ) → ℝ)
(hf : ContDiff ℝ (⊤ : ℕ∞) f)
(hf_poly : ∀ k : ℕ, ∃ Cf : ℝ, ∃ p : ℕ, ∀ y, ‖iteratedFDeriv ℝ k f y‖ ≤ Cf * (1 + ‖y‖ ^ p)) :
∃ C : ℝ, ∀ (N : ℕ) (n : ℕ → ℕ) (h0 : n 0 = n0), 1 ≤ N → n (L + 1) = nOut →
(∀ ℓ ∈ Finset.Icc 1 L, N ≤ n ℓ ∧ (n ℓ : ℝ) ≤ A * N) →
∀ ℓ ∈ Finset.Icc 1 (L + 1), ∀ hmℓ : m ≤ n ℓ,
|∫ θ, f (fun j => mlpZ Cb CW σ θ (x ∘ Fin.cast h0) ℓ (Fin.castLE hmℓ j))
∂(stdGaussianParams n L)
- gaussAvgVec m
(dressedTwoPoint Cb CW σ n L (x ∘ Fin.cast h0) ℓ (Fin.castLE hmℓ ⟨0, hm⟩)) f
- kappa4 Cb CW σ n L (x ∘ Fin.cast h0) ℓ (Fin.castLE hmℓ ⟨0, hm⟩) / 8 *
gaussAvgVec m (nngpKernel Cb CW σ ℓ x x) (fun y =>
∑ j : Fin m, iteratedFDeriv ℝ 4 f y (fun _ => Pi.single j 1) +
∑ j₁ : Fin m, ∑ j₂ : Fin m, if j₁ = j₂ then 0 else
iteratedFDeriv ℝ 4 f y
![Pi.single j₁ 1, Pi.single j₁ 1, Pi.single j₂ 1, Pi.single j₂ 1])|
≤ C / (N : ℝ) ^ 2 := by sorry
end LesHouchesWidthRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent as drafter
Non-blind read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source and of the intended meaning. It is not independent testimony and should not be treated as a blind audit; an independent read-back is still recommended before launch.
Let and , and let be measurable and polynomially bounded ( for some ). The network is the one of Mission I: biases , weights , i.i.d. standard normal, , . Let and , and let with for . Let , , and let be infinitely differentiable such that for every there are and with (operator norm of the -th derivative). The theorem asserts that there is a real such that the following holds for every and width sequence with the given (the input is transported along this equality), and for , for every and every proof that . Writing for the first neurons of layer , and , we have
Here , and is the fourth iterated Fréchet derivative evaluated on basis vectors, which equals the corresponding fourth partial derivative.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.