# Theorems in this book

This page sets out, in mathematical notation, the statement this book examines and the two small facts we derived about it. The main theorem and its proof are OpenAI's; we did not write them. Every label below says how far the statement has been checked. For the plain-words version, see [What the Lean statement says](chapters/01-what-the-lean-statement-says.md). For the exact names to type into Lean, see the [check guide](VERIFY.md).

## Theorem 1: exact counting of $k$-SAT in subexponential time (OpenAI, 2026)

**Credit:** OpenAI (2026), stated and proved in Lean in their public repository. This is the claimed refutation of the Exponential Time Hypothesis. The review group (Impagliazzo, Paturi and Williams) has not finished its review.

For every integer $k \ge 2$ there exist:
- a deterministic multitape Turing machine $M$ over the tape alphabet $\{\sqcup, 0, 1\}$;
- constants $C, A, S > 0$; and
- integers $d, e \ge 1$,

such that for every $n \ge 0$ and every formula $F$ in conjunctive normal form on the variables $x_0, \dots, x_{n-1}$ whose clauses each have at most $k$ literals, the following holds. Write $L$ for the length of the canonical binary encoding of $F$, and $\#F$ for the number of assignments in $\{0,1\}^n$ that satisfy $F$. Started on that encoding, $M$ halts after some number $T$ of steps, and:

1. one tape holds $\#F$ in binary, using at most $n + 1$ bits;
2. another tape, and the halting state, hold the answer $[\#F > 0]$;
3. the running time satisfies
$$T \;\le\; C\,(L+1)^{d}\; 2^{\,A\, n\, \frac{(\ln\ln(n+16))^{2}}{\sqrt{\ln(n+16)}}}\,;$$
4. at every step of the run, the total width of tape visited is at most $S\,(L+1)^{e}$.

**Status:**
- The whole proof (3,091 modules) builds under Lean 4.34.1, and its axioms are the standard three and no others. Checked by machine.
- A kernel replay with leanchecker of all 3,091 modules has finished: 3,091 accepted, none rejected. Checked by machine.
- The comparator tool and a second, independent kernel have not been run by us. The manuscript's mathematics has not been checked line by line. Open.
- The comparator tool has been run by others and accepts; a second kernel accepted in one run with a patched build. Cited, not repeated here.

The Lean name of this theorem:

```
OAI.Algorithms.SubexponentialSAT.SqrtLogSpace.exact_count_and_sat
```

## Lemma 2: the encoding length is polynomial in $n$ (this project)

**Credit:** derived in this project from the encoding defined in OpenAI's Lean statement.

For fixed $k$, every formula $F$ as in Theorem 1 satisfies
$$n + 2 \;\le\; L \;\le\; n + 2 + (2n+1)^{k}\,(8kn + 4k + 4).$$
So the factor $(L+1)^{d}$ in Theorem 1 is bounded by a polynomial in $n$, and it cannot hide an exponential.

**Status:** checked (re-derived in writing from the Lean definitions of the encoding).

## Corollary 3: Theorem 1 contradicts the Exponential Time Hypothesis (this project)

**Credit:** a standard deduction, written out in this project. The hypothesis is due to Impagliazzo and Paturi (1999–2001).

The Exponential Time Hypothesis says that there is a $\delta > 0$ such that $3$-SAT has no algorithm running in time $2^{\delta n}$ on formulas with $n$ variables. If Theorem 1 holds, then for every $\delta > 0$, $k$-SAT (in particular $3$-SAT) is decided in time $2^{\delta n}$ for all large $n$, because
$$\lim_{n\to\infty}\frac{(\ln\ln(n+16))^{2}}{\sqrt{\ln(n+16)}} = 0$$
and, by Lemma 2, $(L+1)^{d}$ is bounded by a polynomial in $n$. The same argument applies to counting solutions (#ETH).

**Status:** checked (re-derived in writing). It depends on Theorem 1, whose status is above.

## What this page does not contain

The scope is an audit of OpenAI's statement and an explanation of its $k$-SAT claim.
