Plectis Atlas
Search

↑ and ↓ move, Enter opens, Esc closes.

Lean statement

Subpolynomial query complexity for log-concave sampling

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.LogConcaveSampling.exact_source_main

Lean statement file: LogConcaveQuery.leanShow on the mapFamily 139. 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.

theorem exact_source_main :    (∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ d : ℕ, 2 ≤ d →      (queryComplexity d).toENNReal ≤ ENNReal.ofReal (C * (d : ℝ) ^ ε)) ∧    (∃ c : ℝ, 0 < c ∧ ∃ d₀ : ℕ, 2 ≤ d₀ ∧ ∀ d : ℕ, d₀ ≤ d →      ENNReal.ofReal (c * Real.log (d : ℝ)) ≤ (queryComplexity d).toENNReal) ∧    gammaStar = 0 := 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.

  • abbreviation OAI.LogConcaveSampling.Point line 12

    abbrev Point (d : ℕ) := EuclideanSpace ℝ (Fin d)
  • abbreviation OAI.LogConcaveSampling.Reply line 13

    abbrev Reply (d : ℕ) := ℝ × Point d
  • abbreviation OAI.LogConcaveSampling.Transcript line 14

    abbrev Transcript (d q : ℕ) := Fin q → Reply d
  • structure OAI.LogConcaveSampling.Admissible line 17

    structure Admissible {d : ℕ} (V : Point d → ℝ) : Prop where  smooth : ContDiff ℝ 2 V  value_zero : V 0 = 0  gradient_zero : gradient V 0 = 0  hessian_bounds : ∀ x v : Point d,    ‖v‖ ^ 2 ≤ inner ℝ v (fderiv ℝ (gradient V) x v) ∧    inner ℝ v (fderiv ℝ (gradient V) x v) ≤ 2 * ‖v‖ ^ 2
  • definition OAI.LogConcaveSampling.gibbsDensity line 26

    def gibbsDensity {d : ℕ} (V : Point d → ℝ) (x : Point d) : ℝ≥0∞ :=  ENNReal.ofReal (Real.exp (-V x))
  • definition OAI.LogConcaveSampling.partition line 29

    def partition {d : ℕ} (V : Point d → ℝ) : ℝ≥0∞ :=  ∫⁻ x, gibbsDensity V x ∂volume
  • definition OAI.LogConcaveSampling.gibbs line 33

    def gibbs {d : ℕ} (V : Point d → ℝ) : Measure (Point d) :=  (partition V)⁻¹ • volume.withDensity (gibbsDensity V)
  • definition OAI.LogConcaveSampling.TVAtMost line 36

    def TVAtMost {E : Type*} [MeasurableSpace E]    (μ ν : Measure E) (ε : ℝ) : Prop :=  ∀ s : Set E, MeasurableSet s → |μ.real s - ν.real s| ≤ ε
  • definition OAI.LogConcaveSampling.firstOrderReply line 40

    def firstOrderReply {d : ℕ} (V : Point d → ℝ) (x : Point d) : Reply d :=  (V x, gradient V x)
  • structure OAI.LogConcaveSampling.OracleAlgorithm line 44

    structure OracleAlgorithm (Ω : Type*) [MeasurableSpace Ω] (d q : ℕ) where  query : Fin q → Ω × Transcript d q → Point d  query_measurable : ∀ i, Measurable (query i)  output : Ω × Transcript d q → Point d  output_measurable : Measurable output
  • definition OAI.LogConcaveSampling.OracleAlgorithm.history line 50

    def OracleAlgorithm.history {Ω : Type*} [MeasurableSpace Ω] {d q : ℕ}    (A : OracleAlgorithm Ω d q) (V : Point d → ℝ) (ω : Ω) : ℕ → Transcript d q  | 0 => 0  | n + 1 =>      let h := A.history V ω n      if hn : n < q then        Function.update h ⟨n, hn⟩ (firstOrderReply V (A.query ⟨n, hn⟩ (ω, h)))      else h
  • definition OAI.LogConcaveSampling.OracleAlgorithm.run line 59

    def OracleAlgorithm.run {Ω : Type*} [MeasurableSpace Ω] {d q : ℕ}    (A : OracleAlgorithm Ω d q) (V : Point d → ℝ) (ω : Ω) : Point d :=  A.output (ω, A.history V ω q)
  • definition OAI.LogConcaveSampling.CanSample line 64

    def CanSample (d q : ℕ) : Prop :=  ∃ (Ω : Type) (_ : MeasurableSpace Ω) (μ : Measure Ω)    (_ : IsProbabilityMeasure μ) (A : OracleAlgorithm Ω d q),    ∀ V : Point d → ℝ, Admissible V →      Measurable (A.run V) ∧ TVAtMost (μ.map (A.run V)) (gibbs V) (1 / 10)
  • definition OAI.LogConcaveSampling.queryComplexity line 71

    def queryComplexity (d : ℕ) : ℕ∞ :=  sInf ((fun q : ℕ => (q : ℕ∞)) '' {q | CanSample d q})
  • definition OAI.LogConcaveSampling.ExponentBound line 75

    def ExponentBound (γ : ℝ) : Prop :=  0 ≤ γ ∧ ∀ ε : ℝ, 0 < ε → ∃ d₀ : ℕ, ∀ d : ℕ, d₀ ≤ d →    (queryComplexity d).toENNReal ≤ ENNReal.ofReal ((d : ℝ) ^ (γ + ε))
  • definition OAI.LogConcaveSampling.gammaStar line 79

    def gammaStar : ℝ := sInf {γ : ℝ | ExponentBound γ}

Possible paper match, with no recorded review

No paper statement clearly matched the Lean wording. Statement Map, the program that collects Atlas’s source records, selected this possible match using words in OpenAI’s catalogue and Lean note. No review of whether the statements mean the same thing is recorded.

Shared with the catalogue’s wording or OpenAI’s note, none of them matched in the Lean text: adaptive, algorithms, bound and randomized.

Theorem 1.1 of Subpolynomial query complexity for well-conditioned log-concave sampling

Theorem

In the oracle model above, for every \varepsilon>0 there is C_\varepsilon<\infty such that

Q(d)\le C_\varepsilon d^\varepsilon \qquad(d\ge2).

There are also absolute constants c>0 and d_0 such that

Q(d)\ge c\log d\qquad(d\ge d_0).

The lower bound applies to arbitrary randomized adaptive first-order algorithms. In particular, \gamma_*=0.

Section 1, Introduction Read it in the paper TeX source, line 51
Show the TeX
In the oracle model above, for every \(\varepsilon>0\)
there is \(C_\varepsilon<\infty\) such that
\[
                  Q(d)\le C_\varepsilon d^\varepsilon
                  \qquad(d\ge2).
\]
There are also absolute constants \(c>0\) and \(d_0\)
such that
\[
                  Q(d)\ge c\log d\qquad(d\ge d_0).
\]
The lower bound applies to arbitrary randomized adaptive
first-order algorithms. In particular, \(\gamma_*=0\).

Other possible paper matches, closest wording first

  • Theorem 8.5 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: 1/10, gradient, upper, measurable, value, execution and seven more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: varepsilon and subpolynomial.
  • Theorem 9.1 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: private, randomness, potentials, execution, algorithm, query and two more.
  • Proposition 8.2 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: run, admissible, total, variation, zero, output and one more.
  • Theorem 2.1 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: measurable, one, tv, dimension, execution, uniform and five more. Shared only with the release’s name for the Lean statement or OpenAI’s note on it: nabla.
  • Corollary 6.6 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: functions, deterministic, zero, one, dimension, relative and five more.
  • Theorem 6.7 of Subpolynomial query complexity for well-conditioned log-concave sampling. Words of the Lean statement, its names split into words, that also appear in the theorem: positive, maps, value, deterministic, one, sample and seven more.

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

two independent groups report that Comparator accepted runs for this Lean statement file: Carlos Toledo’s cert-machine; MathVet. 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

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 139’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; the claim is about the number of exact value-and-gradient queries only (no time/bit-cost statement), as in the summary.

    Definitions the group asks readers to compare with the paper: Hand-rolled oracle model (OracleAlgorithm, OracleAlgorithm.history/run, TVAtMost := ∀ s measurable, |μ s - ν s| ≤ ε, queryComplexity := sInf over feasible integer budgets in ℕ∞); non-uniform in d (one algorithm per (d, q))

  • 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

“For potentials with $V(0)=0$, $\nabla V(0)=0$, and $I\le\nabla^2V\le2I$, the least worst-case query budget achieving total-variation error at most $1/10$ is at most $C_\varepsilon d^\varepsilon$ for every $\varepsilon>0$, and at least $c\log d$ eventually. Hence the infimal polynomial exponent is zero.”

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

93 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: 37 to its own declarations, 38 to Mathlib’s documentation. 17 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 sectionopen MeasureTheory Filteropen scoped ENNReal NNReal Topologynamespace LogConcaveSamplingabbrev Point (d : ℕ) := EuclideanSpace ℝ (Fin d)abbrev Reply (d : ℕ) := ℝ × Point dabbrev Transcript (d q : ℕ) := Fin q → Reply d/-- Normalized twice continuously differentiable potentials with Hessian between the identity and twice the identity. -/structure Admissible {d : ℕ} (V : Point d → ℝ) : Prop where  smooth : ContDiff ℝ 2 V  value_zero : V 0 = 0  gradient_zero : gradient V 0 = 0  hessian_bounds : ∀ x v : Point d,    ‖v‖ ^ 2 ≤ inner ℝ v (fderiv ℝ (gradient V) x v) ∧    inner ℝ v (fderiv ℝ (gradient V) x v) ≤ 2 * ‖v‖ ^ 2/-- The unnormalized Gibbs density relative to Euclidean volume. -/def gibbsDensity {d : ℕ} (V : Point d → ℝ) (x : Point d) : ℝ≥0∞ :=  ENNReal.ofReal (Real.exp (-V x))def partition {d : ℕ} (V : Point d → ℝ) : ℝ≥0∞ :=  ∫⁻ x, gibbsDensity V x ∂volume/-- The Gibbs probability law, normalized by its partition function. -/def gibbs {d : ℕ} (V : Point d → ℝ) : Measure (Point d) :=  (partition V)⁻¹ • volume.withDensity (gibbsDensity V)def TVAtMost {E : Type*} [MeasurableSpace E]    (μ ν : Measure E) (ε : ℝ) : Prop :=  ∀ s : Set E, MeasurableSet s → |μ.real s - ν.real s| ≤ εdef firstOrderReply {d : ℕ} (V : Point d → ℝ) (x : Point d) : Reply d :=  (V x, gradient V x)/-- Measurable adaptive queries and output, parametrized by private randomness. -/structure OracleAlgorithm (Ω : Type*) [MeasurableSpace Ω] (d q : ℕ) where  query : Fin q → Ω × Transcript d q → Point d  query_measurable : ∀ i, Measurable (query i)  output : Ω × Transcript d q → Point d  output_measurable : Measurable outputdef OracleAlgorithm.history {Ω : Type*} [MeasurableSpace Ω] {d q : ℕ}    (A : OracleAlgorithm Ω d q) (V : Point d → ℝ) (ω : Ω) : ℕ → Transcript d q  | 0 => 0  | n + 1 =>      let h := A.history V ω n      if hn : n < q then        Function.update h ⟨n, hn⟩ (firstOrderReply V (A.query ⟨n, hn⟩ (ω, h)))      else hdef OracleAlgorithm.run {Ω : Type*} [MeasurableSpace Ω] {d q : ℕ}    (A : OracleAlgorithm Ω d q) (V : Point d → ℝ) (ω : Ω) : Point d :=  A.output (ω, A.history V ω q)/-- A uniform sampler with a deterministic query budget on every execution and total-variation error at most one tenth. -/def CanSample (d q : ℕ) : Prop :=  ∃ (Ω : Type) (_ : MeasurableSpace Ω) (μ : Measure Ω)    (_ : IsProbabilityMeasure μ) (A : OracleAlgorithm Ω d q),    ∀ V : Point d → ℝ, Admissible V →      Measurable (A.run V) ∧ TVAtMost (μ.map (A.run V)) (gibbs V) (1 / 10)/-- The smallest feasible integer query budget, or infinity when no budget is feasible. -/def queryComplexity (d : ℕ) : ℕ∞ :=  sInf ((fun q : ℕ => (q : ℕ∞)) '' {q | CanSample d q})/-- The quantified dimension-exponent upper bound with every positive exponent slack. -/def ExponentBound (γ : ℝ) : Prop :=  0 ≤ γ ∧ ∀ ε : ℝ, 0 < ε → ∃ d₀ : ℕ, ∀ d : ℕ, d₀ ≤ d →    (queryComplexity d).toENNReal ≤ ENNReal.ofReal ((d : ℝ) ^ (γ + ε))def gammaStar : ℝ := sInf {γ : ℝ | ExponentBound γ}theorem exact_source_main :    (∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ d : ℕ, 2 ≤ d →      (queryComplexity d).toENNReal ≤ ENNReal.ofReal (C * (d : ℝ) ^ ε)) ∧    (∃ c : ℝ, 0 < c ∧ ∃ d₀ : ℕ, 2 ≤ d₀ ∧ ∀ d : ℕ, d₀ ≤ d →      ENNReal.ofReal (c * Real.log (d : ℝ)) ≤ (queryComplexity d).toENNReal) ∧    gammaStar = 0 := by  sorryend LogConcaveSamplingendend 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.

Subpolynomial query complexity for well-conditioned log-concave sampling

Theorem

In the oracle model above, for every \varepsilon>0 there is C_\varepsilon<\infty such that

Q(d)\le C_\varepsilon d^\varepsilon \qquad(d\ge2).

There are also absolute constants c>0 and d_0 such that

Q(d)\ge c\log d\qquad(d\ge d_0).

The lower bound applies to arbitrary randomized adaptive first-order algorithms. In particular, \gamma_*=0.

Section 1, Introduction Read it in the paper TeX source, line 51
Show the TeX
In the oracle model above, for every \(\varepsilon>0\)
there is \(C_\varepsilon<\infty\) such that
\[
                  Q(d)\le C_\varepsilon d^\varepsilon
                  \qquad(d\ge2).
\]
There are also absolute constants \(c>0\) and \(d_0\)
such that
\[
                  Q(d)\ge c\log d\qquad(d\ge d_0).
\]
The lower bound applies to arbitrary randomized adaptive
first-order algorithms. In particular, \(\gamma_*=0\).
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
16 local vocabulary declarations
Lines of Lean, without comments or blank lines
55
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

Subpolynomial query complexity for log-concave sampling

Family 139: Subpolynomial query complexity for log-concave sampling

Candidate pairing

Theorem

In the oracle model above, for every \varepsilon>0 there is C_\varepsilon<\infty such that

Q(d)\le C_\varepsilon d^\varepsilon \qquad(d\ge2).

There are also absolute constants c>0 and d_0 such that

Q(d)\ge c\log d\qquad(d\ge d_0).

The lower bound applies to arbitrary randomized adaptive first-order algorithms. In particular, \gamma_*=0.

Subpolynomial query complexity for well-conditioned log-concave sampling

TeX label thm:main, build/sections/introduction.tex, line 51

The Lean statement says

theorem exact_source_main :    (∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ d : ℕ, 2 ≤ d →      (queryComplexity d).toENNReal ≤ ENNReal.ofReal (C * (d : ℝ) ^ ε)) ∧    (∃ c : ℝ, 0 < c ∧ ∃ d₀ : ℕ, 2 ≤ d₀ ∧ ∀ d : ℕ, d₀ ≤ d →      ENNReal.ofReal (c * Real.log (d : ℝ)) ≤ (queryComplexity d).toENNReal) ∧    gammaStar = 0 := 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.two independent groups report that Comparator accepted runs for this file at the release version shown here.Statement review: none recorded

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