OctoInform Beta

OpenAI preprint, September 2026 · §6. Recovering the two induced trees

Lemma 6.2: A matching in the primal network aligned with a state ss induces an acyclic subgraph in the dual triangulation DD

Selected edges from a recovery matching form a forest.

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

Consider a black-and-white face-colored sphere triangulation TT with outer black triangle t0t_0. Let AA denote the set of remaining black faces and XX the set of non-root vertices, that is, the vertices of TT not lying on t0t_0. Passing to the planar dual of TT yields a cubic bipartite graph whose vertices correspond to the faces of TT and whose edges correspond to the edges of TT. A state s:A→Xs : A \to X assigns to each non-root black face one of its incident vertices in a one-to-one correspondence. Given a perfect matching PP in the dual cubic bipartite graph whose edge at every t∈At \in A is incident in TT to s(t)s(t) and whose edge at t0t_0 lies on the boundary of t0t_0, the question addressed by Lemma 6.2 is whether the subgraph of TT formed by the edges of PP is a forest.

The Lean library formalizes this configuration through an algebraic pair of dual oriented networks NN and DD, where NN represents the primal cubic bipartite graph and DD represents its dual triangulation.

Dual oriented networks

An oriented network NN on a vertex set VV and an edge set EE consists of two maps tail⁡N,head⁡N:E→V\operatorname{tail}_N, \operatorname{head}_N : E \to V assigning to each edge e∈Ee \in E its tail and its head.✦ An edge e∈Ee \in E is incident to a vertex v∈Vv \in V in NN if tail⁡N(e)=v\operatorname{tail}_N(e) = v or head⁡N(e)=v\operatorname{head}_N(e) = v.✦ When EE is finite, the star of a vertex v∈Vv \in V in NN is the finite edge set defined by (1): star⁡N(v)={e∈E:e is incident to v in N}.\operatorname{star}_N(v) = \{e \in E : e \text{ is incident to } v \text{ in } N\}.(1)✦ Given a finite subset P⊆EP \subseteq E such that |star⁡N(v)∩P|=1|\operatorname{star}_N(v) \cap P| = 1 for every v∈Vv \in V, the matching edge of a vertex v∈Vv \in V is the unique edge eP(v)∈star⁡N(v)∩Pe_P(v) \in \operatorname{star}_N(v) \cap P.✦

Given an index set KK and a map j:K→Ej : K \to E, the restricted network N|jN|_j on VV and KK has tail map tail⁡N∘j\operatorname{tail}_N \circ j and head map head⁡N∘j\operatorname{head}_N \circ j.✦ For a subset P⊆EP \subseteq E, we write N|PN|_P for the restriction of NN along the inclusion P↪EP \hookrightarrow E. The underlying simple graph G(N)G(N) of NN is the simple graph on VV in which two distinct vertices v,w∈Vv, w \in V are adjacent if there exists an edge e∈Ee \in E whose tail and head are vv and ww in either order.✦ The network NN is simple if tail⁡N(e)≠head⁡N(e)\operatorname{tail}_N(e) \neq \operatorname{head}_N(e) for every e∈Ee \in E and the map e↦{tail⁡N(e),head⁡N(e)}e \mapsto \{\operatorname{tail}_N(e), \operatorname{head}_N(e)\} from EE to unordered pairs of vertices is injective.

The incidence matrix BN∈ℝV×EB_N \in \mathbb{R}^{V \times E} of NN has entries given by (2): (BN)v,e=𝟏head⁡N(e)=v−𝟏tail⁡N(e)=v,(B_N)_{v,e} = \mathbf{1}_{\operatorname{head}_N(e) = v} - \mathbf{1}_{\operatorname{tail}_N(e) = v},(2)✦ for v∈Vv \in V and e∈Ee \in E, where 𝟏𝒫\mathbf{1}_{\mathcal{P}} equals 11 when the condition 𝒫\mathcal{P} holds and 00 otherwise. When VV and EE are finite, the boundary map ∂N:ℝE→ℝV\partial_N : \mathbb{R}^E \to \mathbb{R}^V is the ℝ\mathbb{R}-linear map of BNB_N.✦ The gradient map ∇N:ℝV→ℝE\nabla_N : \mathbb{R}^V \to \mathbb{R}^E is the ℝ\mathbb{R}-linear map defined by (3): (∇Nf)(e)=f(head⁡N(e))−f(tail⁡N(e)),(\nabla_N f)(e) = f(\operatorname{head}_N(e)) - f(\operatorname{tail}_N(e)),(3)✦ for every f:V→ℝf : V \to \mathbb{R} and e∈Ee \in E. Two oriented networks NN on (V,E)(V, E) and DD on (F,E)(F, E) with finite vertex sets VV and FF and a finite edge set EE form a dual network pair if G(N)G(N) and G(D)G(D) are both connected and their cycle and cut spaces satisfy (4): ker⁡∂N=im⁡∇D,ker⁡∂D=im⁡∇N.\begin{aligned} \ker \partial_N &= \operatorname{im} \nabla_D, \\ \ker \partial_D &= \operatorname{im} \nabla_N. \end{aligned}(4)✦

The arc incidence sign σN(e,v)∈ℝ\sigma_N(e, v) \in \mathbb{R} of an edge e∈Ee \in E at a vertex v∈Vv \in V in NN is 11 if tail⁡N(e)=v\operatorname{tail}_N(e) = v and −1-1 otherwise.✦ A triangle in NN on a finite edge subset S⊆ES \subseteq E consists of three distinct corners c0,c1,c2∈Vc_0, c_1, c_2 \in V and three distinct edges e0,e1,e2∈Ee_0, e_1, e_2 \in E with {e0,e1,e2}=S\{e_0, e_1, e_2\} = S satisfying (5): {tail⁡N(ei),head⁡N(ei)}={ci,ci+1},\{\operatorname{tail}_N(e_i), \operatorname{head}_N(e_i)\} = \{c_i, c_{i+1}\},(5)✦ for each i∈{0,1,2}i \in \{0, 1, 2\}, with indices taken modulo 33.

Colored dual networks

Let NN on (V,E)(V, E) and DD on (F,E)(F, E) be oriented networks on finite vertex sets VV and FF and a finite edge set EE. A colored dual network MM on NN and DD consists of:

  • a dual network pair structure on NN and DD in which NN and DD are simple and G(N)G(N) is 33-regular;

  • a subset of black vertices in VV forming a proper 22-coloring of NN, so that for every e∈Ee \in E, tail⁡N(e)\operatorname{tail}_N(e) is black if and only if head⁡N(e)\operatorname{head}_N(e) is not black;

  • for each v∈Vv \in V, a triangle fvf_v in DD on star⁡N(v)\operatorname{star}_N(v), with corners c0(v),c1(v),c2(v)∈Fc_0(v), c_1(v), c_2(v) \in F and edges e0(v),e1(v),e2(v)∈Ee_0(v), e_1(v), e_2(v) \in E;

  • consistent face orientation: for every v∈Vv \in V and every i∈{0,1,2}i \in \{0, 1, 2\}, equation (6) holds, (∇N𝟏v)(ei(v))=σD(ei(v),ci(v)),(\nabla_N \mathbf{1}_v)(e_i(v)) = \sigma_D(e_i(v), c_i(v)),(6) where 𝟏v:V→ℝ\mathbf{1}_v : V \to \mathbb{R} is the indicator function of vv.

Fix a root vertex t0∈Vt_0 \in V. The set AA of non-root black vertices and the set XX of non-root dual vertices are defined by (7): A={v∈V:v is black and v≠t0},X=F\{c0(t0),c1(t0),c2(t0)}.\begin{aligned} A &= \{v \in V : v \text{ is black and } v \neq t_0\}, \\ X &= F \setminus \{c_0(t_0), c_1(t_0), c_2(t_0)\}. \end{aligned}(7)

States of a colored dual

A triangle system 𝒯\mathcal{T} on an index set II and a vertex set UU assigns to each t∈It \in I an injective map vt:{0,1,2}→Uv_t : \{0, 1, 2\} \to U such that no two distinct triangles share an edge: whenever t,u∈It, u \in I and i,j,k,l∈{0,1,2}i, j, k, l \in \{0, 1, 2\} satisfy i≠ji \neq j, k≠lk \neq l, vt(i)=vu(k)v_t(i) = v_u(k), and vt(j)=vu(l)v_t(j) = v_u(l), one has t=ut = u.✦ For a subset Y⊆UY \subseteq U, a state of 𝒯\mathcal{T} on YY is a choice function c:I→{0,1,2}c : I \to \{0, 1, 2\} such that the map t↦vt(c(t))t \mapsto v_t(c(t)) is injective with image YY.✦ For a state ss of 𝒯\mathcal{T} on YY and t∈It \in I, the vertex chosen by ss at tt is s(t)=vt(c(t))∈Ys(t) = v_t(c(t)) \in Y.✦

For a colored dual network MM on NN and DD with root vertex t0∈Vt_0 \in V, the dual triangle system is the triangle system on AA and FF assigning to each non-root black vertex t∈At \in A the corner map i↦ci(t)i \mapsto c_i(t) of its dual face ftf_t.✦ A state of MM relative to t0t_0 is a state of this dual triangle system on XX.✦

The claim

Lemma 6.2. Let NN on (V,E)(V, E) and DD on (F,E)(F, E) be oriented networks on finite vertex sets VV and FF and a finite edge set EE, let MM be a colored dual network on NN and DD, and let t0∈Vt_0 \in V be a black vertex. Let ss be a state of MM relative to t0t_0, and let P⊆EP \subseteq E be a finite edge set such that |star⁡N(v)∩P|=1|\operatorname{star}_N(v) \cap P| = 1 for every v∈Vv \in V. Suppose that for every non-root black vertex t∈At \in A, the matching edge eP(t)e_P(t) is incident in DD to the vertex s(t)s(t), and suppose that there exists i∈{0,1,2}i \in \{0, 1, 2\} such that eP(t0)=ei(t0)e_P(t_0) = e_i(t_0). Then the underlying simple graph of the restricted network D|PD|_P is a forest: G(D|P) is acyclic.G(D|_P) \text{ is acyclic.}(8)✦

What is checked

In the Lean library, Lemma 6.2 in (8) is stated over a colored dual network MM on dual oriented networks NN and DD, a black root vertex t0t_0, a state ss of MM relative to t0t_0, and a finite edge set PP meeting each vertex star of NN in one edge, aligned with ss at every non-root black vertex and with an edge of the dual face of t0t_0 at the root.