OctoInform Beta

OpenAI preprint, September 2026 · §6. Perturbations and identities on prescribed trees

Lemma 6.3: Bounding the external insertion score covariance for a fixed type by a uniform observable bound and the selected score error

Palm bound for heterogeneous mark perturbations on trees.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In the cavity analysis of diluted spin glasses with heterogeneous interaction types, one perturbs the Gibbs measure by inserting a Poisson family of random marks indexed by both a discrete type and an auxiliary specification. To extract perturbation identities on a prescribed finite tree, one compares the expectation of a bounded tree observable weighted by the score of a single freshly inserted mark against the product of the unperturbed tree expectation and the single-anchor insertion expectation.

Lemma 6.3 bounds the resulting external insertion score covariance for a fixed type jj in terms of the uniform bound on the observable, the average concentration error of the selected perturbation score inside the full reservoir, the type weight ν({j})\nu(\{j\}), and the Poisson intensity ss. The reservoir retains the full compound Poisson family across all types, while the external insertion probes the fiber over type jj.

Kernel towers and prescribed trees

A finite probability law PP on a finite state space Ω\Omega is a nonnegative weight function P:Ω→[0,∞)P : \Omega \to [0, \infty) satisfying ∑x∈ΩP(x)=1\sum_{x \in \Omega} P(x) = 1.✦ The expectation under finite law PP of a real-valued function g:Ω→ℝg : \Omega \to \mathbb{R} is 𝔼P[g]=∑x∈ΩP(x)g(x).\mathbb{E}_P[g] = \sum_{x \in \Omega} P(x) g(x).(1)✦ For n∈ℕn \in \mathbb{N}, the finite path space Ωn\Omega^n of length nn over Ω\Omega is the singleton space when n=0n = 0 and the Cartesian product Ω×Ωn−1\Omega \times \Omega^{n-1} recursively for positive nn.✦

A tower of finite kernels TT of depth n∈ℕn \in \mathbb{N} on a finite state space Ω\Omega is trivial for n=0n = 0, and for depth n+1n + 1 consists of a root finite probability law on Ω\Omega together with a depth-nn continuation tower on Ω\Omega for each outcome x∈Ωx \in \Omega.✦ Its kernel tower path law PTP_T is the finite probability law on Ωn\Omega^n defined recursively as the unit law at n=0n = 0 and, at depth n+1n + 1, by sampling the first coordinate xx from the root law of TT and then sampling the tail path from the continuation tower at xx.✦

Given depth-nn kernel towers TT on Ω\Omega and UU on a finite space Λ\Lambda, their product kernel tower T⊗UT \otimes U on Ω×Λ\Omega \times \Lambda is trivial at n=0n = 0 and, at depth n+1n + 1, pairs the product of the root laws of TT and UU with the continuation product tower at each outcome (x,λ)(x, \lambda).✦ For a path y∈(Ω×Λ)ny \in (\Omega \times \Lambda)^n, the first path projection pr1(y)∈Ωn\mathrm{pr}_1(y) \in \Omega^n and the second path projection pr2(y)∈Λn\mathrm{pr}_2(y) \in \Lambda^n extract its coordinatewise paths in Ω\Omega and Λ\Lambda.

For a depth-nn kernel tower TT on Ω\Omega, real exponents m‾=(m1,…,mn)\bar{m} = (m_1, \dots, m_n), and a real-valued potential ϕ:Ωn→ℝ\phi : \Omega^n \to \mathbb{R}, the tilted kernel tower 𝒯m‾(T,ϕ)\mathcal{T}_{\bar{m}}(T, \phi) is trivial at n=0n = 0 and, at depth n+1n + 1, exponentially tilts the root law of TT by m1m_1 times the backward logarithmic potential of the continuation subtower at each first-step state xx, while recursively tilting each continuation subtower with (m2,…,mn+1)(m_2, \dots, m_{n+1}) and the restricted potential y↦ϕ(x,y)y \mapsto \phi(x, y).✦

A prescribed finite tree SS of height n∈ℕn \in \mathbb{N} is a single leaf when n=0n = 0, and at height n+1n + 1 is an internal node with a positive integer number k≥1k \ge 1 of ordered child subtrees C1,…,CkC_1, \dots, C_k of height nn.✦ The set Leaf(S)\mathrm{Leaf}(S) of tree leaf vertices is a singleton at a leaf and consists of pairs (c,b)(c, b) of a child index c∈{1,…,k}c \in \{1, \dots, k\} and a leaf b∈Leaf(Cc)b \in \mathrm{Leaf}(C_c) at an internal node.✦ A prescribed tree sample ww in Ω\Omega indexed by SS is the unique point of the singleton at a leaf and, at an internal node with children C1,…,CkC_1, \dots, C_k, assigns to each child index cc a pair consisting of a state in Ω\Omega and a sample for CcC_c.✦ For each leaf b∈Leaf(S)b \in \mathrm{Leaf}(S), the path to a leaf wb∈Ωnw_b \in \Omega^n collects the states along the branch of ww from the root to bb.✦ The prescribed tree sample law ΛS(T)\Lambda_S(T) on samples of SS from a depth-nn kernel tower TT is the unit law at a leaf and, at an internal node, the product law over child indices cc obtained by sampling a root state xx from TT and drawing a sample of CcC_c from the continuation tower at xx.✦

Compound Poisson disorder and mark towers

For a measurable space 𝒵\mathcal{Z} and n∈ℕn \in \mathbb{N}, the finite root block sequence space 𝒵n\mathcal{Z}^n is the singleton at n=0n = 0 and 𝒵×𝒵n−1\mathcal{Z} \times \mathcal{Z}^{n-1} for n≥1n \ge 1, identifying each length-nn sequence in II with an nn-tuple 𝒊=(i1,…,in)\mathbf{i} = (i_1, \dots, i_n).✦ Given measures ξ1,…,ξn\xi_1, \dots, \xi_n on 𝒵\mathcal{Z}, their product root measure on 𝒵n\mathcal{Z}^n is the Dirac mass on the singleton when n=0n = 0 and the product ξ1⊗⋯⊗ξn\xi_1 \otimes \cdots \otimes \xi_n for n≥1n \ge 1.✦

For an index measure α\alpha on ℕ\mathbb{N} and a family of measures ρk\rho_k on measurable spaces 𝒵k\mathcal{Z}_k, the indexed family Markov kernel sends each kk to the pushforward of ρk\rho_k into the disjoint union ⨆k≥0𝒵k\bigsqcup_{k \ge 0} \mathcal{Z}_k✦, and the indexed family mixture law is the composition of this kernel with α\alpha.✦ Given a measure μ\mu on a measurable space XX and a rate r≥0r \ge 0, the compound Poisson root law CP(μ,r)\mathrm{CP}(\mu, r) on ⨆k≥0Xk\bigsqcup_{k \ge 0} X^k is the mixture law with Poisson(rr) weights on kk and the kk-fold product root measure μ⊗k\mu^{\otimes k} on XkX^k.✦

Let YY, XX, and II be measurable spaces, M∈ℕM \in \mathbb{N}, ξ=(ξ1,…,ξM)\xi = (\xi_1, \dots, \xi_M) be measures on YY, μ\mu be a measure on XX, νI\nu_I be a measure on II, and r,s≥0r, s \ge 0. A full disorder root state is a triple z=(h,(k,x),(n,𝒊))∈YM×(⨆k≥0Xk)×(⨆n≥0In),z = \bigl(h, (k, x), (n, \mathbf{i})\bigr) \in Y^M \times \biggl(\bigsqcup_{k \ge 0} X^k\biggr) \times \biggl(\bigsqcup_{n \ge 0} I^n\biggr),(2)✦ and the full disorder root law ℙroot\mathbb{P}_{\mathrm{root}} on this space is the product of the product root measure of ξ\xi, CP(μ,r)\mathrm{CP}(\mu, r), and CP(νI,s)\mathrm{CP}(\nu_I, s).✦

Fix a depth L∈ℕL \in \mathbb{N} and a finite state space Ω\Omega. For each mark index i∈Ii \in I, let AiA_i be a finite mark space equipped with finite probability laws Qi=(Qi,1,…,Qi,L)Q_i = (Q_{i,1}, \dots, Q_{i,L}) on AiA_i. The independent mark prior MiM_i of depth LL on AiA_i is the kernel tower that draws independently from Qi,ℓQ_{i,\ell} at each level ℓ∈{1,…,L}\ell \in \{1, \dots, L\}.✦ For an nn-tuple 𝒊=(i1,…,in)∈In\mathbf{i} = (i_1, \dots, i_n) \in I^n, the realized mark row is the product ℛ(𝒊)=∏q=1nAiq\mathcal{R}(\mathbf{i}) = \prod_{q=1}^n A_{i_q}.✦ Given a depth-LL kernel tower TT on Ω\Omega, the product-prior mark tower T𝒊T_{\mathbf{i}} on Ω×ℛ(𝒊)\Omega \times \mathcal{R}(\mathbf{i}) pairs each step of TT independently with the product of the level-ℓ\ell mark laws Qiq,ℓQ_{i_q,\ell} across q=1,…,nq = 1, \dots, n.✦

For a path y∈(Ω×ℛ(𝒊))Ly \in (\Omega \times \mathcal{R}(\mathbf{i}))^L, the physical path projection π(y)∈ΩL\pi(y) \in \Omega^L records the Ω\Omega-coordinates at each level✦, and for q∈{1,…,n}q \in \{1, \dots, n\}, the realized mark path γq(y)∈AiqL\gamma_q(y) \in A_{i_q}^L records the qq-th mark coordinate at each level.✦ Given a base potential ψ:ΩL→ℝ\psi : \Omega^L \to \mathbb{R} and a family of mark factors ϕi:ΩL×AiL→ℝ\phi_i : \Omega^L \times A_i^L \to \mathbb{R}, the perturbed log Boltzmann weight on (Ω×ℛ(𝒊))L(\Omega \times \mathcal{R}(\mathbf{i}))^L is ℒ(ψ,𝒊,ϕ)(y)=ψ(π(y))+∑q=1nlog⁡ϕiq(π(y),γq(y)).\mathcal{L}(\psi, \mathbf{i}, \phi)(y) = \psi(\pi(y)) + \sum_{q=1}^n \log \phi_{i_q}\bigl(\pi(y), \gamma_q(y)\bigr).(3)✦

External insertion covariance and selected score error

Fix a prescribed finite tree SS of height LL with a distinguished anchor leaf a*∈Leaf(S)a_* \in \mathrm{Leaf}(S), a depth-LL kernel tower TT on Ω\Omega, a real exponent sequence m=(m0,m1,…,mL)m = (m_0, m_1, \dots, m_L) with tail m‾=(m1,…,mL)\bar{m} = (m_1, \dots, m_L), and a disorder-dependent base potential ψ(h,k,x,⋅):ΩL→ℝ\psi(h, k, x, \cdot) : \Omega^L \to \mathbb{R}. Let ϕold,i,Di,Ei:ΩL×AiL→ℝ\phi_{\mathrm{old}, i}, D_i, E_i : \Omega^L \times A_i^L \to \mathbb{R} be families indexed by i∈Ii \in I, and let f:(Leaf(S)→ΩL)→ℝf : (\mathrm{Leaf}(S) \to \Omega^L) \to \mathbb{R} be a real-valued test functional.

For a disorder root state z=(h,(k,x),(n,𝒊))z = (h, (k, x), (n, \mathbf{i})), an external mark index i∈Ii \in I, and real parameters t,ut, u, write ψz=ψ(h,k,x,⋅)\psi_z = \psi(h, k, x, \cdot) and set ϕinew(x′,y′)=1+tDi(x′,y′)+uEi(x′,y′)\phi^{\mathrm{new}}_i(x', y') = 1 + t D_i(x', y') + u E_i(x', y'). Form the tilted reservoir tower Tzres=𝒯m‾(T𝒊,ℒ(ψz,𝒊,ϕold)),T^{\mathrm{res}}_z = \mathcal{T}_{\bar{m}}\bigl(T_{\mathbf{i}}, \mathcal{L}(\psi_z, \mathbf{i}, \phi_{\mathrm{old}})\bigr),(4) and the twice-tilted external insertion tower on (Ω×ℛ(𝒊))×Ai\bigl(\Omega \times \mathcal{R}(\mathbf{i})\bigr) \times A_i, Tz,iext(t,u)=𝒯m‾(Tzres⊗Mi,y↦log⁡ϕinew(π(pr1(y)),pr2(y))).T^{\mathrm{ext}}_{z,i}(t, u) = \mathcal{T}_{\bar{m}}\Bigl(T^{\mathrm{res}}_z \otimes M_i, y \mapsto \log \phi^{\mathrm{new}}_i\bigl(\pi(\mathrm{pr}_1(y)), \mathrm{pr}_2(y)\bigr)\Bigr).(5) The external insertion tree score Kext(f;z,i,t,u)K_{\mathrm{ext}}(f; z, i, t, u) is the expectation under the prescribed tree sample law ΛS(Tz,iext(t,u))\Lambda_S(T^{\mathrm{ext}}_{z,i}(t, u)) of the function sending a tree sample ww to f(b↦π(pr1(wb)))Ei(π(pr1(wa*)),pr2(wa*))ϕinew(π(pr1(wa*)),pr2(wa*)).f\bigl(b \mapsto \pi(\mathrm{pr}_1(w_b))\bigr) \, \frac{E_i\bigl(\pi(\mathrm{pr}_1(w_{a_*})), \mathrm{pr}_2(w_{a_*})\bigr)} {\phi^{\mathrm{new}}_i\bigl(\pi(\mathrm{pr}_1(w_{a_*})), \mathrm{pr}_2(w_{a_*})\bigr)}.(6)✦ Given an external mark measure η\eta on II, the external insertion score average is Jext(f;t,u)=∫Kext(f;z,i,t,u)d(ℙroot⊗η)(z,i),J_{\mathrm{ext}}(f; t, u) = \int K_{\mathrm{ext}}(f; z, i, t, u) \, d(\mathbb{P}_{\mathrm{root}} \otimes \eta)(z, i),(7)✦ and the old reservoir tree average is f‾old=∫𝔼ΛS(Tzres)[w↦f(b↦π(wb))]dℙroot(z).\bar{f}_{\mathrm{old}} = \int \mathbb{E}_{\Lambda_S(T^{\mathrm{res}}_z)} \bigl[w \mapsto f(b \mapsto \pi(w_b))\bigr] \, d\mathbb{P}_{\mathrm{root}}(z).(8)✦

The external insertion score covariance measures the correlation between a prescribed-tree observable and the score of one freshly inserted perturbation factor drawn from its prior kernel over the unmodified reservoir.

The external insertion score covariance at (t,u)(t, u) is Cext(f;t,u)=Jext(f;t,u)−f‾oldJext(1;t,u),C_{\mathrm{ext}}(f; t, u) = J_{\mathrm{ext}}(f; t, u) - \bar{f}_{\mathrm{old}} \, J_{\mathrm{ext}}(1; t, u),(9)✦ where 11 denotes the constant test functional equal to 11.

For any finite space Ω0\Omega_0, base potential ψ0:Ω0L→ℝ\psi_0 : \Omega_0^L \to \mathbb{R}, families D1,…,DnD_1, \dots, D_n and E1,…,EnE_1, \dots, E_n on Ω0L\Omega_0^L, and t,u∈ℝt, u \in \mathbb{R}, the perturbed log weight and perturbation score on Ω0L\Omega_0^L are ψ0(y)+∑q=1nlog⁡(1+tDq(y)+uEq(y)),∑q=1nEq(y)1+tDq(y)+uEq(y).\begin{aligned} \psi_0(y) + \sum_{q=1}^n \log\bigl(1 + t D_q(y) + u E_q(y)\bigr), \\ \sum_{q=1}^n \frac{E_q(y)}{1 + t D_q(y) + u E_q(y)}. \end{aligned}(10) Given a boolean selector σ:I→{true,false}\sigma : I \to \{\mathrm{true}, \mathrm{false}\} and a fixed factor family ϕfix,i:ΩL×AiL→ℝ\phi_{\mathrm{fix}, i} : \Omega^L \times A_i^L \to \mathbb{R}, the selected perturbation factor is ϕisel(x′,y′)={1+tDi(x′,y′)+uEi(x′,y′)if σ(i) holds,ϕfix,i(x′,y′)otherwise.\phi^{\mathrm{sel}}_i(x', y') = \begin{cases} 1 + t D_i(x', y') + u E_i(x', y') & \text{if } \sigma(i) \text{ holds}, \\ \phi_{\mathrm{fix}, i}(x', y') & \text{otherwise}. \end{cases}(11)✦ The unselected log weight replaces ϕfix,i\phi_{\mathrm{fix}, i} by 11 whenever σ(i)\sigma(i) holds✦, and for each q∈{1,…,n}q \in \{1, \dots, n\} the selected perturbation coefficients Dqsel(y)D^{\mathrm{sel}}_q(y) and Eqsel(y)E^{\mathrm{sel}}_q(y) equal Diq(π(y),γq(y))D_{i_q}(\pi(y), \gamma_q(y)) and Eiq(π(y),γq(y))E_{i_q}(\pi(y), \gamma_q(y)) when σ(iq)\sigma(i_q) holds and 00 otherwise.✦ Applying the perturbation score in (10) to DselD^{\mathrm{sel}} and EselE^{\mathrm{sel}} yields the selected score function Gsel(y;t,u)G_{\mathrm{sel}}(y; t, u).

For each disorder root state z=(h,(k,x),(n,𝒊))z = (h, (k, x), (n, \mathbf{i})), let Pzsel(t,u)P^{\mathrm{sel}}_z(t, u) be the kernel tower path law of 𝒯m‾(T𝒊,ℒ(ψz,𝒊,ϕsel))\mathcal{T}_{\bar{m}}(T_{\mathbf{i}}, \mathcal{L}(\psi_z, \mathbf{i}, \phi^{\mathrm{sel}})). The quenched selected score at zz is gsel(z;t,u)=𝔼Pzsel(t,u)[Gsel(⋅;t,u)]g_{\mathrm{sel}}(z; t, u) = \mathbb{E}_{P^{\mathrm{sel}}_z(t, u)}[G_{\mathrm{sel}}(\cdot; t, u)]✦, the selected score deviation at zz around a center c∈ℝc \in \mathbb{R} is 𝔼Pzsel(t,u)[|Gsel(⋅;t,u)−c|]\mathbb{E}_{P^{\mathrm{sel}}_z(t, u)}[|G_{\mathrm{sel}}(\cdot; t, u) - c|]✦, and the unnormalized selected score error is esel(t,u)=∫𝔼Pzsel(t,u)[|Gsel(⋅;t,u)−g‾sel(t,u)|]dℙroot(z),e_{\mathrm{sel}}(t, u) = \int \mathbb{E}_{P^{\mathrm{sel}}_z(t, u)} \bigl[\bigl|G_{\mathrm{sel}}(\cdot; t, u) - \bar{g}_{\mathrm{sel}}(t, u)\bigr|\bigr] \, d\mathbb{P}_{\mathrm{root}}(z),(12)✦ where g‾sel(t,u)=∫gsel(w;t,u)dℙroot(w)\bar{g}_{\mathrm{sel}}(t, u) = \int g_{\mathrm{sel}}(w; t, u) \, d\mathbb{P}_{\mathrm{root}}(w).

For real numbers a,b,xa, b, x, the interval-clipped parameter is clip[a,b](x)=max⁡(a,min⁡(b,x))\mathrm{clip}_{[a,b]}(x) = \max(a, \min(b, x)).✦ Given a type map κ:I→J\kappa : I \to J into a type space JJ and parameter families a,b,t,u:J→ℝa, b, t, u : J \to \mathbb{R}, the parameterized mark factor is ϕiparam(x′,y′)=1+tκ(i)Di(x′,y′)+clip[aκ(i),bκ(i)](uκ(i))Ei(x′,y′).\phi^{\mathrm{param}}_i(x', y') = 1 + t_{\kappa(i)} D_i(x', y') + \mathrm{clip}_{[a_{\kappa(i)}, b_{\kappa(i)}]}(u_{\kappa(i)}) \, E_i(x', y').(13)✦ For each type j∈Jj \in J, the dictionary parameter error eparam(j)e_{\mathrm{param}}(j) is the unnormalized selected score error (12) with selector σ(i)=(κ(i)=j)\sigma(i) = (\kappa(i) = j), fixed factor ϕfix=ϕparam\phi_{\mathrm{fix}} = \phi^{\mathrm{param}}, and parameters tjt_j and u‾j=clip[aj,bj](uj)\bar{u}_j = \mathrm{clip}_{[a_j, b_j]}(u_j).✦

The claim

Lemma 6.3. Let Ω\Omega be a finite state space, L∈ℕL \in \mathbb{N}, SS be a prescribed finite tree of height LL with anchor leaf a*∈Leaf(S)a_* \in \mathrm{Leaf}(S), TT be a depth-LL tower of finite kernels on Ω\Omega, and m=(m0,m1,…,mL)m = (m_0, m_1, \dots, m_L) be a real exponent sequence with tail m‾=(m1,…,mL)\bar{m} = (m_1, \dots, m_L). Let YY and XX be measurable spaces, let JJ and WW be countable measurable spaces in which every singleton is measurable, let M∈ℕM \in \mathbb{N}, and let ξ1,…,ξM\xi_1, \dots, \xi_M on YY, μ\mu on XX, ν\nu on JJ, and τ\tau on WW be probability measures. Set I=J×WI = J \times W with reservoir mark measure νI=ν⊗τ\nu_I = \nu \otimes \tau and type projection κ(j′,w)=j′\kappa(j', w) = j', and let r≥0r \ge 0 and s>0s > 0. For each i∈Ii \in I, let AiA_i be a finite mark space with mark laws Qi,1,…,Qi,LQ_{i,1}, \dots, Q_{i,L} on AiA_i, and let Di,Ei:ΩL×AiL→ℝD_i, E_i : \Omega^L \times A_i^L \to \mathbb{R} satisfy |Di(x′,y′)|≤1|D_i(x', y')| \le 1 and |Ei(x′,y′)|≤1|E_i(x', y')| \le 1 for all x′∈ΩLx' \in \Omega^L and y′∈AiLy' \in A_i^L. Assume that:

  1. for every k∈ℕk \in \mathbb{N} and every y′∈ΩLy' \in \Omega^L, the base potential (h,x)↦ψ(h,k,x,y′)(h, x) \mapsto \psi(h, k, x, y') is measurable on YM×XkY^M \times X^k;

  2. f:(Leaf(S)→ΩL)→ℝf : (\mathrm{Leaf}(S) \to \Omega^L) \to \mathbb{R} and B≥0B \ge 0 satisfy |f(x′)|≤B|f(x')| \le B for every leaf-path configuration x′x';

  3. a,b,t,u:J→ℝa, b, t, u : J \to \mathbb{R} satisfy aj′≤bj′a_{j'} \le b_{j'}, [aj′,bj′]⊆[−1/4,1/4][a_{j'}, b_{j'}] \subseteq [-1/4, 1/4], and |tj′|≤1/4|t_{j'}| \le 1/4 for every j′∈Jj' \in J;

  4. j∈Jj \in J satisfies ν({j})>0\nu(\{j\}) > 0.

Then, with reservoir factor ϕold=ϕparam\phi_{\mathrm{old}} = \phi^{\mathrm{param}}, external mark measure ηj=(w↦(j,w))*τ\eta_j = (w \mapsto (j, w))_* \tau, and u‾j=clip[aj,bj](uj)\bar{u}_j = \mathrm{clip}_{[a_j, b_j]}(u_j), the external insertion score covariance satisfies |Cext(f;tj,u‾j)|≤Beparam(j)ν({j})s.\bigl|C_{\mathrm{ext}}(f; t_j, \bar{u}_j)\bigr| \le B \, \frac{e_{\mathrm{param}}(j)}{\nu(\{j\}) s}.(14)✦

What is checked

The Lean library states Lemma 6.3 over the external insertion score covariance on a prescribed finite tree for a tilted product-prior mark tower with compound Poisson disorder on I=J×WI = J \times W, measurable base potentials, bounded tree observables, uniformly bounded perturbation coefficients, interval-clipped dictionary parameters in [−1/4,1/4][-1/4, 1/4], a type j∈Jj \in J of positive mass ν({j})>0\nu(\{j\}) > 0, and positive Poisson intensity s>0s > 0.