OctoInform Beta

OpenAI preprint, September 2026 · §2. Plane trees and the triangulation statement

§2 (setting): black/white counts, states, and pairs: Colored dual networks, triangle systems, states r:A→Xr : A \to X, partner pairs (r,s)(r, s), and equal nonroot and black counts

Face counts, states, and partner pairs in dual triangulations.

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 a black-and-white face-colored sphere triangulation TT with kk black faces and outer black triangle t0t_0, the three vertices of t0t_0 are the roots, AA is the set of remaining black faces, and XX is the set of nonroot vertices; both AA and XX have size k−1k - 1. A state is a bijection r:A→Xr : A \to X assigning to each black triangle t∈At \in A one of its three vertices, and a partner pair is an ordered pair (r,s)(r, s) of states such that r(t)≠s(t)r(t) \neq s(t) for every t∈At \in A.

To formalize this setting algebraically, the Lean library models a cubic bipartite planar graph and its face-colored dual triangulation as a pair of dual oriented networks (N,D)(N, D) sharing an edge set, and abstracts the vertex incidences of the nonroot black faces into a triangle system.

Oriented networks and colored duals

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 its tail and its head.✦ An edge e∈Ee \in E is incident to a vertex v∈Vv \in V 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 vv in NN, written star⁡N(v)\operatorname{star}_N(v), is the subset of EE consisting of all edges incident to vv.✦

An oriented network NN is simple if it has no loops, meaning tail⁡N(e)≠head⁡N(e)\operatorname{tail}_N(e) \neq \operatorname{head}_N(e) for every e∈Ee \in E, and no parallel edges, meaning the map sending each e∈Ee \in E to the unordered pair {tail⁡N(e),head⁡N(e)}\{\operatorname{tail}_N(e), \operatorname{head}_N(e)\} is injective.✦ The underlying simple graph G(N)G(N) of NN is the simple graph on VV in which distinct vertices v,w∈Vv, w \in V are adjacent whenever some edge e∈Ee \in E has unordered endpoint pair {v,w}\{v, w\}.✦

The incidence matrix BN∈ℝV×EB_N \in \mathbb{R}^{V \times E} of an oriented network NN has entry (BN)v,e(B_N)_{v,e} equal to 11 if head⁡N(e)=v\operatorname{head}_N(e) = v and tail⁡N(e)≠v\operatorname{tail}_N(e) \neq v, equal to −1-1 if tail⁡N(e)=v\operatorname{tail}_N(e) = v and head⁡N(e)≠v\operatorname{head}_N(e) \neq v, and equal to 00 otherwise.✦ The boundary map ∂N:ℝE→ℝV\partial_N : \mathbb{R}^E \to \mathbb{R}^V is the linear map given by BNB_N✦, and the gradient map ∇N:ℝV→ℝE\nabla_N : \mathbb{R}^V \to \mathbb{R}^E is the linear map sending f∈ℝVf \in \mathbb{R}^V to the function (∇Nf)(e)=f(head⁡N(e))−f(tail⁡N(e))(\nabla_N f)(e) = f(\operatorname{head}_N(e)) - f(\operatorname{tail}_N(e)).✦ Two oriented networks NN on (V,E)(V, E) and DD on (F,E)(F, E) sharing the edge set EE form a dual network pair if G(N)G(N) and G(D)G(D) are both connected, the cycle space ker⁡∂N\ker \partial_N equals the cut space im⁡∇D\operatorname{im} \nabla_D, and the cycle space ker⁡∂D\ker \partial_D equals the cut space im⁡∇N\operatorname{im} \nabla_N.✦

In an oriented network DD on (F,E)(F, E), a triangle on a finite edge subset S⊆ES \subseteq E consists of three distinct corners c0,c1,c2∈Fc_0, c_1, c_2 \in F 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 such that for each i∈{0,1,2}i \in \{0, 1, 2\}, the unordered endpoint pair of eie_i in DD is {ci,ci+1}\{c_i, c_{i+1}\}, with indices taken modulo 33.✦ For any e∈Ee \in E and u∈Fu \in F, the arc incidence sign σD(e,u)∈ℝ\sigma_D(e, u) \in \mathbb{R} is 11 if tail⁡D(e)=u\operatorname{tail}_D(e) = u and −1-1 otherwise.✦

A colored dual network MM on oriented networks NN on (V,E)(V, E) and DD on (F,E)(F, E) with finite vertex set VV and finite edge set EE (with FF assumed finite in the cardinality theorem) consists of the following data: NN and DD form a dual network pair; both NN and DD are simple networks; G(N)G(N) is 33-regular; a subset of VV is distinguished as the black vertices so that every edge e∈Ee \in E has exactly one black endpoint in NN; each vertex v∈Vv \in V is equipped with a triangle τ(v)\tau(v) in DD on star⁡N(v)\operatorname{star}_N(v), having 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; and for every v∈Vv \in V and every i∈{0,1,2}i \in \{0, 1, 2\}, the indicator function 𝟏v:V→ℝ\mathbf{1}_v : V \to \mathbb{R} (taking value 11 at vv and 00 elsewhere) satisfies (1): (∇N𝟏v)(ei(v))=σD(ei(v),ci(v)).(\nabla_N \mathbf{1}_v)\bigl(e_i(v)\bigr) = \sigma_D\bigl(e_i(v), c_i(v)\bigr).(1)

For a colored dual network MM on (N,D)(N, D) and a root vertex t0∈Vt_0 \in V, the set of nonroot black vertices of NN is AM(t0)={v∈V:v is black and v≠t0}A_M(t_0) = \{v \in V : v \text{ is black and } v \neq t_0\}✦, and the set of nonroot vertices of DD is XM(t0)=F\{c0(t0),c1(t0),c2(t0)}X_M(t_0) = F \setminus \{c_0(t_0), c_1(t_0), c_2(t_0)\}.✦

Triangle systems and states

A triangle system 𝒯\mathcal{T} on an index set AA and a vertex set UU assigns to each t∈At \in A three distinct vertices v0(t),v1(t),v2(t)∈Uv_0(t), v_1(t), v_2(t) \in U such that no two distinct indices share two vertices: whenever t,u∈At, u \in A 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, vi(t)=vk(u)v_i(t) = v_k(u), and vj(t)=vl(u)v_j(t) = v_l(u), one has t=ut = u.✦ Given a colored dual network MM on (N,D)(N, D) and a root vertex t0∈Vt_0 \in V, the dual triangle system 𝒯M(t0)\mathcal{T}_M(t_0) on (AM(t0),F)(A_M(t_0), F) assigns to each t∈AM(t0)t \in A_M(t_0) the three corners c0(t),c1(t),c2(t)∈Fc_0(t), c_1(t), c_2(t) \in F of the triangle τ(t)\tau(t) in DD.✦

In the bipartite incidence graph between the nonroot black faces and the nonroot vertices, a state is a perfect matching and a partner pair is a pair of edge-disjoint perfect matchings.

Given a triangle system 𝒯\mathcal{T} on (A,U)(A, U) and a subset X⊆UX \subseteq U, a state of 𝒯\mathcal{T} on XX is a choice map c:A→{0,1,2}c : A \to \{0, 1, 2\} such that the induced map r:A→Ur : A \to U sending t∈At \in A to its chosen vertex r(t)=vc(t)(t)r(t) = v_{c(t)}(t) is injective and has image equal to XX; we write State⁡(𝒯,X)\operatorname{State}(\mathcal{T}, X) for the set of states of 𝒯\mathcal{T} on XX and identify a state with its bijection r:A→Xr : A \to X.✦ Two states r,s∈State⁡(𝒯,X)r, s \in \operatorname{State}(\mathcal{T}, X) are partner states if r(t)≠s(t)r(t) \neq s(t) for every t∈At \in A.✦

The claim

Definition. Let 𝒯\mathcal{T} be a triangle system on (A,U)(A, U) and let X⊆UX \subseteq U. The set of partner pairs of states of 𝒯\mathcal{T} on XX is given by (2): Pair⁡(𝒯,X)={(r,s)∈State⁡(𝒯,X)×State⁡(𝒯,X):r(t)≠s(t) for all t∈A}.\begin{aligned} \operatorname{Pair}(\mathcal{T}, X) = \{&(r, s) \in \operatorname{State}(\mathcal{T}, X) \times \operatorname{State}(\mathcal{T}, X) : \\ &r(t) \neq s(t) \text{ for all } t \in A\}. \end{aligned}(2)✦ Let MM be a colored dual network on (N,D)(N, D) with a finite edge set EE and let t0∈Vt_0 \in V. The set of states of MM at t0t_0 is defined by (3): State⁡M(t0)=State⁡(𝒯M(t0),XM(t0)).\operatorname{State}_M(t_0) = \operatorname{State}\bigl(\mathcal{T}_M(t_0), X_M(t_0)\bigr).(3)✦

Theorem. Let MM be a colored dual network on (N,D)(N, D) with a finite edge set EE and finite dual vertex set FF, and let t0∈Vt_0 \in V be a black vertex. Then the sets of nonroot dual vertices XM(t0)X_M(t_0) and nonroot black vertices AM(t0)A_M(t_0) satisfy (4): |XM(t0)|=|AM(t0)|.|X_M(t_0)| = |A_M(t_0)|.(4)✦

What is checked

The definitions and cardinality identity above are stated over an abstract triangle system on an arbitrary index set AA and vertex set UU with a target subset X⊆UX \subseteq U, and over a colored dual network on a dual pair of simple oriented networks (N,D)(N, D) in which G(N)G(N) is 33-regular and bipartite, with a root vertex t0∈Vt_0 \in V that is assumed black in the theorem. From a colored dual network MM and any root vertex t0∈Vt_0 \in V, the Lean library constructs the dual triangle system 𝒯M(t0)\mathcal{T}_M(t_0) on (AM(t0),F)(A_M(t_0), F), establishing that the three corners of each dual face triangle are distinct and that no two distinct nonroot black vertices share two corners in DD.