# 1. What the Lean statement says, line by line

## The question

Does the theorem OpenAI proved in Lean say what the Exponential Time Hypothesis denies, or something narrower or different?

## Why it matters

A Lean proof only proves the statement written in Lean. If that statement were weaker than ETH's standard form, the Lean proof would not refute ETH even if every step were accepted. So the statement has to be read against the usual definition.

## What answering it would help with

A reader may use the table below to see which parts of the English claim sit in the Lean text, and which parts (such as the stronger forms of the hypothesis) are derived outside it.

## What our research shows

**The answer in one line:** the Lean statement is a faithful and slightly stronger form of "k-SAT and counting its solutions can be done in time 2^{o(n)} times a polynomial, using polynomial space, for every fixed k from 2 up", with the weaker of the manuscript's two exponents. Checked (re-derived), from the statement as published at the pinned commit (listed in the check guide).

### The statement in plain words

The theorem is the main theorem of OpenAI's proof. It is stated in the challenge file of github.com/openai/math and proved in the final module of the proof (exact names are in the statement file and the check guide). In words: pick any width k of 2 or more. Then there is **one fixed Turing machine** (a simple model computer with several tapes, each cell holding blank, 0 or 1; in this version each state looks at one tape and acts on that tape only, which is equivalent to the usual multitape machine up to a constant factor) and fixed constants such that, for every number n of variables and every k-CNF formula F on them, written in a standard encoding, the machine

1. halts;
2. leaves on one tape the exact number of satisfying settings, in binary (least significant bit at the start), using at most n + 1 bits;
3. leaves the yes-or-no answer to "is F satisfiable?" on another tape and in its halting state;
4. takes at most C · (L + 1)^d · 2^{A · n · (ln ln (n + 16))² / √(ln (n + 16))} steps, where L is the length of the encoded formula; and
5. at every moment of the run, has used at most S · (L + 1)^e cells in total, counting for each tape the width of the stretch its head has covered (the input tape counts as covered from the start), which is polynomial memory.

(The theorem file ends with the placeholder word "sorry". That is the normal shape of a challenge file: the statement with the proof left blank. The proof lives in the module named above, and the comparator tool is meant to match the two.)

### The table

Each row is a question we asked of the statement, the answer, and its label. "Checked" means re-derived in writing by a second reading within this project; "checked by machine" means a program confirmed it; "cited" means a source was opened; "open" means not settled here.

| Question | Answer | Label |
| --- | --- | --- |
| Do the machine and constants depend on the formula? | No. The machine and every constant are chosen after k and before n and the formula, so one machine serves all sizes, with no hidden per-size table. The run is the machine's single deterministic run, and the number of steps is its exact length. | Checked |
| Is the length L of the encoded formula hiding an exponential? | No. For a fixed width k, a formula on n variables has at most (2n+1)^k distinct clauses, and each literal costs at most 4n + 2 bits, so L is at most n + 2 + (2n+1)^k (8kn + 4k + 4), a polynomial of degree k + 1. So (L + 1)^d is a polynomial and cannot contain an exponential factor. The encoding writes numbers in unary, which only makes the stated bound weaker than a binary encoding would. | Checked; checked by machine (a small replica of the encoder agreed on 4,000 random formulas) |
| Is the exponent really o(n)? | Yes. With x = ln(n + 16), the ratio of the exponent to n equals (ln x)² / √x, which tends to 0. So for every δ above 0 the whole bound is at most 2^{δ·n} for large n, and finitely many small n cost only a constant. | Checked; checked by machine |
| Does the exponent behave at small n (logs of logs)? | Yes. Since 16 is larger than e^e, ln ln (n + 16) stays above 1 for every n, so no junk values arise. | Checked |
| Does it refute ETH as defined? | Yes, if proved. Taking k = 3, it solves 3-SAT in time (polynomial in the input) · 2^{δn} for every δ above 0, which contradicts "ETH: 3-SAT needs 2^{cn} for some c above 0". ETH is sometimes stated in the number of clauses m instead; after dropping variables that appear in no clause, n is at most k·m, so 2^{o(n)} is also 2^{o(m)}. | Checked; the definitions of ETH are cited from Impagliazzo–Paturi (1999), Impagliazzo–Paturi–Zane (2001) and Calabro–Impagliazzo–Paturi (2010) |
| Does it refute counting ETH? | Yes, if proved. The statement is the exact count over all 2^n settings of the n declared variables, so it contradicts the version of ETH for counting solutions (Dell and others, 2014). | Checked |
| Does it refute SETH (the stronger Strong ETH)? | Yes, if proved, by a short derivation outside Lean: every fixed k gets 2^{n/2}, which beats the 2^{(1−ε)n} lower bound SETH asks for at every k. | Checked (derivation); this is not a line of the Lean statement |
| NSETH, Gap-ETH, randomised versions? | NSETH: a deterministic 2^{o(n)} decision procedure for unsatisfiability is also a nondeterministic one. Gap-ETH says no 2^{εn}-time algorithm can tell a satisfiable 3-CNF from one in which every assignment violates a fixed fraction of the clauses; an exact 2^{o(n)} satisfiability test does that, so it refutes Gap-ETH. The randomised versions are refuted because a deterministic algorithm is a randomised one with no error. None of these is in the Lean text, and the definitions are taken from the manuscript. | Checked (one-line derivations); definitions cited from the manuscript |
| Does the machine model change anything? | No. A multitape machine with a fixed number of tapes can be run on a RAM (the usual computer model) with at most a small logarithmic factor extra, and on one tape with a square, and a square of 2^{o(n)} is still 2^{o(n)}. | Checked in the direction the refutation needs |
| Does counting also give the yes-or-no answer? | Yes. The statement puts the answer on a tape and in the halting state. | Checked |
| Does "canonically encoded" hide something? | No. The theorem covers inputs written in one sorted, duplicate-free form. Any ordinary input is converted to that form in polynomial time, which is outside the Lean statement and costs only a polynomial. | Checked |
| Is the memory bound honest? | Yes. It counts every cell any head has visited, including the whole input, at every moment of the run. | Checked |
| Does the exponent match the manuscript? | The Lean statement is narrower. It uses n (ln ln n)² / √(ln n); the manuscript's Theorem 1.1 has the sharper n ln ln n / √(ln n), and n / √(ln n) when the number of clauses is at most a fixed multiple of n. Both are o(n), so the refutation does not need the sharper ones. | Cited (the manuscript and the repository's page for this result) |
| Does the proof file define things differently from the challenge file? | We compared the 33 definitions in the challenge file with the proof's, as text: 25 are identical, and the other 8 differ only where a comment or section line was attached to the chunk; we read each of those by eye and the bodies agree. Equal text is not proof that the compiled definitions are equal, which is what the comparator tool would check. | Checked by machine (text comparison); the definition-level comparison is open |

### What the statement leaves out

The statement is about each fixed width k, not width growing with n; it gives no explicit constants; it says nothing about problems other than k-CNF counting and satisfiability (the manuscript's corollaries about colourings and matchings are not in Lean); and it does not say the algorithm is faster than brute force at any size anyone will meet. As an illustration only: if the exponent were exactly the Lean one, n (ln ln n)² / √(ln n), with every constant equal to 1, its ratio to n would peak at about 2.17 near n = 10^23.7 and fall below 1 only past about 10^2390 variables. The real constants are not published and depend on k, and the manuscript's sharper exponents (its own claim, not in Lean) behave differently, so this is not a statement about where the algorithm beats brute force. It shows how o(n) works: an asymptotic statement promises nothing at any particular size, and no practical speed-up has been shown.

### Net verdict

This indicates that the Lean statement is what is needed to refute ETH and counting ETH, and that SETH, NSETH and Gap-ETH follow from it by short arguments. Whether the proof of the statement is correct is a separate question, covered in [chapter 2](02-how-we-checked-it.md).

## Check it yourself

Download the challenge file from the pinned commit of github.com/openai/math and read the theorem near the end of it (line 194). The statement file in this book repeats it with commentary: [statement/STATEMENT.md](../statement/STATEMENT.md).

## Where to go next

- How was the proof itself checked? See [How we checked it](02-how-we-checked-it.md).
- What could still be wrong with the definitions? See [What is still open](04-what-is-still-open.md).
