OctoInform Beta

OpenAI preprint, September 2026 · Section 5. Coupling the finite and independent tests

Section 5.1 (Setting): Formal birth graphs, triangle growth processes, and spawn rules induced by recorded query forests over the triangle hypergraph HGH_G

Birth graphs and spawn rules from call forests.

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 coupling between the finite triangle-removal process and its independent unfolding, the visited recursive queries form a finite rooted forest. From this forest one constructs a formal graph on newly introduced vertices, ordered so that root vertices precede all other vertices and every child follows its parent, together with a label map into the host graph. The definitions and claims below formulate this construction via birth graphs, triangle growth processes, and recorded call forests.

For a natural number nn, a graph GG on nn vertices is a finite set of subsets of {0,…,n−1}\{0, \dots, n-1\}.✦ Its simple graph view G̃\widetilde{G} is the simple graph on {0,…,n−1}\{0, \dots, n-1\} in which vertices xx and yy are adjacent, written x∼G̃yx \sim_{\widetilde{G}} y, if and only if x≠yx \ne y and {x,y}∈G\{x, y\} \in G.✦ The triangles of GG, denoted 𝒯(G)\mathcal{T}(G), are the three-element subsets T⊆{0,…,n−1}T \subseteq \{0, \dots, n-1\} such that every two-element subset of TT belongs to GG.✦ The triangle hypergraph HGH_G of GG maps each subset T⊆{0,…,n−1}T \subseteq \{0, \dots, n-1\} to the set (T2)\binom{T}{2} of all two-element subsets of TT when T∈𝒯(G)T \in \mathcal{T}(G), and to ∅\emptyset otherwise.✦

For any three-element finite set TT and any two-element subset e⊆Te \subseteq T, there is a unique element x∈T\ex \in T \setminus e, so that T={x}∪eT = \{x\} \cup e✦; we denote this third vertex by third⁡(T,e)\operatorname{third}(T, e).✦ On any ambient set VV, a finite collection EE of finite subsets of VV is an edge matching if every e∈Ee \in E has |e|=2|e| = 2 and any two distinct e,f∈Ee, f \in E are disjoint.✦

Birth graphs

In the independent unfolding, ordering roots first and parents before children ensures that each new formal vertex connects only to previously introduced vertices, and to at most two of them. For a natural number NN, a birth graph BB on NN vertices is a map old⁡B\operatorname{old}_B assigning to each v∈{0,…,N−1}v \in \{0, \dots, N-1\} a subset old⁡B(v)⊆{0,…,N−1}\operatorname{old}_B(v) \subseteq \{0, \dots, N-1\} of older neighbors such that u<vfor every u∈old⁡B(v),|old⁡B(v)|≤2for every v∈{0,…,N−1}.\begin{aligned} u < v &\quad \text{for every } u \in \operatorname{old}_B(v), \\ |\operatorname{old}_B(v)| &\le 2 \quad \text{for every } v \in \{0, \dots, N-1\}. \end{aligned}(1)✦ Associated to BB is its underlying simple graph ΓB\Gamma_B on {0,…,N−1}\{0, \dots, N-1\}, whose edges join each vertex to its older neighbors.✦ For each v∈{0,…,N−1}v \in \{0, \dots, N-1\}, the parent vertex set of vv is PB(v)={v}∪old⁡B(v)P_B(v) = \{v\} \cup \operatorname{old}_B(v).✦ Given a label map λ:{0,…,N−1}→V\lambda : \{0, \dots, N-1\} \to V into a vertex set VV, the parent vertex label set of vv is the image λ(PB(v))={λ(u):u∈PB(v)}\lambda(P_B(v)) = \{\lambda(u) : u \in P_B(v)\}.✦

In any simple graph HH on a vertex set VV, a finite subset T⊆VT \subseteq V is a triangle in HH if |T|=3|T| = 3 and every two distinct vertices in TT are adjacent in HH.✦ A birth graph BB on NN vertices satisfies the birth graph spawn rules with respect to a simple graph HH on VV and a label map λ:{0,…,N−1}→V\lambda : \{0, \dots, N-1\} \to V if all four of the following conditions hold:✦

  1. For all a,b∈{0,…,N−1}a, b \in \{0, \dots, N-1\}, if a∼ΓBba \sim_{\Gamma_B} b, then λ(a)∼Hλ(b)\lambda(a) \sim_H \lambda(b).

  2. For every v∈{0,…,N−1}v \in \{0, \dots, N-1\} with |old⁡B(v)|=2|\operatorname{old}_B(v)| = 2, the two distinct vertices of old⁡B(v)\operatorname{old}_B(v) are adjacent in ΓB\Gamma_B.

  3. For all v,p∈{0,…,N−1}v, p \in \{0, \dots, N-1\}, if p∈old⁡B(v)p \in \operatorname{old}_B(v) satisfies a≤pa \le p for every a∈old⁡B(v)a \in \operatorname{old}_B(v) and |old⁡B(p)|=2|\operatorname{old}_B(p)| = 2, then λ(PB(v))≠λ(PB(p))\lambda(P_B(v)) \ne \lambda(P_B(p)).

  4. For all v,w∈{0,…,N−1}v, w \in \{0, \dots, N-1\}, if |old⁡B(v)|=2|\operatorname{old}_B(v)| = 2, old⁡B(v)=old⁡B(w)\operatorname{old}_B(v) = \operatorname{old}_B(w), and λ(v)=λ(w)\lambda(v) = \lambda(w), then v=wv = w.

Triangle growth processes

Let VV be a set, let NN and RR be natural numbers, let λ:{0,…,N−1}→V\lambda : \{0, \dots, N-1\} \to V be a label map that is injective on {v∈{0,…,N−1}:v<R}\{v \in \{0, \dots, N-1\} : v < R\}, and let EE be an edge matching on VV. The seed birth graph S(λ,E,R)S(\lambda, E, R) on NN vertices has older-neighbor map old⁡S(λ,E,R)(v)={u∈{0,…,N−1}:v<R,u<v,{λ(u),λ(v)}∈E}.\operatorname{old}_{S(\lambda, E, R)}(v) = \{u \in \{0, \dots, N-1\} : v < R,\; u < v,\; \{\lambda(u), \lambda(v)\} \in E\}.(2)✦

For a simple graph HH on VV and natural numbers NN and RR, a triangle growth process AA on HH with NN vertices and RR roots consists of a label map λA:{0,…,N−1}→V\lambda_A : \{0, \dots, N-1\} \to V, a seed birth graph SAS_A on NN vertices, an attachment map att⁡A\operatorname{att}_A assigning to each v∈{0,…,N−1}v \in \{0, \dots, N-1\} a finite subset of VV, and a parent map par⁡A:{0,…,N−1}→{0,…,N−1}∪{⊥}\operatorname{par}_A : \{0, \dots, N-1\} \to \{0, \dots, N-1\} \cup \{\bot\}, subject to the following conditions on the root set RA={v∈{0,…,N−1}:v<R}R_A = \{v \in \{0, \dots, N-1\} : v < R\} and on the non-root vertices v≥Rv \ge R:✦

  1. For every v<Rv < R, we have |old⁡SA(v)|≤1|\operatorname{old}_{S_A}(v)| \le 1, and every u∈old⁡SA(v)u \in \operatorname{old}_{S_A}(v) satisfies u<Ru < R and λA(u)∼HλA(v)\lambda_A(u) \sim_H \lambda_A(v). The map λA\lambda_A is injective on RAR_A.

  2. For every v≥Rv \ge R, we have |att⁡A(v)|=2|\operatorname{att}_A(v)| = 2, λA(v)∉att⁡A(v)\lambda_A(v) \notin \operatorname{att}_A(v), and {λA(v)}∪att⁡A(v)\{\lambda_A(v)\} \cup \operatorname{att}_A(v) is a triangle in HH.

  3. For every v≥Rv \ge R with par⁡A(v)=⊥\operatorname{par}_A(v) = \bot, there exist x,y<Rx, y < R such that x∼ΓSAyx \sim_{\Gamma_{S_A}} y and att⁡A(v)={λA(x),λA(y)}\operatorname{att}_A(v) = \{\lambda_A(x), \lambda_A(y)\}.

  4. For every v≥Rv \ge R with par⁡A(v)=p\operatorname{par}_A(v) = p, we have R≤p<vR \le p < v, att⁡A(v)⊆{λA(p)}∪att⁡A(p)\operatorname{att}_A(v) \subseteq \{\lambda_A(p)\} \cup \operatorname{att}_A(p), att⁡A(v)≠att⁡A(p)\operatorname{att}_A(v) \ne \operatorname{att}_A(p), and {λA(v)}∪att⁡A(v)≠{λA(p)}∪att⁡A(p)\{\lambda_A(v)\} \cup \operatorname{att}_A(v) \ne \{\lambda_A(p)\} \cup \operatorname{att}_A(p).

  5. For all v,w≥Rv, w \ge R, if par⁡A(v)=par⁡A(w)\operatorname{par}_A(v) = \operatorname{par}_A(w), att⁡A(v)=att⁡A(w)\operatorname{att}_A(v) = \operatorname{att}_A(w), and λA(v)=λA(w)\lambda_A(v) = \lambda_A(w), then v=wv = w.

The older-neighbor map old⁡A\operatorname{old}_A of a triangle growth process AA is defined recursively on v∈{0,…,N−1}v \in \{0, \dots, N-1\}, well-defined because par⁡A(v)<v\operatorname{par}_A(v) < v whenever par⁡A(v)≠⊥\operatorname{par}_A(v) \ne \bot, by old⁡A(v)={old⁡SA(v),v<R,{x∈RA:λA(x)∈att⁡A(v)},v≥R,par⁡A(v)=⊥,{x∈{p}∪old⁡A(p):λA(x)∈att⁡A(v)},v≥R,par⁡A(v)=p.\operatorname{old}_A(v) = \begin{cases} \operatorname{old}_{S_A}(v), & v < R, \\ \{x \in R_A : \lambda_A(x) \in \operatorname{att}_A(v)\}, & v \ge R,\; \operatorname{par}_A(v) = \bot, \\ \{x \in \{p\} \cup \operatorname{old}_A(p) : \lambda_A(x) \in \operatorname{att}_A(v)\}, & v \ge R,\; \operatorname{par}_A(v) = p. \end{cases}(3)✦ The map old⁡A\operatorname{old}_A in (3) defines a birth graph B(A)B(A) on NN vertices, the birth graph of AA.✦

Recorded call forests

Let ι\iota be a set and let τ\tau be a finite set. A recursive query call cc on (ι,τ)(\iota, \tau) records an address (a finite list of pairs in ι×τ\iota \times \tau), a finite focus set focus⁡(c)⊆ι\operatorname{focus}(c) \subseteq \iota, and an optional parent hyperedge parent⁡(c)∈τ∪{⊥}\operatorname{parent}(c) \in \tau \cup \{\bot\}.✦ Given a hypergraph HH mapping each t∈τt \in \tau to a finite subset H(t)⊆ιH(t) \subseteq \iota, a finite focus set E⊆ιE \subseteq \iota, and an optional parent π∈τ∪{⊥}\pi \in \tau \cup \{\bot\}, the grid query candidate pairs are Cand⁡H(E,π)={(e,t)∈E×τ:e∈H(t) and t≠π},\operatorname{Cand}_H(E, \pi) = \{(e, t) \in E \times \tau : e \in H(t) \text{ and } t \ne \pi\},(4)✦ where the condition t≠πt \ne \pi holds automatically when π=⊥\pi = \bot. A recursive query call aa is a child of cc in HH if there exists p=(e,t)∈Cand⁡H(focus⁡(c),parent⁡(c))p = (e, t) \in \operatorname{Cand}_H(\operatorname{focus}(c), \operatorname{parent}(c)) such that aa has address formed by prepending pp to the address of cc, focus H(t)\{e}H(t) \setminus \{e\}, and parent tt.✦

A recorded call forest FF for (H,c)(H, c) consists of a size m∈ℕm \in \mathbb{N}, a sequence of recursive query calls c0,…,cm−1c_0, \dots, c_{m-1} on (ι,τ)(\iota, \tau) with pairwise distinct addresses, a root index r∈{0,…,m−1}r \in \{0, \dots, m-1\} satisfying cr=cc_r = c, and a parent map πF:{0,…,m−1}\{r}→{0,…,m−1}\pi_F : \{0, \dots, m-1\} \setminus \{r\} \to \{0, \dots, m-1\} such that for every i≠ri \ne r, the call cic_i is a child of cπF(i)c_{\pi_F(i)} in HH and πF(i)<i\pi_F(i) < i.✦

Now specialize to a graph GG on nn vertices, its triangle hypergraph HGH_G, a root call cc on finite subsets of {0,…,n−1}\{0, \dots, n-1\}, and a recorded call forest FF for (HG,c)(H_G, c). The forest root vertex set is V0=⋃e∈focus⁡(c)eV_0 = \bigcup_{e \in \operatorname{focus}(c)} e✦, with root vertex count RF=|V0|R_F = |V_0|✦ and total vertex count NF=RF+(m−1)N_F = R_F + (m - 1).✦ For each non-root call i≠ri \ne r, choose an incoming candidate pair (ei,Ti)∈Cand⁡HG(focus⁡(cπF(i)),parent⁡(cπF(i)))(e_i, T_i) \in \operatorname{Cand}_{H_G}(\operatorname{focus}(c_{\pi_F(i)}), \operatorname{parent}(c_{\pi_F(i)})) witnessing that cic_i is a child of cπF(i)c_{\pi_F(i)}✦; then Ti∈𝒯(G)T_i \in \mathcal{T}(G) and ei∈(Ti2)e_i \in \binom{T_i}{2}, and the new vertex of call ii is new⁡F(i)=third⁡(Ti,ei)\operatorname{new}_F(i) = \operatorname{third}(T_i, e_i).✦

Formal vertices v∈{0,…,NF−1}v \in \{0, \dots, N_F - 1\} with v≥RFv \ge R_F correspond to non-root calls through the call index ι(v)=v−RF+1∈{0,…,m−1}\iota(v) = v - R_F + 1 \in \{0, \dots, m-1\}✦, and conversely each non-root call i≠ri \ne r has birth index β(i)=RF+(i−1)∈{0,…,NF−1}\beta(i) = R_F + (i - 1) \in \{0, \dots, N_F - 1\}.✦ Fix a bijection λ0:{0,…,RF−1}→V0\lambda_0 : \{0, \dots, R_F - 1\} \to V_0.✦ The forest vertex label map λF:{0,…,NF−1}→{0,…,n−1}\lambda_F : \{0, \dots, N_F - 1\} \to \{0, \dots, n-1\}, attachment map att⁡F\operatorname{att}_F, and birth parent map par⁡F\operatorname{par}_F are defined by λF(v)={λ0(v),v<RF,new⁡F(ι(v)),v≥RF,att⁡F(v)={∅,v<RF,eι(v),v≥RF,par⁡F(v)={β(πF(ι(v))),v≥RF and πF(ι(v))≠r,⊥,otherwise.\begin{aligned} \lambda_F(v) &= \begin{cases} \lambda_0(v), & v < R_F, \\ \operatorname{new}_F(\iota(v)), & v \ge R_F, \end{cases} \\ \operatorname{att}_F(v) &= \begin{cases} \emptyset, & v < R_F, \\ e_{\iota(v)}, & v \ge R_F, \end{cases} \\ \operatorname{par}_F(v) &= \begin{cases} \beta(\pi_F(\iota(v))), & v \ge R_F \text{ and } \pi_F(\iota(v)) \ne r, \\ \bot, & \text{otherwise}. \end{cases} \end{aligned}(5) When focus⁡(c)\operatorname{focus}(c) is an edge matching and focus⁡(c)⊆G\operatorname{focus}(c) \subseteq G, the tuple (λF,S(λF,focus⁡(c),RF),att⁡F,par⁡F)(\lambda_F, S(\lambda_F, \operatorname{focus}(c), R_F), \operatorname{att}_F, \operatorname{par}_F) from (2) and (5) forms a triangle growth process AFA_F on G̃\widetilde{G} with NFN_F vertices and RFR_F roots✦; write BF=B(AF)B_F = B(A_F) for its birth graph.

The claim

Theorem. First, for any natural number NN, any birth graph BB on NN vertices, and any vertices u,v∈{0,…,N−1}u, v \in \{0, \dots, N-1\}, adjacency in the underlying simple graph ΓB\Gamma_B satisfies u∼ΓBv⇔u∈old⁡B(v)∨v∈old⁡B(u).u \sim_{\Gamma_B} v \iff u \in \operatorname{old}_B(v) \lor v \in \operatorname{old}_B(u).(6)✦ Second, for any birth graph BB on NN vertices and any vertices a<b<ca < b < c in {0,…,N−1}\{0, \dots, N-1\} such that a∼ΓBca \sim_{\Gamma_B} c and b∼ΓBcb \sim_{\Gamma_B} c, the parent vertex set of cc satisfies PB(c)={a,b,c}.P_B(c) = \{a, b, c\}.(7)✦ Third, for any set ι\iota, any finite set τ\tau, any hypergraph HH from τ\tau to finite subsets of ι\iota, any recursive query call cc on (ι,τ)(\iota, \tau), and any recorded call forest FF for (H,c)(H, c) of size mm with root rr and parent map πF\pi_F, the parent relation on {0,…,m−1}\{0, \dots, m-1\} defined by i≺Fj⇔j≠r and i=πF(j)i \prec_F j \iff j \ne r \text{ and } i = \pi_F(j)(8)✦ is well-founded. Fourth, for any natural number nn, any graph GG on nn vertices, any recursive query call cc on the triangle hypergraph HGH_G such that focus⁡(c)\operatorname{focus}(c) is an edge matching with focus⁡(c)⊆G\operatorname{focus}(c) \subseteq G, and any recorded call forest FF for (HG,c)(H_G, c), the birth graph BFB_F of the induced triangle growth process AFA_F satisfies the birth graph spawn rules with respect to G̃\widetilde{G} and λF\lambda_F, namely for all a,b,v,w,p∈{0,…,NF−1}a, b, v, w, p \in \{0, \dots, N_F - 1\}, a∼ΓBFb⟹λF(a)∼G̃λF(b),|old⁡BF(v)|=2,a,b∈old⁡BF(v),a≠b⟹a∼ΓBFb,p=max⁡old⁡BF(v),|old⁡BF(p)|=2⟹λF(PBF(v))≠λF(PBF(p)),|old⁡BF(v)|=2,old⁡BF(v)=old⁡BF(w),λF(v)=λF(w)⟹v=w.\begin{aligned} a \sim_{\Gamma_{B_F}} b &\implies \lambda_F(a) \sim_{\widetilde{G}} \lambda_F(b), \\ |\operatorname{old}_{B_F}(v)| = 2,\; a, b \in \operatorname{old}_{B_F}(v),\; a \ne b &\implies a \sim_{\Gamma_{B_F}} b, \\ p = \max \operatorname{old}_{B_F}(v),\; |\operatorname{old}_{B_F}(p)| = 2 &\implies \lambda_F(P_{B_F}(v)) \ne \lambda_F(P_{B_F}(p)), \\ |\operatorname{old}_{B_F}(v)| = 2,\; \operatorname{old}_{B_F}(v) = \operatorname{old}_{B_F}(w),\; \lambda_F(v) = \lambda_F(w) &\implies v = w. \end{aligned}(9)✦

What is checked

The theorem is stated over birth graphs BB on NN vertices with their underlying simple graphs ΓB\Gamma_B, recorded call forests FF over arbitrary finite-hyperedge hypergraphs HH, and the triangle growth process AFA_F induced by a recorded call forest over the triangle hypergraph HGH_G of a graph GG on nn vertices when the root focus is an edge matching contained in GG. In addition, the Lean library establishes the existence of the third vertex of a triangle opposite an edge✦, shows that the call index ι(v)\iota(v) of every non-root formal vertex v≥RFv \ge R_F differs from the root rr✦, verifies that λF\lambda_F is injective on the root vertices {v:v<RF}\{v : v < R_F\}✦, and proves that non-root formal vertices with the same birth parent, attachment edge, and vertex label are equal.✦