OctoInform Beta

OpenAI preprint, September 2026 · Section 1. Introduction

Section 1 (Setting): Discrete transition laws from KnK_n, expectation and probability under the terminal distribution, and support properties of the terminal graph

The uniform triangle-removal process and its terminal law.

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

Begin with the complete graph KnK_n on nn vertices. At each step, choose a triangle uniformly at random from those whose three edges are still present and remove its three edges; stop once no triangle remains. The removed triangles form an edge-disjoint packing, and the remaining edges form its terminal leave, whose size is denoted FnF_n. To study FnF_n quantitatively, the process is formulated as a discrete-time Markov chain on finite graphs on nn vertices, together with its terminal probability mass function, expectation, and event probabilities.

The triangle-removal process

Fix a natural number n∈ℕn \in \mathbb{N} and let Vn={0,1,…,n−1}V_n = \{0, 1, \dots, n - 1\} be the vertex set of size nn. A graph on nn vertices is a finite family GG of finite subsets of VnV_n, and we write 𝒢n\mathcal{G}_n for the finite set of all such families.✦ For any subset A⊆VnA \subseteq V_n and integer m≥0m \ge 0, write (Am)\binom{A}{m} for the set of all mm-element subsets of AA. The complete graph Kn∈𝒢nK_n \in \mathcal{G}_n is the set of all 22-element subsets of VnV_n, Kn=(Vn2).K_n = \binom{V_n}{2}.(1)✦

For any graph G∈𝒢nG \in \mathcal{G}_n, the set of triangles of GG, denoted T(G)T(G), consists of all 33-element subsets of VnV_n whose three 22-element subsets belong to GG: T(G)={t∈(Vn3):(t2)⊆G}.T(G) = \left\{ t \in \binom{V_n}{3} : \binom{t}{2} \subseteq G \right\}.(2)✦

For any G∈𝒢nG \in \mathcal{G}_n, write δG\delta_G for the point mass on 𝒢n\mathcal{G}_n concentrated at GG. One triangle-removal step from GG defines a discrete probability mass function S(G,⋅)S(G, \cdot) on 𝒢n\mathcal{G}_n: if T(G)T(G) is nonempty, S(G,⋅)S(G, \cdot) is the distribution of G\(t2)G \setminus \binom{t}{2} when tt is chosen uniformly at random from T(G)T(G), and if T(G)=∅T(G) = \emptyset, then S(G,⋅)S(G, \cdot) is δG\delta_G: S(G,⋅)={1|T(G)|∑t∈T(G)δG\(t2),if T(G)≠∅,δG,if T(G)=∅.S(G, \cdot) = \begin{cases} \dfrac{1}{|T(G)|} \sum_{t \in T(G)} \delta_{G \setminus \binom{t}{2}}, & \text{if } T(G) \neq \emptyset, \\[8pt] \delta_G, & \text{if } T(G) = \emptyset. \end{cases}(3)✦

For any initial graph G∈𝒢nG \in \mathcal{G}_n and any step count k∈ℕk \in \mathbb{N}, the kk-step distribution νk(G,⋅)\nu_k(G, \cdot) on 𝒢n\mathcal{G}_n is defined recursively by ν0(G,⋅)=δG\nu_0(G, \cdot) = \delta_G and, for every H∈𝒢nH \in \mathcal{G}_n, νk+1(G,H)=∑G′∈𝒢nνk(G,G′)S(G′,H).\nu_{k+1}(G, H) = \sum_{G' \in \mathcal{G}_n} \nu_k(G, G')\, S(G', H).(4)✦ The terminal law μn\mu_n on 𝒢n\mathcal{G}_n is the distribution after (n2)\binom{n}{2} steps starting from the complete graph KnK_n: μn=ν(n2)(Kn,⋅).\mu_n = \nu_{\binom{n}{2}}(K_n, \cdot).(5)✦ The support of μn\mu_n is the set supp⁡(μn)={G∈𝒢n:μn(G)>0}\operatorname{supp}(\mu_n) = \{G \in \mathcal{G}_n : \mu_n(G) > 0\}.

The claim

Definition. For every natural number n∈ℕn \in \mathbb{N} and every real-valued function f:𝒢n→ℝf : \mathcal{G}_n \to \mathbb{R}, the expectation of ff under the terminal law μn\mu_n is 𝔼n[f]=∑G∈𝒢nμn(G)f(G).\mathbb{E}_n[f] = \sum_{G \in \mathcal{G}_n} \mu_n(G)\, f(G).(6)✦ For every natural number n∈ℕn \in \mathbb{N} and every property PP on 𝒢n\mathcal{G}_n, let 𝟏P(G)\mathbf{1}_{P(G)} equal 11 if P(G)P(G) holds and 00 otherwise. The probability of PP under μn\mu_n is the expectation of this indicator, ℙn(P)=∑G∈𝒢nμn(G)𝟏P(G).\mathbb{P}_n(P) = \sum_{G \in \mathcal{G}_n} \mu_n(G)\, \mathbf{1}_{P(G)}.(7)✦

Theorem. For every natural number n∈ℕn \in \mathbb{N}, every graph G∈𝒢nG \in \mathcal{G}_n, and every triangle t∈T(G)t \in T(G), the one-step transition probability from GG to G\(t2)G \setminus \binom{t}{2} satisfies S(G,G\(t2))=1|T(G)|.S\biggl(G,\, G \setminus \binom{t}{2}\biggr) = \frac{1}{|T(G)|}.(8)✦ For every natural number n∈ℕn \in \mathbb{N} and every graph G∈supp⁡(μn)G \in \operatorname{supp}(\mu_n), the graph GG is triangle-free, T(G)=∅,T(G) = \emptyset,(9)✦ and its cardinality satisfies |G|≤(n2).|G| \le \binom{n}{2}.(10)✦

What is checked

In the Lean library, the definitions (6) and (7) and the properties (8), (9), and (10) are stated over the finite space 𝒢n\mathcal{G}_n of subset families on VnV_n, the complete graph KnK_n, the triangle set T(G)T(G), the one-step transition kernel SS, the kk-step distribution νk\nu_k, and the terminal law μn\mu_n obtained after (n2)\binom{n}{2} steps.