Plectis Atlas
Search

↑ and ↓ move, Enter opens, Esc closes.

Lean statement

Bounded-treewidth graph metrics in $L_1$

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.BoundedTreewidthL1.main_theorem

Lean statement file: BoundedTreewidthL1.leanShow on the mapFamily 089. OpenAI lists this as a main result in its Lean catalogue.

The Lean statement

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

def MainStatement : Prop :=  ∀ k : ℕ, 2 ≤ k → ∃ C : ℝ, 1 ≤ C ∧    ∀ (V : Type) [Fintype V] [DecidableEq V] [Nonempty V]      (G : SimpleGraph V),      G.Connected → HasTreeDecomposition G k →      ∀ ℓ : G.edgeSet → ℝ, (∀ e, 0 < ℓ e) → HasL1Embedding G ℓ Ctheorem main_theorem : MainStatement := by  sorry

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.

  • definition OAI.BoundedTreewidthL1.walkLength line 14

    def walkLength (ℓ : G.edgeSet → ℝ) : {u v : V} → G.Walk u v → ℝ  | _, _, .nil => 0  | u, _, .cons (v := v) h p => ℓ ⟨s(u, v), h⟩ + walkLength ℓ p
  • definition OAI.BoundedTreewidthL1.shortestPathDistance line 18

    noncomputable def shortestPathDistance (ℓ : G.edgeSet → ℝ) (u v : V) : ℝ :=  sInf {r : ℝ | ∃ p : G.Walk u v, p.IsPath ∧ walkLength G ℓ p = r}
  • definition OAI.BoundedTreewidthL1.HasTreeDecomposition line 21

    def HasTreeDecomposition [DecidableEq V] (k : ℕ) : Prop :=  ∃ n : ℕ, ∃ T : SimpleGraph (Fin n), ∃ bag : Fin n → Finset V,    T.IsTree ∧    (∀ v : V, ∃ t, v ∈ bag t) ∧    (∀ u v : V, G.Adj u v → ∃ t, u ∈ bag t ∧ v ∈ bag t) ∧    (∀ v : V, (T.induce {t | v ∈ bag t}).Connected) ∧    (∀ t, (bag t).card ≤ k)
  • definition OAI.BoundedTreewidthL1.HasL1Embedding line 30

    def HasL1Embedding (ℓ : G.edgeSet → ℝ) (C : ℝ) : Prop :=  ∃ m : ℕ, ∃ F : V → PiLp (1 : ENNReal) (fun _ : Fin m => ℝ),    ∀ u v : V,      shortestPathDistance G ℓ u v ≤ ‖F u - F v‖ ∧      ‖F u - F v‖ ≤ C * shortestPathDistance G ℓ u v

Possible paper match, with no recorded review

Atlas selected this possible match by comparing words in the Lean statement with every statement in the family. No review of whether the statements mean the same thing is recorded.

Words of the Lean statement, its names split into words, that also appear in the theorem: decomposition, real, map, tree, integer, connected, edge, length and three more. Found in the paper’s title, which its main theorem states: embeddings. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: number, size, independent and constant.

Statements in L1 Embeddings of Graphs of Bounded Treewidth come first because the release’s name for this Lean statement shares words with that paper’s title.

Theorem 1.1 of L1 Embeddings of Graphs of Bounded Treewidth

Theorem

For every integer k\ge2 there is a finite constant C_k\ge1 with the following property. If a finite connected graph G=(V,E) admits a tree decomposition with bags of size at most k, then, for every edge-length function \ell:E\to(0,\infty), there is a map F from V into a real L_1 space such that

d_{G,\ell}(u,v) \le \|F(u)-F(v)\|_1 \le C_k\,d_{G,\ell}(u,v) \qquad(u,v\in V).

The constant is independent of the number of vertices, the depth of the decomposition, and all ratios of edge lengths.

Section 1, Introduction Read it in the paper TeX source, line 27
Show the TeX
For every integer $k\ge2$ there is a finite constant $C_k\ge1$ with the
following property. If a finite connected graph $G=(V,E)$ admits a tree
decomposition with bags of size at most $k$, then, for every edge-length
function $\ell:E\to(0,\infty)$, there is a map $F$ from $V$ into a real
$L_1$ space such that
\begin{equation}
 d_{G,\ell}(u,v)
 \le \|F(u)-F(v)\|_1
 \le C_k\,d_{G,\ell}(u,v)
 \qquad(u,v\in V).
\end{equation}
The constant is independent of the number of vertices, the depth of the
decomposition, and all ratios of edge lengths.

Other possible paper matches, closest wording first

  • Proposition 4.3 of L1 Embeddings of Graphs of Bounded Treewidth. Words of the Lean statement, its names split into words, that also appear in the theorem: pi, nonempty, decomposition, embedding, tree, pseudometric and one more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: size, may and constants.
  • Theorem 1.1 of Planar Graph Metrics Embed into L1 with Constant Distortion. Words of the Lean statement, its names split into words, that also appear in the theorem: real, map, positive, connected, edge, finite and two more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: constant.
  • Corollary 10.1 of Planar Graph Metrics Embed into L1 with Constant Distortion. Words of the Lean statement, its names split into words, that also appear in the theorem: simple, real, positive, map, integers, embeddable and seven more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: distortion, treewidth, bound and constant.
  • Proposition 6.1 of L1 Embeddings of Graphs of Bounded Treewidth. Words of the Lean statement, its names split into words, that also appear in the theorem: decomposition, tree, bag and graph. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: weighted, size and constant.
  • Proposition 2.4 of L1 Embeddings of Graphs of Bounded Treewidth. Words of the Lean statement, its names split into words, that also appear in the theorem: cut, pseudometric, path and bags. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: size.
  • Proposition 2.3 of Planar Graph Metrics Embed into L1 with Constant Distortion. Words of the Lean statement, its names split into words, that also appear in the theorem: distances, positive, connected, edge, finite, lengths and one more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: metric.

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 108 s; peak memory 6.3 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 089’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 disagree 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: Both L1-embedding theorems are stated; the flow-cut-gap corollary is not. Planarity is a hand-rolled topological drawing predicate.

    Definitions the group asks readers to compare with the paper: IsPlanar is a custom 'drawing by simple plane arcs' predicate (injective points, arc u v h : C(unitInterval, ℝ × ℝ) per oriented edge, interiors of arcs of distinct unoriented edges disjoint); HasTreeDecomposition and graphDistance := sInf (range walkLength) are also hand-rolled; both read as standard

  • Carlos Toledo’s cert-machine

    Finds part of it stated, or a narrower or weaker statement Their term: “NARROWER — UNDECLARED”.

    The challenge statements state less than the headline, and OpenAI’s Lean note does not say so. Their record

    Their note: Only the flow–cut-gap sentence, a classical corollary of the stated embeddings (LLR 1995 / Aumann–Rabani 1998); no flow or cut object appears in either challenge.

Read the complete assessments on the family page.

OpenAI’s own note on what this Lean statement covers

“For every bag-size bound $k\ge2$, there is a constant $C(k)$ such that the weighted shortest-path metric of every nonempty finite connected graph with a tree decomposition of bag size at most $k$ embeds into finite-dimensional real $L_1$ with distortion at most $C(k)$. Edge lengths may be arbitrary positive real numbers, and the constant is independent of the graph and decomposition size.”

An AI agent drafted an interpretation of that note, classifying this statement as “states a paper’s theorem as the paper does”. No human review of the draft is recorded.

Supporting material

The complete Lean statement file

50 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: 7 to its own declarations, 14 to Mathlib’s documentation. 6 declared names also link to the same declaration in OpenAI’s library. 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 sectionnamespace BoundedTreewidthL1universe u_1variable {V : Type u_1} (G : SimpleGraph V)/-- Sum of the given positive real edge lengths along a graph walk. -/def walkLength (ℓ : G.edgeSet → ℝ) : {u v : V} → G.Walk u v → ℝ  | _, _, .nil => 0  | u, _, .cons (v := v) h p => ℓ ⟨s(u, v), h⟩ + walkLength ℓ pnoncomputable def shortestPathDistance (ℓ : G.edgeSet → ℝ) (u v : V) : ℝ :=  sInf {r : ℝ | ∃ p : G.Walk u v, p.IsPath ∧ walkLength G ℓ p = r}def HasTreeDecomposition [DecidableEq V] (k : ℕ) : Prop :=  ∃ n : ℕ, ∃ T : SimpleGraph (Fin n), ∃ bag : Fin n → Finset V,    T.IsTree ∧    (∀ v : V, ∃ t, v ∈ bag t) ∧    (∀ u v : V, G.Adj u v → ∃ t, u ∈ bag t ∧ v ∈ bag t) ∧    (∀ v : V, (T.induce {t | v ∈ bag t}).Connected) ∧    (∀ t, (bag t).card ≤ k)/-- A map to genuine finite-dimensional real ℓ₁, not just a cut pseudometric. -/def HasL1Embedding (ℓ : G.edgeSet → ℝ) (C : ℝ) : Prop :=  ∃ m : ℕ, ∃ F : V → PiLp (1 : ENNReal) (fun _ : Fin m => ℝ),    ∀ u v : V,      shortestPathDistance G ℓ u v ≤ ‖F u - F v‖ ∧      ‖F u - F v‖ ≤ C * shortestPathDistance G ℓ u vdef MainStatement : Prop :=  ∀ k : ℕ, 2 ≤ k → ∃ C : ℝ, 1 ≤ C ∧    ∀ (V : Type) [Fintype V] [DecidableEq V] [Nonempty V]      (G : SimpleGraph V),      G.Connected → HasTreeDecomposition G k →      ∀ ℓ : G.edgeSet → ℝ, (∀ e, 0 < ℓ e) → HasL1Embedding G ℓ Ctheorem main_theorem : MainStatement := by  sorryend BoundedTreewidthL1endend 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.

Planar Graph Metrics Embed into L1 with Constant Distortion

Theorem

There is a finite universal constant C\ge1 with the following property. For every finite connected planar graph G=(V,E) with strictly positive real edge lengths, there exist a measure space (\Omega,\mathcal F,\mu) and a map f:V\to L_1(\Omega,\mathcal F,\mu;\R) such that

d_G(x,y)\le\|f(x)-f(y)\|_1\le C d_G(x,y) \qquad(x,y\in V).
Section 1, Introduction Read it in the paper TeX source, line 13
Show the TeX
There is a finite universal constant $C\ge1$ with the following property.
For every finite connected planar graph $G=(V,E)$ with strictly positive real
edge lengths, there exist a measure space $(\Omega,\mathcal F,\mu)$ and a map
$f:V\to L_1(\Omega,\mathcal F,\mu;\R)$ such that
\[
 d_G(x,y)\le\|f(x)-f(y)\|_1\le C d_G(x,y)
 \qquad(x,y\in V).
\]

L1 Embeddings of Graphs of Bounded Treewidth

Theorem

For every integer k\ge2 there is a finite constant C_k\ge1 with the following property. If a finite connected graph G=(V,E) admits a tree decomposition with bags of size at most k, then, for every edge-length function \ell:E\to(0,\infty), there is a map F from V into a real L_1 space such that

d_{G,\ell}(u,v) \le \|F(u)-F(v)\|_1 \le C_k\,d_{G,\ell}(u,v) \qquad(u,v\in V).

The constant is independent of the number of vertices, the depth of the decomposition, and all ratios of edge lengths.

Section 1, Introduction Read it in the paper TeX source, line 27
Show the TeX
For every integer $k\ge2$ there is a finite constant $C_k\ge1$ with the
following property. If a finite connected graph $G=(V,E)$ admits a tree
decomposition with bags of size at most $k$, then, for every edge-length
function $\ell:E\to(0,\infty)$, there is a map $F$ from $V$ into a real
$L_1$ space such that
\begin{equation}
 d_{G,\ell}(u,v)
 \le \|F(u)-F(v)\|_1
 \le C_k\,d_{G,\ell}(u,v)
 \qquad(u,v\in V).
\end{equation}
The constant is independent of the number of vertices, the depth of the
decomposition, and all ratios of edge lengths.
Configuration and file facts
OpenAI’s Lean catalogue
OpenAI lists this as a main result in its Lean catalogue.
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
5 local vocabulary declarations
Lines of Lean, without comments or blank lines
25
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

Bounded-treewidth graph metrics in $L_1$

Family 089: Bounded-distortion L1 embeddings of planar and bounded-treewidth graphs

Candidate pairing

Theorem

For every integer k\ge2 there is a finite constant C_k\ge1 with the following property. If a finite connected graph G=(V,E) admits a tree decomposition with bags of size at most k, then, for every edge-length function \ell:E\to(0,\infty), there is a map F from V into a real L_1 space such that

d_{G,\ell}(u,v) \le \|F(u)-F(v)\|_1 \le C_k\,d_{G,\ell}(u,v) \qquad(u,v\in V).

The constant is independent of the number of vertices, the depth of the decomposition, and all ratios of edge lengths.

L1 Embeddings of Graphs of Bounded Treewidth

TeX label thm:main, build/01-introduction.tex, line 27

The Lean statement says

def MainStatement : Prop :=  ∀ k : ℕ, 2 ≤ k → ∃ C : ℝ, 1 ≤ C ∧    ∀ (V : Type) [Fintype V] [DecidableEq V] [Nonempty V]      (G : SimpleGraph V),      G.Connected → HasTreeDecomposition G k →      ∀ ℓ : G.edgeSet → ℝ, (∀ e, 0 < ℓ e) → HasL1Embedding G ℓ Ctheorem main_theorem : MainStatement := by  sorry

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.

Atlas selected this possible match because the two statements share words. No review of whether they mean the same thing is recorded.three independent groups report that Comparator accepted runs for this file at the release version shown here.Statement review: none recorded

5 local vocabulary declarationsAllowed axioms: propext, Quot.sound, Classical.choiceopenai/math at fd4aeebwcook04.github.io/plectis-atlas/statements/BoundedTreewidthL1.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.

Questions to resolve when comparing this statement with the paper

  • Two independent readers, MathVet and cert-machine, disagree on whether this family's challenges state its headline; a specialist reading would settle it.

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