Section 5.4: the input–output Jacobian as a sum over paths (a.s.)
ProvedLesHouchesWidth.jacobianEntry_eq_sum_over_paths_aeUnder the standing assumptions of Section 5.3 ( has a density, is symmetric, and has variance ; ; all widths ), for every fixed input and all , , almost surely
This identifies the Jacobian with a path sum that no longer involves the input except through the activation pattern.
Formalization Note The derivative is Mathlib's Fréchet derivative, which is where the network is not differentiable. The statement asserts the identity outside a null set of weights.
import Mathlib import Definitions.Def_LesHouchesWidth_ReLUNet
namespace LesHouchesWidth
open MeasureTheory ProbabilityTheory
theorem jacobianEntry_eq_sum_over_paths_ae (μ : Measure ℝ) [IsProbabilityMeasure μ]
(hμ_ac : μ ≪ volume) (hμ_symm : μ.map (fun t : ℝ => -t) = μ)
(hμ_var : ∫ t, t ^ 2 ∂μ = 1)
(L : ℕ) (hL : 1 ≤ L) (n : ℕ → ℕ) (hn : ∀ ℓ ≤ L + 1, 1 ≤ n ℓ)
(x : Fin (n 0) → ℝ) (hx : x ≠ 0) (p : Fin (n 0)) (q : Fin (n (L + 1))) :
∀ᵐ ω ∂(weightLaw n L μ), jacobianEntry ω x p q =
∑ γ ∈ pathsFromTo n L p q, pathWeight ω γ * pathActivation ω x γ := 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.
The measure is a probability measure on , absolutely continuous with respect to Lebesgue measure. It is invariant under (its pushforward under negation equals ), and . Since the integral of a non-integrable function is by convention, the last condition also forces to be -integrable. The depth satisfies , and the widths satisfy for all . The input is nonzero, and , . The theorem asserts that for -almost every weight configuration , the value jacobianEntry ω x p q equals . That value is the derivative at of in direction , or if the map is not differentiable at . The exceptional set may depend on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.