OctoInform Beta

OpenAI preprint, September 2026 · §3. Calculus on finite trees

Lemma 3.5: Absolute and relative charging bounds for labeled tree histories and shifted tree frames

Charging fresh splits on the uniform exponent grid.

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 calculus on finite trees for diluted spin glass models, power-mean insertions are expanded as signed sums over extension histories of finite trees equipped with a sequence of power-mean exponents. On the uniform grid mi=i/Lm_i = i / L, moving a target branching depth away from every branching depth of an initial tree forces a fresh unary split, which carries a small factor of order L−1L^{-1}. Controlling errors after dividing by a small reference branching product requires two estimates: an absolute bound on the signed extension sum that charges one factor of L−1L^{-1} to each fresh branching depth, and relative bounds that remain uniform in the grid size LL when the target tree is regular at its high-arity branching vertices.

Prescribed finite trees and branching products

A prescribed finite tree of height n∈ℕn \in \mathbb{N} is either a single leaf when n=0n = 0 or an internal root vertex of height n+1n + 1 having a positive integer number kk of ordered children C0,…,Ck−1C_0, \dots, C_{k-1}, each of which is a prescribed finite tree of height nn.✦ For a prescribed finite tree SS of height nn, the set of leaves Leaf(S)\mathrm{Leaf}(S) is a singleton when SS is a leaf and consists of pairs (i,x)(i, x) with i∈{0,…,k−1}i \in \{0, \dots, k - 1\} and x∈Leaf(Ci)x \in \mathrm{Leaf}(C_i) when SS has children C0,…,Ck−1C_0, \dots, C_{k-1}.✦ The set of internal vertices Int(S)\mathrm{Int}(S) is empty when SS is a leaf and consists of the root together with pairs (i,v)(i, v) where i∈{0,…,k−1}i \in \{0, \dots, k - 1\} and v∈Int(Ci)v \in \mathrm{Int}(C_i) otherwise.✦ The leaf count lv(S)\mathrm{lv}(S) is 11 at a leaf and ∑i=0k−1lv(Ci)\sum_{i=0}^{k-1} \mathrm{lv}(C_i) at a node.✦

For an internal vertex v∈Int(S)v \in \mathrm{Int}(S), the depth of vv is 00 at the root and increases by 11 upon passing to a child✦, while the arity of vv is kk at a kk-child root and is inherited recursively from the child subtrees✦. Given a predicate PP on ℕ\mathbb{N}, the filtered branching count Nbr(S;P)N_{\mathrm{br}}(S; P) is 00 at a leaf and equals 𝟏P(0)∧k>1+∑i=0k−1Nbr(Ci;P+)\mathbf{1}_{P(0) \wedge k > 1} + \sum_{i=0}^{k-1} N_{\mathrm{br}}(C_i; P^+) at a kk-child node, where P+(d)P^+(d) holds if and only if P(d+1)P(d + 1) holds.✦ Thus Nbr(S;P)N_{\mathrm{br}}(S; P) counts internal vertices of SS of arity at least 22 whose depth satisfies PP; we write Nbr(S)N_{\mathrm{br}}(S) when PP holds identically and Nbr(S;Q)N_{\mathrm{br}}(S; Q) when PP is membership in a finite set Q⊂ℕQ \subset \mathbb{N}. The set of branching depths D(S)⊂ℕD(S) \subset \mathbb{N} is the finite set consisting of the depths of all internal vertices of SS of arity at least 22.✦ The branching excess ex(S)\mathrm{ex}(S) is 00 at a leaf and max⁡(k−2,0)+∑i=0k−1ex(Ci)\max(k - 2, 0) + \sum_{i=0}^{k-1} \mathrm{ex}(C_i) at a kk-child node.✦ The split depth sdS(x,y)\mathrm{sd}_S(x, y) of two leaves x,y∈Leaf(S)x, y \in \mathrm{Leaf}(S) is 00 at a leaf tree; at a node with children C0,…,Ck−1C_0, \dots, C_{k-1}, it equals 1+sdCi(x′,y′)1 + \mathrm{sd}_{C_i}(x', y') if x=(i,x′)x = (i, x') and y=(i,y′)y = (i, y') lie in the same child CiC_i, and 00 otherwise.✦ For any set Ω\Omega, a prescribed tree sample in Ω\Omega indexed by SS, written as an element of Sample(Ω,S)\mathrm{Sample}(\Omega, S), is the unique element of a singleton when SS is a leaf and is a family indexed by i∈{0,…,k−1}i \in \{0, \dots, k - 1\} of pairs in Ω×Sample(Ω,Ci)\Omega \times \mathrm{Sample}(\Omega, C_i) when SS has children C0,…,Ck−1C_0, \dots, C_{k-1}.✦

For n,d,L∈ℕn, d, L \in \mathbb{N}, the uniform exponent grid of length n+1n + 1 with offset dd and step L−1L^{-1} is the vector mn,d,L:{0,…,n}→ℝm_{n, d, L} : \{0, \dots, n\} \to \mathbb{R} given by mn,d,L(i)=(d+i)/Lm_{n, d, L}(i) = (d + i) / L; we write m(L)=mL,0,Lm^{(L)} = m_{L, 0, L} for the grid mi(L)=i/Lm^{(L)}_i = i / L on {0,…,L}\{0, \dots, L\}.✦ Given an exponent vector m:{0,…,n}→ℝm : \{0, \dots, n\} \to \mathbb{R} and a real threshold η\eta, a prescribed finite tree SS of height nn is η\eta-branch-regular with respect to mm if either SS is a leaf, or SS has kk children C0,…,Ck−1C_0, \dots, C_{k-1} such that k>2k > 2 implies η≤m1\eta \le m_1 and every child CiC_i is η\eta-branch-regular with respect to the shifted vector m+m^+ defined by mj+=mj+1m^+_j = m_{j+1}.✦

For a finite subset A⊆Leaf(S)A \subseteq \mathrm{Leaf}(S) and an exponent vector m:{0,…,n}→ℝm : \{0, \dots, n\} \to \mathbb{R}, the partial branching product κS(m,A)\kappa_S(m, A) is defined recursively by κS(m,A)={1,if S is a leaf,ρ(m0,m1,|IA|)∏i=0k−1κCi(m+,Ai),if S has children C0,…,Ck−1,\kappa_S(m, A) = \begin{cases} 1, & \text{if } S \text{ is a leaf}, \\ \displaystyle \rho\bigl(m_0, m_1, |I_A|\bigr) \prod_{i=0}^{k-1} \kappa_{C_i}(m^+, A_i), & \text{if } S \text{ has children } C_0, \dots, C_{k-1}, \end{cases}(1)✦ where IAI_A is the set of child indices i∈{0,…,k−1}i \in \{0, \dots, k - 1\} appearing as the first coordinate of some leaf in AA, Ai⊆Leaf(Ci)A_i \subseteq \mathrm{Leaf}(C_i) is the corresponding leaf subset of CiC_i, and ρ(x,y,a)\rho(x, y, a) is the vertex branching factor.

Labeled histories and charging factors

Let CC, ι\iota, and Ω\Omega be sets, let m:{0,…,n}→ℝm : \{0, \dots, n\} \to \mathbb{R} be an exponent vector, and let VV be a real-valued functional taking a prescribed finite tree SS of height nn, a leaf assignment pos:C→Leaf(S)\mathrm{pos} : C \to \mathrm{Leaf}(S), and a function f:Sample(Ω,S)→ℝf : \mathrm{Sample}(\Omega, S) \to \mathbb{R}. Given a finite list cs\mathrm{cs} in CC, a finite subset U⊆ιU \subseteq \iota, and a map loc:ι→Leaf(S)\mathrm{loc} : \iota \to \mathrm{Leaf}(S), the signed labeled-history sum ℋm(V;cs,S,U,loc,pos,f)\mathcal{H}_m(V; \mathrm{cs}, S, U, \mathrm{loc}, \mathrm{pos}, f) equals V(S,pos,f)V(S, \mathrm{pos}, f) when cs\mathrm{cs} is empty, and for a nonempty list c::csc :: \mathrm{cs} with head cc and tail cs\mathrm{cs} is defined recursively by ℋm(V;c::cs,S,U,loc,pos,f)=∑i∈Uℋm(V;cs,S,U\{i},loc,pos[c↦loc(i)],f)+∑v∈Int(S)γS(m,v)ℋm(V;cs,Sv,U,locv,posv,fv).\begin{aligned} &\mathcal{H}_m(V; c :: \mathrm{cs}, S, U, \mathrm{loc}, \mathrm{pos}, f) \\ &\quad = \sum_{i \in U} \mathcal{H}_m\bigl(V; \mathrm{cs}, S, U \setminus \{i\}, \mathrm{loc}, \mathrm{pos}[c \mapsto \mathrm{loc}(i)], f\bigr) \\ &\qquad + \sum_{v \in \mathrm{Int}(S)} \gamma_S(m, v)\, \mathcal{H}_m\bigl(V; \mathrm{cs}, S_v, U, \mathrm{loc}_v, \mathrm{pos}_v, f_v\bigr). \end{aligned}(2)✦ In (2), pos[c↦y]\mathrm{pos}[c \mapsto y] agrees with pos\mathrm{pos} except at cc, where it takes the value yy. For each internal vertex v∈Int(S)v \in \mathrm{Int}(S), SvS_v denotes the extension of SS at vv, γS(m,v)\gamma_S(m, v) is the corresponding extension weight, locv\mathrm{loc}_v and posv\mathrm{pos}_v are the lifted location map and updated leaf assignment on SvS_v, and fvf_v is the induced function on Sample(Ω,Sv)\mathrm{Sample}(\Omega, S_v).

Each branching vertex at a fresh depth contributes a factor of order L−1L^{-1} to the absolute extension weight, and the recursive bound tracks this accumulation across extension steps.

For real parameters C0,D0∈ℝC_0, D_0 \in \mathbb{R} and natural numbers s,b∈ℕs, b \in \mathbb{N}, the recursive charging bound Λ(C0,D0;s,b)\Lambda(C_0, D_0; s, b) is defined by Λ(C0,D0;s,b)={1,s=0,b=0,0,s=0,b>0,C0Λ(C0,D0;s−1,0),s>0,b=0,C0Λ(C0,D0;s−1,b)+D0Λ(C0,D0;s−1,b−1),s>0,b>0.\Lambda(C_0, D_0; s, b) = \begin{cases} 1, & s = 0,\ b = 0, \\ 0, & s = 0,\ b > 0, \\ C_0\,\Lambda(C_0, D_0; s - 1, 0), & s > 0,\ b = 0, \\ C_0\,\Lambda(C_0, D_0; s - 1, b) + D_0\,\Lambda(C_0, D_0; s - 1, b - 1), & s > 0,\ b > 0. \end{cases}(3)✦ For L,s∈ℕL, s \in \mathbb{N}, a finite set Q⊂ℕQ \subset \mathbb{N}, and prescribed finite trees T,ST, S of height LL, the shifted charging factor χL(Q,T,S,s)\chi_L(Q, T, S, s) is given by χL(Q,T,S,s)=Λ(2(lv(S)+s),|Q|(lv(S)+s);s,Nbr(T;Q))L−Nbr(T;Q).\chi_L(Q, T, S, s) = \Lambda\bigl(2(\mathrm{lv}(S) + s),\, |Q|(\mathrm{lv}(S) + s);\, s,\, N_{\mathrm{br}}(T; Q)\bigr)\, L^{-N_{\mathrm{br}}(T; Q)}.(4)✦

Reduced topologies and shifted tree frames

Adding a unary initial stem of length r∈ℕr \in \mathbb{N} to a prescribed finite tree SS of height nn produces a prescribed finite tree stem(S,r)\mathrm{stem}(S, r) of height n+rn + r by prepending rr consecutive unary vertices above the root of SS.✦ The doubled tree doubled(S)\mathrm{doubled}(S) of height n+1n + 1 is the binary node whose two children are both SS.✦ For r,d∈ℕr, d \in \mathbb{N}, the split doubled tree frame of SS is the prescribed finite tree frame(S,r,d)=stem(doubled(stem(S,r)),d)\mathrm{frame}(S, r, d) = \mathrm{stem}\bigl(\mathrm{doubled}(\mathrm{stem}(S, r)), d\bigr)(5)✦ of height n+r+1+dn + r + 1 + d. The shifted twin branching depths of SS form the finite set Dtwin(S)={u+2:u∈D(S)}D_{\mathrm{twin}}(S) = \{u + 2 : u \in D(S)\}✦, and the shifted prefix depths at offset d∈ℕd \in \mathbb{N} form the finite set Dpref(S,d)={u+d:u∈Dtwin(S)}D_{\mathrm{pref}}(S, d) = \{u + d : u \in D_{\mathrm{twin}}(S)\}.✦

A reduced tree topology is either a leaf or a node having an integer number k≥2k \ge 2 of ordered children, each of which is a reduced tree topology.✦ Its set of internal vertices Vertex(G)\mathrm{Vertex}(G) is empty when GG is a leaf and consists of the root together with pairs (i,v)(i, v) where i∈{0,…,k−1}i \in \{0, \dots, k - 1\} and v∈Vertex(Gi)v \in \mathrm{Vertex}(G_i) when GG has children G0,…,Gk−1G_0, \dots, G_{k-1}.✦ Given r,d∈ℕr, d \in \mathbb{N}, a reduced tree topology GG, and a depth assignment τ:Vertex(G)→ℕ\tau : \mathrm{Vertex}(G) \to \mathbb{N}, the leveled tree realization realizer,d(G,τ)\mathrm{realize}_{r, d}(G, \tau) is a prescribed finite tree of height rr defined recursively on rr: when r=0r = 0 it is the leaf tree; when r>0r > 0 and GG is a leaf it prepends a unary vertex above realizer−1,d+1(G,τ)\mathrm{realize}_{r - 1, d + 1}(G, \tau); and when r>0r > 0 and GG is a node with children G0,…,Gk−1G_0, \dots, G_{k-1}, it prepends a unary vertex above realizer−1,d+1(G,τ)\mathrm{realize}_{r - 1, d + 1}(G, \tau) if d<τ(root)d < \tau(\mathrm{root}), and otherwise forms a kk-child node whose ii-th child is realizer−1,d+1(Gi,v↦τ(i,v))\mathrm{realize}_{r - 1, d + 1}(G_i, v \mapsto \tau(i, v)).✦

The claim

Lemma 3.5. Let L∈ℕL \in \mathbb{N} with L>0L > 0, let Q⊂ℕQ \subset \mathbb{N} be a finite set, and let TT and SS be prescribed finite trees of height LL.

Suppose CC is a finite set, ι\iota and Ω\Omega are sets, q:C→Leaf(T)q : C \to \mathrm{Leaf}(T) is a surjection, and Nbr(S;Q)=0N_{\mathrm{br}}(S; Q) = 0. Let WW be a real-valued functional taking a prescribed finite tree T′T' of height LL, a map pos:C→Leaf(T′)\mathrm{pos} : C \to \mathrm{Leaf}(T'), and a function g:Sample(Ω,T′)→ℝg : \mathrm{Sample}(\Omega, T') \to \mathbb{R}, and let E≥0E \ge 0 be a real number such that |W(T′,pos,g)|≤E|W(T', \mathrm{pos}, g)| \le E whenever |g(x)|≤1|g(x)| \le 1 for all x∈Sample(Ω,T′)x \in \mathrm{Sample}(\Omega, T') and sdT′(pos(a),pos(b))=sdT(q(a),q(b))\mathrm{sd}_{T'}(\mathrm{pos}(a), \mathrm{pos}(b)) = \mathrm{sd}_T(q(a), q(b)) for all a,b∈Ca, b \in C. Define V(T′,pos,g)V(T', \mathrm{pos}, g) to equal W(T′,pos,g)W(T', \mathrm{pos}, g) when this split-depth equality holds for all a,b∈Ca, b \in C, and 00 otherwise. Then for every finite list cs\mathrm{cs} in CC of length ss, every finite subset U⊆ιU \subseteq \iota with |U|≤lv(S)|U| \le \mathrm{lv}(S), every loc:ι→Leaf(S)\mathrm{loc} : \iota \to \mathrm{Leaf}(S), every pos:C→Leaf(S)\mathrm{pos} : C \to \mathrm{Leaf}(S), and every f:Sample(Ω,S)→ℝf : \mathrm{Sample}(\Omega, S) \to \mathbb{R} with |f(x)|≤1|f(x)| \le 1 for all x∈Sample(Ω,S)x \in \mathrm{Sample}(\Omega, S), setting b=Nbr(T;Q)b = N_{\mathrm{br}}(T; Q), |ℋm(L)(V;cs,S,U,loc,pos,f)|≤EΛ(2(lv(S)+s),|Q|(lv(S)+s);s,b)L−b.\begin{aligned} &\bigl|\mathcal{H}_{m^{(L)}}(V; \mathrm{cs}, S, U, \mathrm{loc}, \mathrm{pos}, f)\bigr| \\ &\quad \le E\,\Lambda\bigl(2(\mathrm{lv}(S) + s),\, |Q|(\mathrm{lv}(S) + s);\, s,\, b\bigr)\, L^{-b}. \end{aligned}(6)✦

Suppose instead that s,M∈ℕs, M \in \mathbb{N} satisfy |Q|≤M|Q| \le M, lv(S)+s≤M\mathrm{lv}(S) + s \le M, and lv(T)≤M\mathrm{lv}(T) \le M, that a,b∈Leaf(T)a, b \in \mathrm{Leaf}(T) are distinct leaves, and that η>0\eta > 0 is a real number such that TT is η\eta-branch-regular with respect to m(L)m^{(L)} and Nbr(T)=Nbr(T;Q)+1N_{\mathrm{br}}(T) = N_{\mathrm{br}}(T; Q) + 1. Then χL(Q,T,S,s)|κT(m(L),Leaf(T))/κT(m(L),{b,a})|≤((2+M)M)s(min⁡(η,1))M.\frac{\chi_L(Q, T, S, s)} {\bigl|\kappa_T(m^{(L)}, \mathrm{Leaf}(T)) / \kappa_T(m^{(L)}, \{b, a\})\bigr|} \le \frac{((2 + M)M)^s}{(\min(\eta, 1))^M}.(7)✦

Finally, let H,r,d∈ℕH, r, d \in \mathbb{N}, let k≥1k \ge 1 be a positive integer, let Γ\Gamma be a set with a distinguished element a0∈Γa_0 \in \Gamma, let G0,…,Gk−1G_0, \dots, G_{k-1} be reduced tree topologies, and for each j∈{0,…,k−1}j \in \{0, \dots, k - 1\} let ej:Vertex(Gj)→Γ\{a0}e_j : \mathrm{Vertex}(G_j) \to \Gamma \setminus \{a_0\}. Set L=H+r+d+3L = H + r + d + 3, let τ:Γ→{0,…,L−1}\tau : \Gamma \to \{0, \dots, L - 1\}, and let η>0\eta > 0 satisfy η≤(d+r+2)/L\eta \le (d + r + 2) / L. Define Base\mathrm{Base}, Old\mathrm{Old}, and New\mathrm{New} to be the kk-child prescribed finite trees whose jj-th children are realizeH,r+d+2(Gj,v↦τ(ej(v)))\mathrm{realize}_{H, r + d + 2}(G_j, v \mapsto \tau(e_j(v))), realizeH+1,r+d+2(Gj,v↦τ(ej(v)))\mathrm{realize}_{H + 1, r + d + 2}(G_j, v \mapsto \tau(e_j(v))), and realizeH,r+d+3(Gj,v↦τ(ej(v))+1)\mathrm{realize}_{H, r + d + 3}(G_j, v \mapsto \tau(e_j(v)) + 1), respectively. Put T*=frame(New,r+1,d)T^* = \mathrm{frame}(\mathrm{New}, r + 1, d) and S*=frame(Old,r,d)S^* = \mathrm{frame}(\mathrm{Old}, r, d), both of height LL, and set D*=Dpref(stem(Base,r),d)D^* = D_{\mathrm{pref}}(\mathrm{stem}(\mathrm{Base}, r), d). Then for every finite set II, every bijection π:I→Leaf(T*)\pi : I \to \mathrm{Leaf}(T^*), every pair of distinct elements u,v∈Iu, v \in I, and every ℓ∈ℕ\ell \in \mathbb{N}, χL(D*,T*,S*,ℓ)|κT*(m(L),π(I))/κT*(m(L),{π(u),π(v)})|≤Λ(2(lv(S*)+ℓ),|D*|(lv(S*)+ℓ);ℓ,2Nbr(Base))ηex(T*).\begin{aligned} &\frac{\chi_L(D^*, T^*, S^*, \ell)} {\bigl|\kappa_{T^*}(m^{(L)}, \pi(I)) / \kappa_{T^*}(m^{(L)}, \{\pi(u), \pi(v)\})\bigr|} \\ &\quad \le \frac{\Lambda\bigl(2(\mathrm{lv}(S^*) + \ell),\, |D^*|(\mathrm{lv}(S^*) + \ell);\, \ell,\, 2 N_{\mathrm{br}}(\mathrm{Base})\bigr)} {\eta^{\mathrm{ex}(T^*)}}. \end{aligned}(8)✦

What is checked

The Lean library states the three bounds (6), (7), and (8) over prescribed finite trees, their leaves, internal vertices, samples, leaf counts, filtered branching counts, branching depths, branching excess, and split depths, together with the uniform exponent grid, branch regularity, partial branching products, signed labeled-history sums, recursive charging bounds, shifted charging factors, unary initial stems, doubled trees, split doubled tree frames, shifted twin and prefix depths, and leveled realizations of reduced tree topologies. It also proves the height identity H+1+(r+1)+1+d=H+1+1+r+1+dH + 1 + (r + 1) + 1 + d = H + 1 + 1 + r + 1 + d equating the height of the shifted split frame T*T^* to LL.✦