Section SD · Volatility: same-time and temporal
Proved in Lean
Lemma SD.8 (Moment closure)
Fix \((\ell,J,R)\) and \(a,b\ge0\). There is \(C_{\mathsf W}\), depending only on \((a,b,\ell,J,R,C_\Sigma,\gamma_\star)\), such that for all diagonal \(F,G\) with \(\norm F,\norm G\le1\),
\begin{equation}\tag{SD.47}
\Big|\frac1B\EE\Tr\mathsf W_{a,b}-\mathfrak R^{J,R}_\ell[F,G](x^{2a+1},x^{2b+1})\Big|\le\frac{C_{\mathsf W}}{B}.
\end{equation}
The response is unchanged under the replications of Definition SD.3.
Proof.
Expansion. In the eigenbases the coordinates \(z_{\alpha a}(i)\defeq u_i^\T z_{\alpha a}\) and \(w_{\alpha a}(j)\defeq v_j^\T w_{\alpha a}\) are independent standard Gaussian variables indexed by \((\alpha,a,i)\) and \((\alpha,a,j)\), and with \(\tilde g_{\alpha a}\defeq g_{\alpha a}\mathbf 1_{\abs{g_{\alpha a}}\le R}\),
\[
(\mathsf K_l)_{ij}=\frac1B\sum_{\alpha,a}\varpi_{l,\alpha}\,\tilde g_{\alpha a}\,\sqrt{\mu_i}\,z_{\alpha a}(i)\,w_{\alpha a}(j)\sqrt{\lambda_j}.
\]
Expanding the trace, \(B^{-1}\EE\Tr\mathsf W_{a,b}\) is \(B^{-(k+1)}\) times a sum over assignments of an external index (\(i\) or \(j\)) to each \(\mathsf e_r\) and of a latent index \((\alpha_r,a_r)\) to each \(\mathsf l_r\). The assignment carries the deterministic weight \(\prod_r\varpi_{l_r,\alpha_r}\prod_{\mathsf e_r\text{ output}}\mu_{i_r}F_{i_r}^{[r=k]}\prod_{\mathsf e_r\text{ input}}\lambda_{j_r}G_{j_r}^{[r=2a+1]}\), since each external vertex receives one square root from each adjacent factor, and the product of three expectations: of the \(k\) weights \(\tilde g_{\alpha_ra_r}\), of the \(k\) coordinates of \(z\) on the \(z\)-edges, and of the \(k\) coordinates of \(w\) on the \(w\)-edges.
Pairings. By the Isserlis formula [89], the expectation of a product of standard Gaussian coordinates is the sum over perfect matchings of the product of the covariances, and the covariance of two coordinates is one if their labels coincide and zero otherwise. Hence the \(z\)-expectation is the sum over matchings \(\pi\) of the indicator that each matched pair of \(z\)-edges has equal latent and external indices, and likewise for \(w\). Therefore
\[
\frac1B\EE\Tr\mathsf W_{a,b}=\sum_{(\pi,\pi')}S(\pi,\pi'),
\]
where \(S(\pi,\pi')\) is \(B^{-(k+1)}\) times the sum of the weights over the assignments that are constant on the vertex classes of the quotient of \((\pi,\pi')\), distinct classes being allowed to receive equal indices.
Counting. Let the quotient have \(v_{\mathrm e}\) external and \(v_{\mathrm l}\) latent classes, \(v=v_{\mathrm e}+v_{\mathrm l}\). Each external class ranges over at most \(\gamma_\star B\) indices with weight at most \(C_\Sigma^k\), each latent class over \(\abs{\mathcal A}B\) indices with \(\abs{\prod\varpi}\le1\), and the \(\tilde g\)-expectation is at most \(R^k\) in absolute value. Hence
\[
\abs{S(\pi,\pi')}\le B^{-(k+1)}(\gamma_\star BC_\Sigma^k)^{v_{\mathrm e}}(\abs{\mathcal A}B)^{v_{\mathrm l}}R^k\le C_{\mathsf W}\,B^{\,v-k-1}.
\]
A connected multigraph with \(k\) edges has at most \(k+1\) vertices: adding its edges one at a time, in an order in which each new edge meets the vertices already reached, each edge adds at most one vertex; and it has exactly \(k+1\) vertices if and only if it is a tree. So the pairings that are not retained contribute at most \(C_{\mathsf W}/B\) each.
Trees. Let \((\pi,\pi')\) be retained, so \(v=k+1\). Split its assignments into those that give distinct latent classes distinct pairs \((\alpha,a)\) and the others. The others have two latent classes with the same sample index, which removes one free factor \(B\) from the count, so they contribute at most \(C_{\mathsf W}/B\). On the first kind, the weights \(\tilde g\) of distinct classes are independent, and the \(\abs{S_V}\) factors of one class carry the same variable, so
\[
\EE\prod_r\tilde g_{\alpha_ra_r}=\prod_{V\text{ latent}}m_{\abs{S_V}}(R).
\]
Adding back the assignments of the second kind with this factorized weight costs \(C_{\mathsf W}/B\) again. The resulting sum factorizes over the classes: each external class gives \(\sum_i\mu_i^{p_V}F_i^{m_V}\) or \(\sum_j\lambda_j^{p_V}G_j^{n_V}\), and each latent class gives \(B\,m_{\abs{S_V}}(R)\sum_\alpha\prod_{r\in S_V}\varpi_{l_r,\alpha}\), the factor \(B\) from its sample index. With \(k+1\) classes the powers of \(B\) cancel against \(B^{-(k+1)}\), and the result is the value of Definition SD.4. There are \(((k-1)!!)^2\) pairings, which proves (SD.47).
Replication. Every factor of the value is either a normalized trace \(B^{-1}\sum_i\mu_i^pF_i^m\), which is unchanged when the eigenvalues and the entries of \(F\) are repeated \(N\) times and \(B\) is replaced by \(NB\), or does not depend on the dimension.
Uses
- Definition SD.4 Tree moment equations
- Definition SD.3 Spectral replication
Used by
- Lemma SD.10 Extension to continuous filters
Lean
Proved in Lean
Muon.Volatility.def_app_vol_tree_replication source
theorem def_app_vol_tree_replication (β : ℝ) (ℓ J : ℕ) (R : ℝ) (B : ℕ) (μ : Fin m → ℝ)
(lam : Fin n → ℝ) (Fd : Fin m → ℝ) (Gd : Fin n → ℝ) (N : ℕ) (hN : 1 ≤ N)
(f₁ f₂ : Polynomial ℝ) :
def_app_vol_tree β ℓ J R (N * B) (fun x => μ ((replIdx m N).symm x).1)
(fun y => lam ((replIdx n N).symm y).1) (fun x => Fd ((replIdx m N).symm x).1)
(fun y => Gd ((replIdx n N).symm y).1) f₁ f₂ =
def_app_vol_tree β ℓ J R B μ lam Fd Gd f₁ f₂ := byMuon.Volatility.lem_app_vol_tree_closure source
theorem lem_app_vol_tree_closure (a b ℓ J : ℕ) (R γstar CSig : ℝ) (hR : 0 < R) :
∃ CW : ℝ, ∀ (m n B : ℕ) (Fp : FrozenParams m n B) (S : SpectralData Fp.C) (t : ℤ)
(Fd : Fin m → ℝ) (Gd : Fin n → ℝ) (Fm : Mat m m) (Gm : Mat n n),
SizeFin Fp.C B γstar CSig →
Fm = S.uOut * Matrix.diagonal Fd * S.uOutᵀ →
Gm = S.vIn * Matrix.diagonal Gd * S.vInᵀ →
opNorm Fm ≤ 1 → opNorm Gm ≤ 1 →
Integrable (fun ω : (ℤ × Fin B) → ℝ × (Vec m × Vec n) =>
(B : ℝ)⁻¹ * Matrix.trace
(treeWord Fm Gm (cutoffMat Fp ℓ J R t 1 ω) (cutoffMat Fp ℓ J R t 2 ω) a b))
(indepSpaceLaw m n B) ∧
|(∫ ω, (B : ℝ)⁻¹ * Matrix.trace
(treeWord Fm Gm (cutoffMat Fp ℓ J R t 1 ω) (cutoffMat Fp ℓ J R t 2 ω) a b)
∂(indepSpaceLaw m n B))
- def_app_vol_tree Fp.β ℓ J R B S.μ S.lam Fd Gd
(Polynomial.X ^ (2 * a + 1)) (Polynomial.X ^ (2 * b + 1))|
≤ CW / (B : ℝ) := by