Eq. (16): the ReLU Gaussian pair average (arc-cosine kernel)
ProvedLesHouchesWidth.gaussPairAvg_reluLet with , and . For ,
This makes the NNGP kernel recursion explicit for ReLU networks.
import Mathlib import Definitions.Def_LesHouchesWidth_GaussianMLP
namespace LesHouchesWidth
open MeasureTheory ProbabilityTheory
theorem gaussPairAvg_relu (s11 s12 s22 : ℝ) (h11 : 0 < s11) (h22 : 0 < s22)
(h12 : s12 ^ 2 ≤ s11 * s22) :
gaussPairAvg (fun t => max t 0) s11 s12 s22 =
1 / (2 * Real.pi) * Real.sqrt (s11 * s22) *
(Real.sin (Real.arccos (s12 / Real.sqrt (s11 * s22))) +
(Real.pi - Real.arccos (s12 / Real.sqrt (s11 * s22))) *
Real.cos (Real.arccos (s12 / Real.sqrt (s11 * s22)))) := 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 with , and (so the matrix \begin{psmallmatrix}s_{11}&s_{12}\\s_{12}&s_{22}\end{psmallmatrix} is positive semidefinite and ). The theorem asserts
\int\max(u_0,0)\max(u_1,0)\,d\mathcal N\Big(0,\begin{psmallmatrix}s_{11}&s_{12}\\s_{12}&s_{22}\end{psmallmatrix}\Big)(u)=\frac{1}{2\pi}\sqrt{s_{11}s_{22}}\Big(\sin\theta+(\pi-\theta)\cos\theta\Big),\qquad\theta=\arccos\frac{s_{12}}{\sqrt{s_{11}s_{22}}}.The ratio lies in , so Mathlib's Real.arccos (which clamps outside ) returns the usual value in .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.