OctoInform Beta

OpenAI preprint, September 2026 · Section 3. Exact queries and independent unfoldings

Proposition 3.4: Discrete-grid factorization, exposure-tree product laws, and log-survival cavity identities for qHq_H and MH,DM_{H,D}

Independent-unfolding product identities and cavity equations.

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 uniform triangle-removal process started from KnK_n, whether a given edge survives past a priority threshold t∈[0,1]t \in [0, 1] depends on whether any incident triangle is removed earlier, which in turn depends recursively on the survival of the other two edges of each incident triangle. Passing to an independent unfolding replaces the shared random priorities of triangles with fresh independent draws whenever a hyperedge is queried.

Under this independent unfolding, the survival event for a set of edges factors across its incident triangles, and the survival probability satisfies a closed system of cavity equations. On a finite priority grid {0,1,…,N−1}\{0, 1, \dots, N-1\}, this factorization holds exactly at the level of exposure decision trees; in the continuous-time limit, the resulting cavity functions obey an integral recursion whose triangle summands simplify in log-survival coordinates.

Product laws and exposure trees

For finite sets KK and VV and a family ν=(νk)k∈K\nu = (\nu_k)_{k \in K} of probability mass functions on VV, the independent product law Πν\Pi_\nu on VKV^K assigns to each configuration ω:K→V\omega : K \to V the probability Πν(ω)=∏k∈Kνk(ω(k)).\Pi_\nu(\omega) = \prod_{k \in K} \nu_k(\omega(k)).(1)✦ For keys a,b∈Ka, b \in K, let πa,b:VK→V×V\pi_{a,b} : V^K \to V \times V be the coordinate projection πa,b(ω)=(ω(a),ω(b))\pi_{a,b}(\omega) = (\omega(a), \omega(b)), and write (πa,b)*Πν(\pi_{a,b})_* \Pi_\nu for the pushforward law on V×VV \times V, given at (v,w)∈V×V(v, w) \in V \times V by summing Πν(ω)\Pi_\nu(\omega) over all ω∈VK\omega \in V^K with ω(a)=v\omega(a) = v and ω(b)=w\omega(b) = w. Write νa⊗νb\nu_a \otimes \nu_b for the product law on V×VV \times V that draws vv from νa\nu_a and independently ww from νb\nu_b, assigning probability νa(v)νb(w)\nu_a(v)\,\nu_b(w) to (v,w)(v, w).

For arbitrary sets KK, VV, and OO, an exposure decision tree in ℰ(K,V,O)\mathcal{E}(K, V, O) is defined inductively as either a terminal leaf done⁡(o)\operatorname{done}(o) returning an outcome o∈Oo \in O, or a query node ask⁡(k,f)\operatorname{ask}(k, f) that queries a key k∈Kk \in K and branches via f:V→ℰ(K,V,O)f : V \to \mathcal{E}(K, V, O) to a subtree for each value v∈Vv \in V.✦ Sequential composition combines a tree T∈ℰ(K,V,O)T \in \mathcal{E}(K, V, O) with a continuation g:O→ℰ(K,V,P)g : O \to \mathcal{E}(K, V, P) to form T⊳g∈ℰ(K,V,P)T \triangleright g \in \mathcal{E}(K, V, P) by the recursion done⁡(o)⊳g=g(o),ask⁡(k,f)⊳g=ask⁡(k,v↦f(v)⊳g).\begin{aligned} \operatorname{done}(o) \triangleright g &= g(o), \\ \operatorname{ask}(k, f) \triangleright g &= \operatorname{ask}\bigl(k,\, v \mapsto f(v) \triangleright g\bigr). \end{aligned}(2)✦

Let (K×V)*(K \times V)^* denote the set of finite lists of key-value pairs in K×VK \times V, write ()() for the empty list, and write (k,v)::𝒙(k, v) \mathbin{::} \mathbf{x} for prepending (k,v)(k, v) to a list 𝒙\mathbf{x}. For a finite list of keys 𝒌=(k1,…,km)\mathbf{k} = (k_1, \dots, k_m) in KK, the sequential key exposure tree E(𝒌)∈ℰ(K,V,(K×V)*)E(\mathbf{k}) \in \mathcal{E}(K, V, (K \times V)^*) is defined recursively by E(())=done⁡(())E(()) = \operatorname{done}(()) and E(k1,k2,…,km)=ask⁡(k1,v↦E(k2,…,km)⊳(𝒙↦done⁡((k1,v)::𝒙))).\begin{aligned} E(k_1, k_2, \dots, k_m) &= \operatorname{ask}\bigl(k_1,\, v \mapsto E(k_2, \dots, k_m) \\ &\qquad \triangleright \bigl(\mathbf{x} \mapsto \operatorname{done}((k_1, v) \mathbin{::} \mathbf{x})\bigr)\bigr). \end{aligned}(3)✦

Given a family ν=(νk)k∈K\nu = (\nu_k)_{k \in K} of probability mass functions on VV, the independent unfolding law ℒν(T)\mathcal{L}_\nu(T) of a tree T∈ℰ(K,V,O)T \in \mathcal{E}(K, V, O) is the probability mass function on OO defined recursively: ℒν(done⁡(o))\mathcal{L}_\nu(\operatorname{done}(o)) is the point mass at oo, while ℒν(ask⁡(k,f))\mathcal{L}_\nu(\operatorname{ask}(k, f)) draws vv from νk\nu_k and then outputs a sample from ℒν(f(v))\mathcal{L}_\nu(f(v)).✦ For a probability mass function μ\mu on {true,false}\{\mathrm{true}, \mathrm{false}\}, its probability of true is Ptrue(μ)=μ(true)∈ℝP_{\mathrm{true}}(\mu) = \mu(\mathrm{true}) \in \mathbb{R}.✦

Discrete-grid queries on a hypergraph

Fix a vertex set ι\iota, a finite hyperedge index set τ\tau, and a hypergraph HH that maps each hyperedge T∈τT \in \tau to a finite subset H(T)⊆ιH(T) \subseteq \iota. For a positive integer NN, the uniform grid priorities ν(N)\nu^{(N)} assign to every hyperedge T∈τT \in \tau the uniform probability mass function on {0,1,…,N−1}\{0, 1, \dots, N-1\}.✦

Let τ∪{⟂}\tau \cup \{\perp\} denote the set of optional parent hyperedges, where ⟂\perp indicates that no parent hyperedge is omitted. For a finite focus set F⊆ιF \subseteq \iota and an optional parent p∈τ∪{⟂}p \in \tau \cup \{\perp\}, the set of grid query candidate pairs is 𝒞H(F,p)={(e,T)∈F×τ:e∈H(T) and T≠p}.\mathcal{C}_H(F, p) = \{(e, T) \in F \times \tau : e \in H(T) \text{ and } T \neq p\}.(4)✦

For a positive integer NN, depth d∈ℕd \in \mathbb{N}, threshold k∈ℕk \in \mathbb{N}, finite focus F⊆ιF \subseteq \iota, and optional parent p∈τ∪{⟂}p \in \tau \cup \{\perp\}, the depth-dd grid query tree QH,N(d,k,F,p)∈ℰ(τ,{0,…,N−1},{true,false})Q_{H,N}(d, k, F, p) \in \mathcal{E}(\tau, \{0, \dots, N-1\}, \{\mathrm{true}, \mathrm{false}\}) is defined by recursion on dd. At d=0d = 0, it exposes a priority in {0,…,N−1}\{0, \dots, N-1\} for the hyperedge TT of each candidate (e,T)∈𝒞H(F,p)(e, T) \in \mathcal{C}_H(F, p) in a fixed enumeration and then returns true\mathrm{true}. At d+1d + 1, it exposes a priority j∈{0,…,N−1}j \in \{0, \dots, N-1\} for the hyperedge TT of each candidate (e,T)∈𝒞H(F,p)(e, T) \in \mathcal{C}_H(F, p), sorts the resulting candidate-priority pairs in nondecreasing order of jj, and checks sequentially that none of the child queries returns true\mathrm{true}, where a pair ((e,T),j)((e, T), j) with j<kj < k runs QH,N(d,j,H(T)\{e},T)Q_{H,N}(d, j, H(T) \setminus \{e\}, T) and a pair with j≥kj \ge k returns false\mathrm{false}.✦

The grid query success probability is PH,N(d,k,F,p)=Ptrue(ℒν(N)(QH,N(d,k,F,p))),P_{H,N}(d, k, F, p) = P_{\mathrm{true}}\bigl(\mathcal{L}_{\nu^{(N)}}(Q_{H,N}(d, k, F, p))\bigr),(5)✦ and the grid query message for a vertex e∈ιe \in \iota is the singleton focus probability mH,N(d,k,e,p)=PH,N(d,k,{e},p)m_{H,N}(d, k, e, p) = P_{H,N}(d, k, \{e\}, p).✦

Each failure factor gives the probability that a single incident hyperedge fails to produce a successful child query before the priority threshold. For N≥1N \ge 1, k∈ℕk \in \mathbb{N}, e∈ιe \in \iota, and T∈τT \in \tau, the grid candidate failure factor is ΦH,N(k,e,T)=1−1N∑j=0k−1∏f∈H(T)\{e}mH,N(N,j,f,T).\Phi_{H,N}(k, e, T) = 1 - \frac{1}{N} \sum_{j=0}^{k-1} \prod_{f \in H(T) \setminus \{e\}} m_{H,N}(N, j, f, T).(6)✦

Continuous-time cavity functions

For t∈ℝt \in \mathbb{R}, the clamped unit time is clip⁡(t)=max⁡(0,min⁡(1,t))\operatorname{clip}(t) = \max(0, \min(1, t)).✦ Given a function q:ι×(τ∪{⟂})×ℝ→ℝq : \iota \times (\tau \cup \{\perp\}) \times \mathbb{R} \to \mathbb{R}, a vertex e∈ιe \in \iota, a hyperedge T∈τT \in \tau, and t∈ℝt \in \mathbb{R}, the cavity message integral is IH(q;e,T,t)=∫0clip⁡(t)∏f∈H(T)\{e}q(f,T,v)dv.I_H(q; e, T, t) = \int_0^{\operatorname{clip}(t)} \prod_{f \in H(T) \setminus \{e\}} q(f, T, v)\, dv.(7)✦

The cavity function space ℬ(ι,τ)\mathcal{B}(\iota, \tau) consists of families q=(q(e,p,⋅))e∈ι,p∈τ∪{⟂}q = (q(e, p, \cdot))_{e \in \iota,\, p \in \tau \cup \{\perp\}} of bounded continuous functions ℝ→ℝ\mathbb{R} \to \mathbb{R}.✦ Starting from qH(0)(e,p,t)=1q_H^{(0)}(e, p, t) = 1, the depth-kk cavity iterates qH(k)q_H^{(k)} are defined recursively by applying the cavity operator of HH at each step.✦ Each iterate t↦qH(k)(e,p,t)t \mapsto q_H^{(k)}(e, p, t) is continuous on ℝ\mathbb{R}✦ and takes values in [0,1][0, 1], so it defines an element of ℬ(ι,τ)\mathcal{B}(\iota, \tau) of oscillation at most 11.✦ These iterates form a Cauchy sequence in the complete space ℬ(ι,τ)\mathcal{B}(\iota, \tau), and their limit qH∞∈ℬ(ι,τ)q_H^{\infty} \in \mathcal{B}(\iota, \tau) defines the limiting cavity function qH(e,p,t)=qH∞(e,p)(t)q_H(e, p, t) = q_H^{\infty}(e, p)(t).✦

For real numbers DD and ss, the cavity time change is tD(s)=e2s−12D,t_D(s) = \frac{e^{2s} - 1}{2D},(8)✦ with the convention x/0=0x / 0 = 0. For e∈ιe \in \iota and T∈τT \in \tau, the log cavity survival function and the limiting cavity message are LH,D(e,s)=log⁡qH(e,⟂,tD(s))+s,MH,D(e,T,s)=IH(qH;e,T,tD(s)).\begin{aligned} L_{H,D}(e, s) &= \log q_H\bigl(e, \perp, t_D(s)\bigr) + s, \\ M_{H,D}(e, T, s) &= I_H\bigl(q_H; e, T, t_D(s)\bigr). \end{aligned}(9)

The claim

Proposition 3.4. The following four product and cavity identities hold.

  1. For a hypergraph HH on vertex set ι\iota with finite hyperedge set τ\tau, a positive integer NN, an integer kk with 0≤k≤N0 \le k \le N, a finite focus set F⊆ιF \subseteq \iota, and an optional parent p∈τ∪{⟂}p \in \tau \cup \{\perp\}, ∏(e,T)∈𝒞H(F,p)ΦH,N(k,e,T)=PH,N(N,k,F,p).\prod_{(e, T) \in \mathcal{C}_H(F, p)} \Phi_{H,N}(k, e, T) = P_{H,N}(N, k, F, p).(10)✦

  2. For a hypergraph HH with finite vertex set ι\iota and finite hyperedge set τ\tau, a real parameter DD, a vertex e∈ιe \in \iota, a hyperedge T∈τT \in \tau, distinct vertices f,g∈H(T)f, g \in H(T) satisfying H(T)\{e}={f,g}H(T) \setminus \{e\} = \{f, g\}, and a real number ss with tD(s)<1t_D(s) < 1, e2s∏u∈H(T)\{e}qH(u,T,tD(s))=exp⁡(LH,D(f,s)+LH,D(g,s))(1−MH,D(f,T,s))(1−MH,D(g,T,s)).\begin{aligned} e^{2s} \prod_{u \in H(T) \setminus \{e\}} q_H\bigl(u, T, t_D(s)\bigr) &= \frac{\exp\bigl(L_{H,D}(f, s) + L_{H,D}(g, s)\bigr)} {\bigl(1 - M_{H,D}(f, T, s)\bigr)\bigl(1 - M_{H,D}(g, T, s)\bigr)}. \end{aligned}(11)✦

  3. For finite sets KK and VV, a family ν=(νk)k∈K\nu = (\nu_k)_{k \in K} of probability mass functions on VV, and distinct keys a,b∈Ka, b \in K, (πa,b)*Πν=νa⊗νb.(\pi_{a,b})_* \Pi_\nu = \nu_a \otimes \nu_b.(12)✦

  4. For a set KK, a finite set VV, a family ν=(νk)k∈K\nu = (\nu_k)_{k \in K} of probability mass functions on VV, a finite list of keys 𝒌=(k1,…,km)\mathbf{k} = (k_1, \dots, k_m) in KK, a continuation C:(K×V)*→ℰ(K,V,{true,false})C : (K \times V)^* \to \mathcal{E}(K, V, \{\mathrm{true}, \mathrm{false}\}), and a function h:K×V→ℝh : K \times V \to \mathbb{R} such that Ptrue(ℒν(C(𝒙)))=∏i=1rh(ai,vi)P_{\mathrm{true}}(\mathcal{L}_\nu(C(\mathbf{x}))) = \prod_{i=1}^r h(a_i, v_i) for every finite list 𝒙=((a1,v1),…,(ar,vr))∈(K×V)*\mathbf{x} = ((a_1, v_1), \dots, (a_r, v_r)) \in (K \times V)^*, Ptrue(ℒν(E(𝒌)⊳C))=∏i=1m∑v∈Vνki(v)h(ki,v).P_{\mathrm{true}}\bigl(\mathcal{L}_\nu(E(\mathbf{k}) \triangleright C)\bigr) = \prod_{i=1}^m \sum_{v \in V} \nu_{k_i}(v)\, h(k_i, v).(13)✦

In the paper, the result reads: for every triangle T={e,f,g}T = \{e, f, g\} and t∈[0,1]t \in [0, 1], the independent unfolding satisfies that the pair {f,g}\{f, g\} with TT omitted returns true at tt with probability qf,T(t)qg,T(t)q_{f,T}(t) q_{g,T}(t), that qe(t)=∏S∋e(1−Ie,S(t))q_e(t) = \prod_{S \ni e} (1 - I_{e,S}(t)) and qe,T(t)=∏S∋e,S≠T(1−Ie,S(t))q_{e,T}(t) = \prod_{S \ni e,\, S \neq T} (1 - I_{e,S}(t)) with Ie,T(t)=∫0tqf,T(v)qg,T(v)dvI_{e,T}(t) = \int_0^t q_{f,T}(v) q_{g,T}(v)\, dv, and that qeq_e, qe,Tq_{e,T}, and Ie,TI_{e,T} belong to C1([0,1])C^1([0, 1]) with qe(0)=qe,T(0)=1q_e(0) = q_{e,T}(0) = 1 and Ie,T(0)=0I_{e,T}(0) = 0, where qH(e,⟂,t)q_H(e, \perp, t), qH(e,T,t)q_H(e, T, t), and IH(qH;e,T,t)I_H(q_H; e, T, t) stand for qe(t)q_e(t), qe,T(t)q_{e,T}(t), and Ie,T(t)I_{e,T}(t).

The Lean library expresses this through the exact discrete-grid product identity (10), the log-survival cavity summand identity (11), the two-coordinate product marginal (12), and the sequential exposure factorization (13).

What is checked

Proposition 3.4 is stated over finite product probability mass functions, sequential exposure decision trees with independent unfolding laws, discrete-grid query trees on a hypergraph HH with uniform priorities on {0,…,N−1}\{0, \dots, N-1\}, and the limiting cavity functions qHq_H with their log-survival and message transforms LH,DL_{H,D} and MH,DM_{H,D} under the cavity time change tD(s)t_D(s). The Lean library also establishes that every depth-kk cavity iterate t↦qH(k)(e,p,t)t \mapsto q_H^{(k)}(e, p, t) is continuous on ℝ\mathbb{R}.✦