OctoInform Beta

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

Lemma 2.1: For dual oriented networks (N,D)(N, D) with DD simple, the complement of any acyclic edge set in DD is connected in NN

Complementary edge sets of dual forests are connected.

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

For a connected graph embedded on the sphere, planar duality pairs each edge of the primal graph with a corresponding edge of the dual graph and links acyclicity in one graph to connectivity in the other. Removing an acyclic collection of edges from one side leaves a complementary collection of edges on the dual side that still connects all vertices.

The Lean library develops this relationship algebraically for a pair of oriented networks on a common edge set, using their incidence matrices, boundary maps, and gradient maps to express the cycle-cut duality between the two networks.

Oriented networks

An oriented network NN on a vertex set VV and an edge set EE consists of two maps tailN:E→V\text{tail}_N : E \to V and headN:E→V\text{head}_N : E \to V, assigning to each edge e∈Ee \in E its tail tailN(e)\text{tail}_N(e) and its head headN(e)\text{head}_N(e).✦

The underlying simple graph G(N)G(N) of an oriented network NN has vertex set VV, with two vertices v,w∈Vv, w \in V adjacent if and only if v≠wv \neq w and there exists an edge e∈Ee \in E such that either tailN(e)=v\text{tail}_N(e) = v and headN(e)=w\text{head}_N(e) = w, or tailN(e)=w\text{tail}_N(e) = w and headN(e)=v\text{head}_N(e) = v.✦

An oriented network NN on (V,E)(V, E) is simple if it has no loops, meaning tailN(e)≠headN(e)\text{tail}_N(e) \neq \text{head}_N(e) for every e∈Ee \in E, and the map sending each edge e∈Ee \in E to its unordered pair of endpoints {tailN(e),headN(e)}\{\text{tail}_N(e), \text{head}_N(e)\} is injective.✦

Given an oriented network NN on (V,E)(V, E) and a map j:K→Ej : K \to E from a set KK, the restricted network N|jN|_j on (V,K)(V, K) is the oriented network with tail map tailN∘j\text{tail}_N \circ j and head map headN∘j\text{head}_N \circ j.✦ For a subset S⊆ES \subseteq E, restricting NN along the inclusion S↪ES \hookrightarrow E gives the network N|SN|_S on (V,S)(V, S) keeping only the edges in SS.

Algebraic duality

For an oriented network NN on (V,E)(V, E), the incidence matrix BNB_N is the V×EV \times E real matrix whose (v,e)(v, e)-entry is given by (1): (BN)v,e=𝟏headN(e)=v−𝟏tailN(e)=v,(B_N)_{v, e} = \mathbf{1}_{\text{head}_N(e) = v} - \mathbf{1}_{\text{tail}_N(e) = v},(1)✦ where 𝟏P\mathbf{1}_P equals 11 when PP holds and 00 otherwise.

The boundary map ∂N:ℝE→ℝV\partial_N : \mathbb{R}^E \to \mathbb{R}^V is the linear map defined when EE is finite by the matrix action (2): (∂Nx)(v)=∑e∈E(BN)v,ex(e)(\partial_N x)(v) = \sum_{e \in E} (B_N)_{v, e}\, x(e)(2)✦ for every x∈ℝEx \in \mathbb{R}^E and v∈Vv \in V. The gradient map ∇N:ℝV→ℝE\nabla_N : \mathbb{R}^V \to \mathbb{R}^E is the linear map defined by (3): (∇Nf)(e)=f(headN(e))−f(tailN(e))(\nabla_N f)(e) = f(\text{head}_N(e)) - f(\text{tail}_N(e))(3)✦ for every f∈ℝVf \in \mathbb{R}^V and e∈Ee \in E.

Two oriented networks NN on (V,E)(V, E) and DD on (V*,E)(V^*, E) sharing the same edge set EE form a dual network pair if their underlying simple graphs G(N)G(N) and G(D)G(D) are both connected and their boundary kernels equal each other’s gradient images as in (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 claim

Lemma 2.1. Let NN on (V,E)(V, E) and DD on (V*,E)(V^*, E) be oriented networks with any vertex set VV, finite dual vertex set V*V^*, and finite edge set EE that form a dual network pair, and suppose that DD is simple. Then for every finite subset S⊆ES \subseteq E, writing Sc=E\SS^c = E \setminus S, G(D|S) is acyclic⟹G(N|Sc) is connected.G(D|_S) \text{ is acyclic} \implies G(N|_{S^c}) \text{ is connected}.(5)✦

In the paper, the result reads: for a connected graph MM embedded on the sphere (corresponding to DD) and its dual M*M^* (corresponding to NN), the duals of the edges complementary to a spanning tree of MM form a spanning tree of M*M^*, and more generally the duals of the edges complementary to a spanning forest of MM form a connected spanning subgraph of M*M^*. Lemma 2.1 captures the spanning-forest part of that result in the algebraic setting of a dual network pair with DD simple, stating connectivity of G(N|Sc)G(N|_{S^c}) under the cycle-cut identities (4).

What is checked

The Lean library states Lemma 2.1 (5) over a dual network pair (N,D)(N, D) with any primal vertex set VV, finite dual vertex set V*V^*, and finite common edge set EE, assuming that DD is simple and that the underlying simple graph G(D|S)G(D|_S) of the restriction of DD to a finite edge subset S⊆ES \subseteq E is acyclic. Its hypotheses and conclusion are formulated from the definitions of an oriented network, its underlying simple graph, network restriction, incidence matrix, boundary map, gradient map, and dual network pair.