OctoInform Beta

OpenAI preprint, September 2026 · §4. Amplifying local endpoint maps

Lemma 4.6: Total mass bound W(M,L)kW(M, L)^k for valid gap codes, Bernoulli weight comparison along splice executions, and mask replay index preservation

Inverse gap codes and splice weight bounds.

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 Bernoulli bond percolation on a graph, one technique for amplifying local endpoint maps is to splice auxiliary percolation configurations into the open cluster of a root vertex along selected seam edges. To control the probability of such a switching event, the argument compares the Bernoulli weights of input and output configuration tuples along a fixed sequence of splice steps, tracks the exchange masks and seam codes needed to invert the switch, and bounds the total weight of valid inverse gap codes by a power of a single-step code mass.

A bond graph GG on a vertex set VV and an edge set EE assigns to each edge e∈Ee \in E an unordered pair G(e)={a,b}G(e) = \{a, b\} of vertices in VV as its endpoints.✦ Given a subset ω⊆E\omega \subseteq E of open edges, two vertices x,y∈Vx, y \in V are connected by an open path in ω\omega, written x↔yx \leftrightarrow y, if they belong to the reflexive-transitive closure of the relation joining aa and bb whenever some e∈ωe \in \omega has G(e)={a,b}G(e) = \{a, b\}.✦ The open cluster C(x)C(x) of a vertex x∈Vx \in V in ω\omega, written Cω(x)C_\omega(x) when the configuration is named explicitly, is the set of all vertices y∈Vy \in V with x↔yx \leftrightarrow y in ω\omega.✦ For a vertex subset S⊆VS \subseteq V, the internal edges of SS, denoted E(S)E(S), form the set of all edges e∈Ee \in E whose endpoints both belong to SS; its complement is written Sc=V\SS^c = V \setminus S.✦

Splice states and executions

Recording the sequence of splice masks along an execution allows the switching exchanges to be undone in reverse order to recover a unique candidate input configuration.

A splice state on an edge set EE is a pair s=(ω,η)s = (\omega, \eta) consisting of a base edge configuration ω⊆E\omega \subseteq E and a sequence η:ℕ→𝒫(E)\eta : \mathbb{N} \to \mathcal{P}(E) of auxiliary edge configurations, whose ii-th entry is written ηi\eta_i.✦ Given a mask D⊆ED \subseteq E and two configurations ω,η0⊆E\omega, \eta_0 \subseteq E, the configuration exchange on DD is defined by (1): exD(ω,η0)=(ω\D)∪(η0∩D).\mathrm{ex}_D(\omega, \eta_0) = (\omega \setminus D) \cup (\eta_0 \cap D).(1)✦ For a mask D⊆ED \subseteq E, an index i∈ℕi \in \mathbb{N}, and a splice state s=(ω,η)s = (\omega, \eta), the splice state exchange at index ii on DD produces the splice state whose base configuration is exD(ω,ηi)\mathrm{ex}_D(\omega, \eta_i) and whose auxiliary sequence has exD(ηi,ω)\mathrm{ex}_D(\eta_i, \omega) at index ii and ηj\eta_j at every index j≠ij \neq i.✦

In a bond graph GG on VV and EE, given vertex subsets S,B⊆VS, B \subseteq V and an edge e∈Ee \in E, the splice mask D(S,B,e)⊆ED(S, B, e) \subseteq E is given by (2): D(S,B,e)={e}∪{f∈E(Sc):G(f)∩B≠∅}.D(S, B, e) = \{e\} \cup \{f \in E(S^c) : G(f) \cap B \neq \emptyset\}.(2)✦ Fix a root vertex x∈Vx \in V, splice states s=(ω,η)s = (\omega, \eta) and s′s', and a pair (i,e)∈ℕ×E(i, e) \in \mathbb{N} \times E, and set S=Cω(x)S = C_\omega(x). The move from ss to s′s' via (i,e)(i, e) is a valid splice step if there exist vertices y,a,b∈Vy, a, b \in V such that y∉Sy \notin S, e∈ηie \in \eta_i, G(e)={a,b}G(e) = \{a, b\}, a∈Sa \in S, bb belongs to the open cluster B=Cηi∩E(Sc)(y)B = C_{\eta_i \cap E(S^c)}(y) of yy in ηi∩E(Sc)\eta_i \cap E(S^c), and s′s' is the splice state exchange of ss at index ii on D(S,B,e)D(S, B, e).✦ A splice execution from ss to s″s'' along a finite list cc of pairs in ℕ×E\mathbb{N} \times E is defined inductively on cc: the empty list relates every splice state ss to itself, and a nonempty list (i,e)::r(i, e) :: r relates ss to s″s'' when there is an intermediate splice state s′s' such that the move from ss to s′s' via (i,e)(i, e) is a valid splice step and there is a splice execution from s′s' to s″s'' along rr.✦

Given x∈Vx \in V, auxiliary configurations η:ℕ→𝒫(E)\eta : \mathbb{N} \to \mathcal{P}(E), and vertices y:ℕ→Vy : \mathbb{N} \to V, the list of replayed splice masks RMx,η,y(c,ω)\mathrm{RM}_{x, \eta, y}(c, \omega) is a finite list of pairs in ℕ×𝒫(E)\mathbb{N} \times \mathcal{P}(E) defined recursively on a finite list cc in ℕ×E\mathbb{N} \times E and a base configuration ω⊆E\omega \subseteq E. For the empty list it is empty; for a nonempty list (i,e)::r(i, e) :: r it sets S=Cω(x)S = C_\omega(x) and B=Cηi∩E(Sc)(yi)B = C_{\eta_i \cap E(S^c)}(y_i), prepends (i,D(S,B,e))(i, D(S, B, e)), and recurses on rr with the spliced configuration.✦ For any bijection b:E→Eb : E \to E, the splice code bijection Φb\Phi_b is the bijection on finite lists of pairs in ℕ×E\mathbb{N} \times E induced by the product bijection (i,e)↦(i,b(e))(i, e) \mapsto (i, b(e)).✦

For a finite edge set Q⊆EQ \subseteq E, a configuration ω⊆E\omega \subseteq E determines its finite set of open edges Q∩ωQ \cap \omega in QQ.✦ For a finite subset ω0⊆E\omega_0 \subseteq E and a real parameter p∈ℝp \in \mathbb{R}, the Bernoulli configuration weight is defined by (3), where |Q|−|ω0||Q| - |\omega_0| is truncated at 00 if |ω0|>|Q||\omega_0| > |Q|: wp(Q,ω0)=p|ω0|(1−p)|Q|−|ω0|.w_p(Q, \omega_0) = p^{|\omega_0|} (1 - p)^{|Q| - |\omega_0|}.(3)✦ For a finite index set J⊆ℕJ \subseteq \mathbb{N}, a real parameter p∈ℝp \in \mathbb{R}, and a splice state s=(ω,η)s = (\omega, \eta), the splice tuple weight μQ,J,p(s)\mu_{Q, J, p}(s) is given by (4): μQ,J,p(s)=wp(Q,Q∩ω)∏i∈Jwp(Q,Q∩ηi).\mu_{Q, J, p}(s) = w_p(Q, Q \cap \omega) \prod_{i \in J} w_p(Q, Q \cap \eta_i).(4)✦

Gap codes and inverse code mass

In the switching argument, each valid input is encoded by the selected indices and positive bridge gaps to their seams, and the gap weights record the probability factors obtained after integrating the contact uniforms.

For a real parameter L∈ℝL \in \mathbb{R} and a natural number l∈ℕl \in \mathbb{N}, the gap weight gL(l)g_L(l) is defined by (5), with the convention 2L/0=02L/0 = 0: gL(l)=min⁡(1,2Ll).g_L(l) = \min\Bigl(1, \frac{2L}{l}\Bigr).(5)✦ The gap letter weight g̃L(l)\tilde{g}_L(l) modifies gLg_L at l=0l = 0 as in (6): g̃L(l)={1,l=0,gL(l),l≥1.\tilde{g}_L(l) = \begin{cases} 1, & l = 0, \\ g_L(l), & l \ge 1. \end{cases}(6)✦ For M∈ℕM \in \mathbb{N} and L∈ℝL \in \mathbb{R}, the inverse code mass W(M,L)W(M, L) is defined by (7), where the sum is 00 when M=0M = 0: W(M,L)=1+∑l=1MgL(l).W(M, L) = 1 + \sum_{l=1}^{M} g_L(l).(7)✦

For natural numbers k,M∈ℕk, M \in \mathbb{N}, a finite list c=[(j1,l1),…,(jm,lm)]c = [(j_1, l_1), \dots, (j_m, l_m)] of pairs in ℕ×ℕ\mathbb{N} \times \mathbb{N} is a valid sparse gap code for kk and MM if j1<j2<…<jmj_1 < j_2 < \dots < j_m and every pair (j,l)(j, l) in cc satisfies 1≤j≤k1 \le j \le k and 1≤l≤M1 \le l \le M.✦ Given any finite list cc of pairs in ℕ×ℕ\mathbb{N} \times \mathbb{N} and an index i∈ℕi \in \mathbb{N}, the sparse gap code value vc(i)∈ℕv_c(i) \in \mathbb{N} is defined recursively on cc: it equals 00 when cc is empty, and for (j,l)::r(j, l) :: r it equals ll if i=ji = j and vr(i)v_r(i) otherwise.✦

The claim

Lemma 4.6. Let k,M∈ℕk, M \in \mathbb{N} and L∈ℝL \in \mathbb{R} with L≥0L \ge 0. For every subset 𝒱\mathcal{V} of functions c:{0,…,k−1}→{0,…,M}c : \{0, \dots, k-1\} \to \{0, \dots, M\}, the total weight of codes in 𝒱\mathcal{V} satisfies (8): ∑c∈𝒱∏i=0k−1g̃L(c(i))≤W(M,L)k.\sum_{c \in \mathcal{V}} \prod_{i=0}^{k-1} \tilde{g}_L(c(i)) \le W(M, L)^k.(8)✦

Let GG be a bond graph on vertex set VV and edge set EE, let x∈Vx \in V, let Q⊆EQ \subseteq E and J⊆ℕJ \subseteq \mathbb{N} be finite sets, and let p∈[0,1]p \in [0, 1]. Let cc be a finite list of pairs in ℕ×E\mathbb{N} \times E whose indices all lie in JJ, let 𝒜\mathcal{A} and ℬ\mathcal{B} be finite sets of splice states on EE, and let FF be a map from splice states to splice states such that for every s∈𝒜s \in \mathcal{A} one has F(s)∈ℬF(s) \in \mathcal{B} and a splice execution from ss to F(s)F(s) along cc. Then the splice tuple weights satisfy (9): ∑s∈𝒜μQ,J,p(s)≤∑s∈ℬμQ,J,p(s).\sum_{s \in \mathcal{A}} \mu_{Q, J, p}(s) \le \sum_{s \in \mathcal{B}} \mu_{Q, J, p}(s).(9)✦

For any bijection b:E→Eb : E \to E and any finite list c=[(i1,e1),…,(im,em)]c = [(i_1, e_1), \dots, (i_m, e_m)] of pairs in ℕ×E\mathbb{N} \times E, the splice code bijection Φb\Phi_b acts coordinatewise on edges as in (10): Φb([(i1,e1),…,(im,em)])=[(i1,b(e1)),…,(im,b(em))].\Phi_b\bigl([(i_1, e_1), \dots, (i_m, e_m)]\bigr) = [(i_1, b(e_1)), \dots, (i_m, b(e_m))].(10)✦

Let GG be a bond graph on VV and EE, let x∈Vx \in V, η:ℕ→𝒫(E)\eta : \mathbb{N} \to \mathcal{P}(E), y:ℕ→Vy : \mathbb{N} \to V, and ω⊆E\omega \subseteq E, and let J⊆ℕJ \subseteq \mathbb{N} be a finite set. If cc is a finite list of pairs in ℕ×E\mathbb{N} \times E such that every pair (i,e)(i, e) in cc satisfies i∈Ji \in J, then every pair (i,D)(i, D) in the replayed splice mask list satisfies (11): (i,D)∈RMx,η,y(c,ω)⟹i∈J.(i, D) \in \mathrm{RM}_{x, \eta, y}(c, \omega) \implies i \in J.(11)✦

For any k,M∈ℕk, M \in \mathbb{N}, any valid sparse gap code cc for kk and MM, and any index i∈ℕi \in \mathbb{N}, the sparse gap code value satisfies (12): vc(i)≤M.v_c(i) \le M.(12)✦

What is checked

In the Lean library, Lemma 4.6 is stated over bond graphs, open clusters, internal edges, splice states, splice executions, replayed splice masks, splice code bijections, Bernoulli splice tuple weights on finite edge and index sets with parameter p∈[0,1]p \in [0, 1], valid sparse gap codes, and the inverse code mass W(M,L)W(M, L) with L≥0L \ge 0.