GCY Go Check Yourself
Archive Audits OpenAI ETH Lean Proof Replay (2026)

Independent Replay of OpenAI's October 2026 ETH Lean Proof (3,091 Modules)

Audit Author: Sonny (not an author of the audited claim) Computed Proved Cited Open ReplayKernel Target: github.com/openai/math @ 7ef5c0cc5ca4 · Lean 4.34.1

Summary of What Was Checked & What Was Not: Reading the formalized statement OAI.Algorithms.SubexponentialSAT.SqrtLogSpace.exact_count_and_sat establishes that, for each fixed clause width k≥2k \ge 2, it faithfully expresses subexponential-time (2o(n)2^{o(n)} times a polynomial) and polynomial-space exact k-SAT solving and counting (Proved · Re-Derived). Building the pinned repository succeeded (12,014 Lake jobs), an escape-hatch text scan across 3,977 .lean files found zero backdoors outside the challenge stub's single sorry, #print axioms returned strictly [propext, Classical.choice, Quot.sound], and module-by-module kernel replay accepted 3,091 of 3,091 compiled modules, and an unmodified independent second kernel (nanoda 0.4.31) accepted all 95,199 declarations the five main theorems depend on, admitting only the three standard axioms, while refusing a one-digit planted copy (Computed). Explicit Honest Limits (Open): this audit does not line-check the 67-page prose manuscript (paper.pdf), did not locally execute comparator, and awaits the independent specialist review group led by Impagliazzo, Paturi, and Williams.

Audited Subject · Pinned Commit & Check Ledger

1. Pinned Repository, Statement Scope & Check Summary

Repository:       https://github.com/openai/math  (Apache-2.0)
Pinned commit:    7ef5c0cc5ca4b0e072b7a050fca09ab24bc6fa3a
Lean toolchain:   leanprover/lean4:v4.34.1
Mathlib revision: d13f23b723b8a846827a245b89c10fc7d3f11612
Challenge file:   lean/ComparatorChallenges/SubexponentialSAT.lean
Proof final file: OAI/Algorithms/SubexponentialSAT/SqrtLogSpace/Final.lean
Theorem:          OAI.Algorithms.SubexponentialSAT.SqrtLogSpace.exact_count_and_sat
Manuscript:       preprints/The-Exponential-Time-Hypothesis-is-False-October-25-2026/paper.pdf (67 pp.)
Audit CheckOutcome ObservedStatus Label
Escape-hatch scan (3,977 .lean files, comments stripped)Zero sorry, admit, extra axiom, native_decide, ofReduceBool, implemented_by, extern, unsafe, or skipKernelTC outside the challenge stubComputed
Lean 4.34.1 + pinned Mathlib buildBuild completed successfully (12014 jobs) (~9.5 h elapsed across resumes on one PC)Computed
Axiom footprint of exact_count_and_satStrictly [propext, Classical.choice, Quot.sound] (plus 19 in-build checks matching those 3)Computed
Kernel replay (lake env leanchecker <module>)3,091 / 3,091 compiled modules accepted (exit code 0), 0 rejected (trusting compiled imports per invocation)Computed
Textual challenge vs. proof defs (33 definitions)25 byte-identical; 8 header/comment splits agreed by eye (compiled equivalence requires comparator)Proved (text)
External comparator run (Busnello)Public log reports challenge declaration accepted under standard 3 axioms (doi.org/10.5281/zenodo.23820111)Cited (Open locally)
Unmodified second kernel (nanoda 0.4.31, commit 8de7e0c, built from source with no changes; stack raised to 4 GiB by configuration)Checked 95199 declarations with no errors for the full dependency set of the five main theorems (lean4export 076e8e57); admitted axioms exactly [propext, Quot.sound, Classical.choice]; a copy with one digit changed in one proof was refused by the same build and settings (twice). Two full runs, about 15 and 18 minutes, peak 13.6 GiB on a 32 GB laptopComputed
External second kernel (Toledo patched nanoda)Public report accepts using patched nanoda (~80 GiB RAM)Cited
67-page prose manuscript (paper.pdf) & sharper boundsNOT line-checked (introduction/overview read; full review rests with specialist panel & community)Open
Line-by-Line Formal Inspection

2. What exact_count_and_sat States & Mathematical Re-Derivations

Theorem exact_count_and_sat (published under Apache 2.0 in OpenAI's repository) quantifies in order: for every fixed width k≥2k \ge 2, there exists one deterministic multitape PrimitiveMachine and fixed constants C, A, S > 0, d, e > 0 independent of nn and the formula FF, returning exact binary count in at most n+1n + 1 bits, Boolean SAT answer on tape and state, runtime bounded by:

C \cdot (L + 1)^d \cdot 2^{A \cdot n \cdot \frac{(\ln\ln(n + 16))^2}{\sqrt\ln(n + 16)}}

and space across all tape heads bounded throughout execution by S⋅(L+1)eS \cdot (L + 1)^e:

theorem exact_count_and_sat (k : N) (hk : 2 ≤ k) :
    ∃ (machine : Computation.PrimitiveMachine)
      (countTape answerTape : Fin machine.tapeCount)
      (C A S : R) (d e : N),
      0 < C ∧ 0 < A ∧ 0 < S ∧ 0 < d ∧ 0 < e ∧
      ∀ (n : N) (F : SAT.CNF (Fin n)), SAT.WidthAtMost k F →
        ∃ (time : N) (final : LocatedCfg machine),
          Computation.Trace (locatedStep machine) time
            (locatedInit machine (Encoding.encodeCNF F)) final ∧
          final.config.tapes countTape =
            Turing.Tape.mk₁ ((countWord (SAT.count F)).map some) ∧
          final.config.tapes answerTape =
            Turing.Tape.mk₁ [some (decide (0 < SAT.count F))] ∧
          final.config.state = Sum.inl (decide (0 < SAT.count F)) ∧
          BinaryArithmetic.toNat (countWord (SAT.count F)) = SAT.count F ∧
          (countWord (SAT.count F)).length ≤ n + 1 ∧
          (time : R) ≤ OAI.Algorithms.SubexponentialSAT.SqrtLog.Statement.runtimeBound C A d
            (Encoding.formulaBitLength F) n ∧
          ∀ (prefixSteps : N) (intermediate : LocatedCfg machine),
            prefixSteps ≤ time →
            Computation.Trace (locatedStep machine) prefixSteps
              (locatedInit machine (Encoding.encodeCNF F)) intermediate →
            (visitedSpace intermediate : R) ≤
              S * ((Encoding.formulaBitLength F : R) + 1) ^ e
  • Polynomial encoding length Proved + Computed: A canonical duplicate-free k-CNF formula on nn variables has at most (2n+1)^k clauses, giving bit-length L≤n+2+(2n+1)k(8kn+4k+4)L \le n + 2 + (2n + 1)^k (8kn + 4k + 4) (checked against a small replica encoder across 4,000 random formulas). Thus (L+1)^d is genuinely polynomial for fixed kk.
  • Strict 2o(n)2^{o(n)} decay & well-behaved small n Proved: Putting x=ln⁡(n+16)x = \ln(n + 16), the offset satisfies 16>ee16 > e^e so ln⁡ln⁡(n+16)>1\ln\ln(n + 16) > 1 for every nn, and (ln⁡x)2/x→0(\ln x)^2 / \sqrt{x} \to 0. Converting between clause count m and variable count n gives 2o(m)2^{o(m)}.
  • Complexity implications (conditional on the proof holding): Setting k=3k = 3 contradicts ETH (2cn2^{cn}) and counting ETH (Dell et al. 2014); a short step outside Lean contradicts SETH (2(1−ε)n2^{(1-\varepsilon)n}), NSETH, Gap-ETH (2εn2^{\varepsilon n}), and randomized forms, propagating along linear-size sparsification reductions (Impagliazzo–Paturi–Zane 2001) to Independent Set, 3-Coloring, and Vertex Cover.
  • What the Lean statement leaves narrower than the prose: Lean formalizes exponent n(ln⁡ln⁡n)2/ln⁡nn (\ln\ln n)^2 / \sqrt{\ln n} rather than the prose manuscript's sharper nln⁡ln⁡n/ln⁡nn \ln\ln n / \sqrt{\ln n} or linear-density n/ln⁡nn / \sqrt{\ln n}; formalizes fixed kk rather than growing clause widths; omits constants C, A, S, d, e; and omits corollaries for colorings, matchings, Max-k-SAT, ENP, and constant-locality maps (Appendix C.2).
Plain-Words Triage · Non-Implications

3. Passwords, Encryption, Ethereum & P != NP

  • Not Ethereum: Here “ETH” denotes the Exponential Time Hypothesis (Impagliazzo–Paturi–Zane 1999–2001), unrelated to Ethereum cryptography.
  • Passwords, AES, RSA & ECC remain unaffected as far as known: Passwords rely on salted hashing/TLS; RSA relies on factoring (already subexponential via NFS); AES (FIPS 197) and ECC are fixed cryptographic designs rather than worst-case asymptotic 3-SAT formulas. At 10,00010{,}000 variables even a unit-constant heuristic exponent N/ln⁡NN / \sqrt{\ln N} is roughly 3,300 >> 128. Appendix C.2 targets only constant-locality maps (e.g. Goldreich one-way candidates), not AES/RSA/ECC, and was not audited here.
  • Does NOT answer P≠NP\mathrm{P} \neq \mathrm{NP} or NP=coNP\mathrm{NP} = \mathrm{coNP}: Runtime 2o(n)2^{o(n)} exceeds every polynomial; ETH would imply P≠NP\mathrm{P} \neq \mathrm{NP}, so refuting ETH removes one route without answering P≠NP\mathrm{P} \neq \mathrm{NP} either way. Cook–Levin blows an arbitrary length-T computation to size ~T log T–T2 (losing any subexponential gain), and Cook–Reckhow requires polynomial-size proofs rather than 2o(n)2^{o(n)} deterministic traces. No conflict arises with Resolution, Polynomial Calculus, or bounded-depth Frege proof-size lower bounds; Extended Frege size 2o(n)2^{o(n)} stays Conjectured / Open.
Explicit Scope Boundaries · Strictly Open

4. Four Open Limits of This Audit

  1. 67-page prose manuscript not line-checked: Only introduction, overview, and selected statements were read; specialist review of OpenAI's proof belongs to the community review group (Impagliazzo, Paturi, Williams; ethdiscussion.blog; O'Donnell; Kintali).
  2. comparator tool not run locally: Compiled equality between the challenge declaration and final theorem declaration is Open locally (public run by Busnello Cited at doi.org/10.5281/zenodo.23820111).
  3. mainTheorem_explicit not yet replayed: the theorem the development names as the paper's main result sits in modules the five checked theorems do not import; its build and kernel replay are Open. The second-kernel check also assumes the lean4export file is a faithful copy of the compiled modules.
  4. Sharper manuscript exponents & corollaries: Not in the Lean statement and not re-derived here.
  5. Proof-system Extended Frege 2o(n)2^{o(n)} conjecture & indirect complexity links: Strictly Open.
Reproduce Against github.com/openai/math · Credits

5. Public Reproduction Commands & Shoulders of Giants

Full instructions live in /data/recipes/eth-audit-REPLICATE.md (plan ~16 GB RAM and several hours for full build + single-module replay):

git clone --filter=blob:none --sparse https://github.com/openai/math.git && cd math
git sparse-checkout set lean/OAI/Algorithms/SubexponentialSAT lean/ComparatorChallenges
git checkout 7ef5c0cc5ca4b0e072b7a050fca09ab24bc6fa3a
# Configure minimal Lake project (Lean v4.34.1 + Mathlib d13f23b723b8a846827a245b89c10fc7d3f11612)
lake exe cache get
lake build OAI.Algorithms.SubexponentialSAT.Main
lake env leanchecker OAI.Algorithms.SubexponentialSAT.Algorithm  # repeat across all 3,091 .olean modules

Credits (Cited): OpenAI (October 2026 ETH repository & Apache-2.0 Lean proof: openai.com/index/building-scientific-understanding-with-academic-communities/); Impagliazzo, Paturi, Zane & Calabro (ETH/SETH); Dell, Husfeldt, Marx, Taslaman & Wahlén (#ETH); Carmosino et al. (NSETH); Ryan O'Donnell & Shiva Kintali (expositions); Lean 4 / Mathlib / leanchecker; Busnello & Toledo (independent external comparator / patched-nanoda replications).