Plectis Atlas
Search

↑ and ↓ move, Enter opens, Esc closes.

Lean statement

Face correspondence under triangle expansion

Lean is a language for mathematical statements and proofs that a computer can verify. This page shows one statement file from OpenAI’s release, possible paper matches and independent reports. The code-like names below identify the definitions or theorems selected by the proof-verification settings.

Theorem selected for verification: OAI.TriangleFace198.triangle_expansion_face

Lean statement file: TriangleFace.leanShow on the mapOpenAI’s Lean catalogue does not list this as a main result; the release’s Lean notes for family 113 link it.

The Lean statement

The lines of the Lean statement that state the theorem, then the definitions in the file that it uses.

theorem triangle_expansion_face {V : Type uV} {E : Type uE}    [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E] (G : LooplessGraph V E) (v : V)    (hdeg : Fintype.card {e : E // G.Incident v e} = 3)    (_hmatching : Nonempty G.Matching) :    ∃ (c : E → Fin 3) (hc : LocalLabels G v c),      let H := triangleExpansion G c v

A Lean statement states the theorem and leaves its proof as sorry on purpose. OpenAI’s proof is in a separate solution module, and a program called Comparator checks that proof against this statement.

Definitions needed to read it

Local definitions the statement names, followed through the definitions they name in turn. The match is by name in the source text, so a name reached only through notation can be missed; the full file is below.

  • structure OAI.MatchingEntropyBounds.LooplessGraph line 14

    structure LooplessGraph (V : Type uV) (E : Type uE) where  left : E → V  right : E → V  loopless : ∀ e, left e ≠ right e
  • definition OAI.MatchingEntropyBounds.LooplessGraph.Incident line 24

    def Incident (G : LooplessGraph V E) (v : V) (e : E) : Prop :=  G.left e = v ∨ G.right e = v
  • definition OAI.MatchingEntropyBounds.LooplessGraph.IsPerfectMatching line 30

    def IsPerfectMatching (G : LooplessGraph V E) (M : Finset E) : Prop :=  ∀ v, ∃! e, e ∈ M ∧ G.Incident v e
  • abbreviation OAI.MatchingEntropyBounds.LooplessGraph.Matching line 33

    abbrev Matching (G : LooplessGraph V E) := {M : Finset E // G.IsPerfectMatching M}
  • definition OAI.TriangleFace198.LocalLabels line 141

    def LocalLabels (G : LooplessGraph V E) (v : V) (c : E → Fin 3) : Prop :=  ∀ i, ∃! e, G.Incident v e ∧ c e = i

No confident match with a paper statement

No paper theorem is paired with this Lean statement.

Why none: no paper statement matches the Lean text clearly enough to pair, so the closest candidates are listed below.

Statements in Entropy and Face Dimension of the Perfect-Matching Polytope come first because the AI draft reading of OpenAI’s note shares words with that paper’s title.

Other possible paper matches, closest wording first

  • Theorem A.4 of Entropy and Face Dimension of the Perfect-Matching Polytope. Words of the Lean statement, its names split into words, that also appear in the theorem: nonempty, finite, loopless, perfect and matching. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: bounds.
  • Theorem 1.1 of Entropy and Face Dimension of the Perfect-Matching Polytope. Words of the Lean statement, its names split into words, that also appear in the theorem: loopless, perfect and matching. Found in the paper’s title, which its main theorem states: face. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: bounds.
  • Theorem 4.3 of Entropy and Face Dimension of the Perfect-Matching Polytope. Words of the Lean statement, its names split into words, that also appear in the theorem: finite, loopless, perfect and matchings.
  • Proposition A.2 of Entropy and Face Dimension of the Perfect-Matching Polytope. Words of the Lean statement, its names split into words, that also appear in the theorem: face, loopless and graph.
  • Corollary A.7 of Entropy and Face Dimension of the Perfect-Matching Polytope. Words of the Lean statement, its names split into words, that also appear in the theorem: loopless, graph, perfect and matching. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: vertex and bound.

How Atlas selects possible matches: it compares words in the Lean statement with every statement in the family. It also splits Lean names into words. The release’s label and note receive less weight; a main theorem wins a close match. If the Lean wording yields no clear match, Atlas uses the catalogue description. This selects passages to compare; it does not establish that they mean the same thing.

Reported Comparator runs

three independent groups report that Comparator accepted runs for this Lean statement file: Carlos Toledo’s cert-machine; MathVet; Neal McBurnett’s openai-math-lean-tooling. Each group reports its own Comparator run for this statement file. Atlas has not repeated the runs.

For a configured theorem, Comparator tests whether OpenAI’s proof proves the exact Lean statement. Some files instead configure definitions for comparison by name and type. Acceptance does not establish that the statement means the same thing as the paper’s theorem.

Carlos Toledo’s cert-machine

How they ran it, in their words

Every Comparator challenge re-run on Linux with nanoda switched on, decided by a preregistered rule; every family’s challenge statements read against OpenAI’s headline, clause by clause. Decider: Comparator (leanprover/comparator d03acab1 = tag v4.34.0, built with the release’s toolchain v4.34.1), lean4export 076e8e57, landrun 811cfff5, nanoda_lib 3a240721 — on GitHub’s Linux runners (.github/workflows/openai-math-kernel.yml), one j…

  • Accepted Their term: “CERTIFIED”.

    Re-run through Comparator with the independent nanoda kernel switched on: Lean’s kernel and nanoda both accept OpenAI’s solution.

    Reported 10 October 2026, at the release version shown here. Original verification report

MathVet

How they ran it, in their words

An independent, model-assisted, pre-referee reading of each family’s challenge statements against its headline claim under a published rubric (PROTOCOL.md), with its own Comparator runs per challenge. Its protocol describes a planned error-rate study; this import does not establish that the study has been completed.

  • Accepted Their term: “comparator-sandboxed-pass”.

    Re-run through Comparator in a sandboxed virtual machine: accepted.

    Reported 8 October 2026, at the release version shown here. Original verification report

Neal McBurnett’s openai-math-lean-tooling

How they ran it, in their words

Each challenge’s solution is built and checked by Comparator at the pinned release, on Lean leanprover/lean4:v4.34.1, recording the verdict, the check time and the peak memory; the run was still in progress at this snapshot (192 accepted, 224 pending).

  • Accepted Their term: “accepted”.

    Re-run through Comparator with Lean’s kernel: accepted (the check took 135 s; peak memory 6.1 GiB).

    Reported 11 October 2026, at the release version shown here. Original verification report

What an accepted Comparator run would establish

If Comparator is run under this configuration and accepts, the solution proves the configured theorem using only the allowed axioms, and the Lean kernel accepts every step.

This configuration lists no definition holes, so every definition the statement uses is compared as it is written in this file.

Allowed axioms: propext, Quot.sound, Classical.choice

Acceptance leaves open whether the Lean statement means the same thing as the paper’s theorem, whether the paper’s other claims are correct, and whether the result is new. Those questions require comparing the definitions and statements, reviewing the paper’s arguments, and reading the earlier literature.

Do family 113’s Lean statements express the advertised result?

These assessments compare all the family’s Lean statements with the whole result OpenAI describes in its catalogue. They do not assess this statement alone. Each group uses its own published rules.

MathVet and cert-machine agree on how much of the advertised result the Lean statements express.

  • MathVet

    Finds the whole advertised result stated or implied Their term: “full”.

    The challenge statements imply the headline claim after unpacking definitions or one routine step. Their record

    Their note: None for the FPRAS and the pointwise entropy bounds; the sharp face-dimension bound is not stated (TriangleFace is only the triangle-expansion face correspondence).

    Definitions the group asks readers to compare with the paper: Randomized machine is hand-rolled: RandomMachine (single finite transition table on Turing.Tape (Fin 8), one fair coin per tick, tick = one write/move via Turing.TM0.Stmt), input encoded sparsely with binary encodeNat; maxMatchingEntropy := sSup (entropy '' feasibleLaws y) (nonempty and bounded on the matching polytope)

  • Carlos Toledo’s cert-machine

    Finds the whole advertised result stated or implied Their term: “MATCHES”.

    The challenge statements state the headline as OpenAI wrote it. Their record

Read the complete assessments on the family page.

OpenAI’s own note on what this Lean statement covers

“A further statement identifies the exact face obtained by expanding a degree-three vertex into a triangle and shows that minimal faces are carried to minimal faces by the expansion. The paper's sharp global face-dimension bound is not part of that selected statement.”

An AI agent drafted an interpretation of that note, classifying this statement as “states a supporting result”. No human review of the draft is recorded.

Supporting material

The complete Lean statement file

190 lines, copied from release version fd4aeeb. A name defined in this file links to its line; pointing at the name shows its definition.

Declared in this fileOpenAI’s library at fd4aeebOther linked names open the current documentation for Mathlib, Lean’s mathematical library.

Links in the file: 48 to its own declarations, 94 to Mathlib’s documentation. 26 declared names also link to the same declaration in OpenAI’s library. 2 identifiers stay plain because they resolve to no single declaration: variables Lean binds automatically, notation, or names the scan of the pinned sources did not find. OpenAI uses Mathlib version d13f23b. The linked documentation describes the current version, so names that have since changed may be missing there.

import Mathlibnamespace OAInoncomputable sectionopen scoped BigOperators Topologyopen Filteruniverse uV uE uIndex uιnamespace MatchingEntropyBoundsstructure LooplessGraph (V : Type uV) (E : Type uE) where  left : E → V  right : E → V  loopless : ∀ e, left e ≠ right evariable {V : Type uV} {E : Type uE}  [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E]namespace LooplessGraphdef Incident (G : LooplessGraph V E) (v : V) (e : E) : Prop :=  G.left e = v ∨ G.right e = vinstance incidentDecidable (G : LooplessGraph V E) (v : V) (e : E) :    Decidable (G.Incident v e) := inferInstanceAs (Decidable (G.left e = v ∨ G.right e = v))def IsPerfectMatching (G : LooplessGraph V E) (M : Finset E) : Prop :=  ∀ v, ∃! e, e ∈ M ∧ G.Incident v eabbrev Matching (G : LooplessGraph V E) := {M : Finset E // G.IsPerfectMatching M}instance matchingFintype (G : LooplessGraph V E) : Fintype G.Matching :=  Fintype.ofFinite _def indicator (G : LooplessGraph V E) (M : G.Matching) (e : E) : ℝ :=  if e ∈ M.val then 1 else 0def polytope (G : LooplessGraph V E) : Set (E → ℝ) :=  convexHull ℝ (Set.range G.indicator)end LooplessGraphend MatchingEntropyBoundsendnoncomputable sectionopen scoped BigOperators Topologyopen Filteruniverse uV uE uI uJ uA uB uC uW uF uD uιnamespace MatchingEntropyBounds.LooplessGraphvariable {V : Type uV} {E : Type uE} [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E]def Crosses (G : LooplessGraph V E) (S : Finset V) (e : E) : Prop :=  (G.left e ∈ S ∧ G.right e ∉ S) ∨ (G.left e ∉ S ∧ G.right e ∈ S)instance crossesDecidable (G : LooplessGraph V E) (S : Finset V) (e : E) :    Decidable (G.Crosses S e) := inferInstanceAs (Decidable      ((G.left e ∈ S ∧ G.right e ∉ S) ∨ (G.left e ∉ S ∧ G.right e ∈ S)))def cut (G : LooplessGraph V E) (S : Finset V) : Finset E :=  Finset.univ.filter (G.Crosses S)def degree (G : LooplessGraph V E) (x : E → ℝ) (v : V) : ℝ :=  ∑ e, if G.Incident v e then x e else 0def cutMass (G : LooplessGraph V E) (x : E → ℝ) (S : Finset V) : ℝ :=  ∑ e ∈ G.cut S, x eend MatchingEntropyBounds.LooplessGraphendnoncomputable sectionopen scoped BigOperators Topologyopen Filteruniverse uV uE uI uJ uA uB uC uW uF uD uιnamespace MatchingEntropyBounds.Refinedsection TriangleExpansionvariable {V : Type uV} {E : Type uE} [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E]def triangleTip (v : V) (i : Fin 3) : V ⊕ Fin 2 := ![Sum.inl v, Sum.inr 0, Sum.inr 1] idef triangleCollapse (v : V) : V ⊕ Fin 2 → V := Sum.elim id (fun _ => v)def reattach (v : V) (i : Fin 3) (w : V) : V ⊕ Fin 2 :=  if w = v then triangleTip v i else Sum.inl womit [Fintype V] [Fintype E] [DecidableEq E] intheorem collapse_reattach (v : V) (i : Fin 3) (w : V) :    triangleCollapse v (reattach v i w) = w := by  by_cases h : w = v  · subst w    fin_cases i <;> simp [reattach,triangleTip,triangleCollapse]  · simp [reattach,h,triangleCollapse]def triangleExpansion (G : LooplessGraph V E) (c : E → Fin 3) (v : V) :    LooplessGraph (V ⊕ Fin 2) (E ⊕ Fin 3) where  left := Sum.elim (fun e => reattach v (c e) (G.left e)) (fun i => triangleTip v (i + 1))  right := Sum.elim (fun e => reattach v (c e) (G.right e)) (fun i => triangleTip v (i + 2))  loopless := by    intro e h    rcases e with e | i    · have hh := congrArg (triangleCollapse v) h      exact G.loopless e ((collapse_reattach v (c e) (G.left e)).symm.trans        (hh.trans (collapse_reattach v (c e) (G.right e))))    · fin_cases i <;> simp [triangleTip] at hdef triangleVertices (v : V) : Finset (V ⊕ Fin 2) := Finset.univ.image (triangleTip v)end TriangleExpansionend MatchingEntropyBounds.Refinedendnamespace CanonicalFace198variable {A B : Type*} [AddCommGroup A] [Module ℝ A]  [AddCommGroup B] [Module ℝ B]def facesThrough (P : Set A) (x : A) : Set (Set A) :=  {F | Convex ℝ F ∧ IsExtreme ℝ P F ∧ x ∈ F}def minFace (P : Set A) (x : A) : Set A := ⋂₀ facesThrough P xend CanonicalFace198noncomputable sectionopen scoped BigOperatorsopen MatchingEntropyBounds MatchingEntropyBounds.Refinednamespace TriangleFace198variable {V E : Type*} [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E]def LocalLabels (G : LooplessGraph V E) (v : V) (c : E → Fin 3) : Prop :=  ∀ i, ∃! e, G.Incident v e ∧ c e = idef localEdge (G : LooplessGraph V E) (c : E → Fin 3) (v : V)    (hc : LocalLabels G v c) (i : Fin 3) : E := Classical.choose (hc i)def localExtension (G : LooplessGraph V E) (c : E → Fin 3) (v : V)    (hc : LocalLabels G v c) : (E → ℝ) →ₗ[ℝ] (E ⊕ Fin 3 → ℝ) where  toFun x := Sum.elim x (fun i => x (localEdge G c v hc i))  map_add' x y := by ext e; cases e <;> rfl  map_smul' a x := by ext e; cases e <;> rfldef oldRestriction : (E ⊕ Fin 3 → ℝ) →ₗ[ℝ] (E → ℝ) where  toFun y e := y (Sum.inl e)  map_add' _ _ := rfl  map_smul' _ _ := rflend TriangleFace198endnoncomputable sectionopen scoped BigOperatorsopen MatchingEntropyBounds MatchingEntropyBounds.Refinednamespace TriangleFace198universe uV uEvariable {V : Type uV} {E : Type uE} [instFintypeV : Fintype V] [Fintype E] [DecidableEq V] [instDecidableEqE : DecidableEq E]theorem triangle_expansion_face {V : Type uV} {E : Type uE}    [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E] (G : LooplessGraph V E) (v : V)    (hdeg : Fintype.card {e : E // G.Incident v e} = 3)    (_hmatching : Nonempty G.Matching) :    ∃ (c : E → Fin 3) (hc : LocalLabels G v c),      let H := triangleExpansion G c v      let f := localExtension G c v hc      let Q := {y | y ∈ H.polytope ∧ H.cutMass y (triangleVertices v) = 1}      f '' G.polytope = Q ∧      Convex ℝ Q ∧ IsExtreme ℝ H.polytope Q ∧      (∀ x, oldRestriction (f x) = x) ∧      (∀ y ∈ Q, f (oldRestriction y) = y) ∧      (∀ x e, f x (Sum.inl e) = x e) ∧      (∀ x i, f x (Sum.inr i) = x (localEdge G c v hc i)) ∧      (∀ x, (∀ e, x e = (1/3 : ℝ)) → ∀ e, f x e = (1/3 : ℝ)) ∧      (∀ x ∈ G.polytope, CanonicalFace198.minFace H.polytope (f x) = f '' CanonicalFace198.minFace G.polytope x)  := by  sorryend TriangleFace198endend OAI
Every extracted statement of the accompanying papers

The statements the atlas extracted automatically from each accompanying paper’s TeX source, with links to the full sources.

A Fully Polynomial Randomized Approximation Scheme for Perfect Matchings in General Graphs

Theorem

There is a uniform classical randomized algorithm which, given G and rational parameters 0<\eps<1 and 0<\delta<1/2, returns a nonnegative rational number \widehat Z such that

\Prb\bigl[(1-\eps)Z(G)\le \widehat Z\le(1+\eps)Z(G)\bigr] \ge 1-\delta.

If Z(G)=0, the output is zero with certainty. The worst-case bit running time is polynomial in the input encoding length, \eps^{-1}, and \log\delta^{-1}.

Section 1, Introduction Read it in the paper TeX source, line 132
Show the TeX
There is a uniform classical randomized algorithm which, given $G$ and
rational parameters $0<\eps<1$ and $0<\delta<1/2$, returns a nonnegative
rational number $\widehat Z$ such that
\[
 \Prb\bigl[(1-\eps)Z(G)\le \widehat Z\le(1+\eps)Z(G)\bigr]
 \ge 1-\delta.
\]
If $Z(G)=0$, the output is zero with certainty. The worst-case bit running
time is polynomial in the input encoding length, $\eps^{-1}$, and
$\log\delta^{-1}$.

Entropy and Face Dimension of the Perfect-Matching Polytope

Theorem (Pointwise entropy bounds)

Let G be a loopless multigraph on 2m\ge2 vertices with at least one perfect matching. For every x\in P(G),

F(x)-\left(2-\frac2m\right)B(x) \le H(x)\le F(x).
Section 1, Introduction Read it in the paper TeX source, line 33
Show the TeX
Let $G$ be a loopless multigraph on $2m\ge2$ vertices with at least one
perfect matching. For every $x\in P(G)$,
\begin{equation}
                  F(x)-\left(2-\frac2m\right)B(x)
                  \le H(x)\le F(x).
\end{equation}
Theorem (Deterministic approximate counting)

There is one uniform deterministic algorithm which, on a graph on n vertices with nonnegative binary integer pair multiplicities, returns an integer A\ge0 satisfying

N(G)/512^n\le A\le N(G).

Its running time and output length are polynomial in the input bit length. In particular, A=0 exactly when N(G)=0. The guarantee includes a compact input consisting of binary n and a list of positive pair records.

Section 1, Introduction Read it in the paper TeX source, line 201
Show the TeX
There is one uniform deterministic algorithm which, on a graph on $n$
vertices with nonnegative binary integer pair multiplicities, returns an
integer $A\ge0$ satisfying
\[
                         N(G)/512^n\le A\le N(G).
\]
Its running time and output length are polynomial in the input bit length.
In particular, $A=0$ exactly when $N(G)=0$. The guarantee includes a compact
input consisting of binary $n$ and a list of positive pair records.
Configuration and file facts
OpenAI’s Lean catalogue
OpenAI’s Lean catalogue does not list this as a main result; the release’s Lean notes for family 113 link it.
Solution module
OAI.Combinatorics.TriangleFace.Main
Allowed axioms
propext, Quot.sound, Classical.choiceThe axioms this configuration allows a proof to use. A replay shows which of them a proof uses.
Imports
Mathlib
Imports from outside Mathlib
None
Local vocabulary
24 local vocabulary declarations
Lines of Lean, without comments or blank lines
86
Second proof-verification program (nanoda)
Off in OpenAI's configuration.

Statement comparison

A shareable summary of this page: the proposed paper match, what the Lean statement expresses, and which reviews are recorded.

Plectis Atlas

Face correspondence under triangle expansion

Family 113: Approximate counting and entropy of perfect matchings

No paper statement selected

no paper statement matches the Lean text clearly enough to pair, so the closest candidates are listed below.

The Lean statement says

theorem triangle_expansion_face {V : Type uV} {E : Type uE}    [Fintype V] [Fintype E] [DecidableEq V] [DecidableEq E] (G : LooplessGraph V E) (v : V)    (hdeg : Fintype.card {e : E // G.Incident v e} = 3)    (_hmatching : Nonempty G.Matching) :    ∃ (c : E → Fin 3) (hc : LocalLabels G v c),      let H := triangleExpansion G c v

A Lean statement states the theorem and leaves its proof as sorry on purpose. OpenAI’s proof is in a separate solution module, and a program called Comparator checks that proof against this statement.

No paper theorem is paired with this Lean statement.three independent groups report that Comparator accepted runs for this file at the release version shown here.Statement review: none recorded

24 local vocabulary declarationsAllowed axioms: propext, Quot.sound, Classical.choiceopenai/math at fd4aeebwcook04.github.io/plectis-atlas/statements/TriangleFace.html

Recorded comparisons with the paper

Atlas records no contributed comparison of this statement with the paper.

Contributed Comparator run reports

Atlas records no contributed report of running Comparator for this statement file.

Compare this statement with the paperShare a Comparator run reportSuggest a change