Alphabeta Math
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 12 results · all verified · 6 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 6 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

The Cook--Levin Theorem

1 · Prerequisites

2 · Summary

This page localizes SAT and then proves the Cook-Levin theorem by encoding one polynomially bounded nondeterministic computation branch as a bounded tableau. The clause families are separated into cell, start, move, and accept constraints so that correctness and size bounds stay distinct obligations.

After SAT completeness is established, the page adds the standard Tseitin epilogue. Extension variables keep CNF conversion linear, which makes the polynomial reduction from SAT to 3-SAT explicit and also clarifies why naive full distribution is the wrong conversion mechanism.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Boolean formulas, conjunctive normal form, and the satisfiability language SAT

Definition

A Boolean formula is built from variables, the constants ⊤,⊥, and the connectives ¬,∧,∨ in the usual recursive way. A formula is in conjunctive normal form (CNF) when it is a conjunction of clauses, where each clause is a disjunction of literals and a literal is either a variable or the negation of a variable.

The language SAT:={⌜φ⌝:φ is a satisfiable Boolean formula} consists of the encodings of Boolean formulas that admit a truth assignment making them true.

Remarks

  • A 3-CNF formula is a CNF formula whose clauses have at most three literals.

  • On this page, formulas are encoded by any fixed reasonable binary syntax; completeness statements are invariant under that choice up to polynomial-time translation.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

SAT lies in NP

Statement

The satisfiability language SAT belongs to NP.

Facts & Assumptions

Given: A Boolean formula φ with variables among x1,…,xn.

[L1]

The language SAT consists exactly of the encodings of satisfiable Boolean formulas, by Boolean formulas, conjunctive normal form, and the satisfiability language SAT.

[L2]

A language lies in NP when membership can be verified in polynomial time from a polynomially bounded certificate, by The class NP via polynomial-time verifiers and Polynomial-time verifiers with polynomially bounded certificates.

Proof

technique · direct
1.1L2givenconstruct

Use as certificate a truth assignment a∈{0,1}n for the variables of φ. Its length is n, so it is linearly bounded by the input size of ⌜φ⌝.

2.1L1L2step 1.1∎

A deterministic verifier can evaluate φ under a by traversing the parse tree of φ once. That takes time polynomial in ∣⌜φ⌝∣, and by [L1] it accepts exactly when φ is satisfiable. Therefore [L2] gives SAT∈NP.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

A bounded computation tableau for a nondeterministic Turing-machine run

Definition

Fix a nondeterministic one-tape Turing machine N and an input word w. Suppose T≥∣w∣, every branch of N on w halts within T steps, and no branch visits a tape cell beyond position T. A bounded computation tableau for N on w is a (T+1)×(T+1) array whose rows encode one computation branch of N on w, padded after halting if necessary:

  • row 0 is the initial configuration on input w,
  • each later row is obtained from the previous row by one legal transition of N, or else repeats the previous row unchanged when that previous row is already halting,
  • and each row contains exactly one distinguished state-tagged tape symbol, marking the head position and current state.

The tableau is accepting when some row is an accepting configuration.

Remarks

  • The one-tape hypothesis is what makes one state-tagged symbol sufficient to record the unique head position in each row.

  • The bound T≥∣w∣ ensures that row 0 has room for the entire input; the width and height are both polynomial in ∣w∣ once T is polynomial.

  • The repeated-row convention is the standard way to fit an accepting or rejecting branch of length at most T into a fixed (T+1)×(T+1) tableau.

  • The tableau records one branch, not the whole nondeterministic tree.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

For a fixed machine, each tableau cell ranges over a constant-size extended alphabet

Statement

Fix a nondeterministic Turing machine N with state set Q and tape alphabet Γ. Then every cell of a bounded computation tableau for N ranges over the constant-size set ΔN:=Γ∪(Q×Γ).

Facts & Assumptions

Given: A fixed machine N with state set Q and tape alphabet Γ.

[L1]

In a bounded computation tableau, each row is a configuration and each row has exactly one state-tagged tape symbol marking the head position, by A bounded computation tableau for a nondeterministic Turing-machine run.

Proof

technique · direct
1.1L1given

A tableau cell either lies away from the head, in which case it stores only a tape symbol from Γ, or it is the unique scanned cell of that row, in which case it must record both the scanned tape symbol and the current state, hence an element of Q×Γ. By [L1], these are the only possibilities.

2.1step 1.1∎

Therefore every cell value lies in ΔN=Γ∪(Q×Γ). Because the machine N is fixed before any input is considered, both Q and Γ are fixed finite sets, so ∣ΔN∣=∣Γ∣+∣Q∣∣Γ∣ is a constant independent of the input length.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Local 2x3 tableau windows and legality

Definition

Let T be a bounded computation tableau for a fixed machine N. Adjoin a fixed boundary marker # to the left and right of every row. A local 2×3 tableau window is any block of the form Tr,cTr,c+1Tr,c+2Tr+1,cTr+1,c+1Tr+1,c+2 cut from two adjacent padded rows and three consecutive padded columns.

Such a window is legal when it is consistent with the local row-to-row rule for bounded tableaux: the boundary markers stay fixed; if the upper row is nonhalting then cells away from the head remain unchanged and the cells in the head's neighborhood change exactly as one allowed transition of N prescribes; and if the upper row is already halting then the lower row is identical to it.

Remarks

  • A legal window is a local consistency check; it does not by itself guarantee that the whole tableau is a valid run.

  • On this page, the separate global condition is that the first row is the correct start configuration; once that row is fixed, the local windows govern the rest of the tableau.

  • The padded boundary markers let the same local test handle the left edge, the right edge, and very small tableau widths.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

The exactly-one-symbol constraints have polynomial size

Statement

For a tableau of size (T+1)×(T+1) for a fixed machine N, the Boolean constraints asserting that each cell carries exactly one symbol of ΔN have polynomial total size.

Facts & Assumptions

Given: A tableau of side length T+1 for a fixed machine N.

[L1]

A tableau cell ranges over the constant-size extended alphabet ΔN, by For a fixed machine, each tableau cell ranges over a constant-size extended alphabet.

[L2]

The overall target is a Boolean satisfiability instance, by Boolean formulas, conjunctive normal form, and the satisfiability language SAT.

Proof

technique · direct
1.1L1L2givenconstruct

Introduce a variable Xr,c,a for each row r, column c, and symbol a∈ΔN, intended to mean that cell (r,c) carries a. By [L1], the number of choices for a is a fixed constant, so the total number of such variables is O(T2).

2.1L1step 1.1construct

For each cell, add one at-least-one clause ⋁a∈ΔNXr,c,a and one pairwise-exclusion clause ¬Xr,c,a∨¬Xr,c,b for each distinct pair a≠b. Because ∣ΔN∣ is constant by [L1], each cell contributes only constantly many literals and clauses.

3.1step 1.1step 2.1∎

There are (T+1)2 cells, and step 2.1 attaches only constant-size data to each one. Therefore the full exactly-one-symbol family has size polynomial in T, hence polynomial in the input length once T is polynomially bounded.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The start, accept, and transition constraints have polynomial size

Statement

For a fixed machine and a polynomially bounded tableau, the Boolean formulas forcing the correct start row, forcing an accepting state somewhere, and forcing legal row-to-row transitions all have polynomial total size.

Facts & Assumptions

Given: A tableau of side length T+1 for a fixed machine N on input w.

[L1]

A local 2×3 window is legal exactly when it matches one allowed local update of the machine, by Local 2x3 tableau windows and legality.

[L2]

Each tableau cell ranges over a constant-size alphabet for fixed N, by For a fixed machine, each tableau cell ranges over a constant-size extended alphabet.

Proof

technique · direct
1.1givenconstruct

The start constraint fixes each cell of the first row to its predetermined initial symbol, so it contributes one constant-size literal condition per column and therefore O(T) total size. The accept constraint is the disjunction over all cells that one of them carries an accepting-state tag, so it has O(T2) size.

1.2L1L2givenconstruct

For each adjacent-row position and each illegal 2×3 pattern, add a clause forbidding that pattern. By [L1] and [L2], there are O(T2) window positions and only constantly many patterns to inspect at each position, each producing a constant-size clause.

2.1step 1.1step 1.2∎

Combining steps 1.1 and 1.2 shows that the start, accept, and transition families together have polynomial total size.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The Cook-Levin formula is satisfiable if and only if an accepting bounded tableau exists

Statement

Fix a nondeterministic one-tape machine N, an input w, and a bound T≥∣w∣ such that every branch of N on w halts within T steps and never visits a tape cell beyond position T. Let ψN,w:=ψcell∧ψstart∧ψmove∧ψaccept be the standard Cook-Levin formula built from the tableau variables. Then ψN,w is satisfiable if and only if there exists an accepting bounded computation tableau for N on w of height and width T+1.

Facts & Assumptions

Given: A nondeterministic one-tape machine N, an input w, a bound T satisfying the hypotheses in the statement, and the Cook-Levin formula ψN,w.

[L1]

The cell constraints force each tableau position to carry exactly one symbol, by The exactly-one-symbol constraints have polynomial size.

[L2]

The start, accept, and transition constraints enforce the initial row, an accepting position, and local transition legality, by The start, accept, and transition constraints have polynomial size.

[L3]

A tableau is a valid branch computation history exactly when its first row is correct and every local window is legal, by A tableau is legal exactly when the start row is correct and every local window is legal.

Proof

technique · direct
1.1L2L3givenconstruct

If an accepting bounded tableau exists, assign each variable Xr,c,a the value 1 exactly when the tableau places symbol a in cell (r,c). The tableau then satisfies ψcell by construction, while [L2] and [L3] show that it also satisfies ψstart, ψmove, and ψaccept. Hence ψN,w is satisfiable.

1.2L1given

Conversely, suppose ψN,w is satisfiable. By [L1], the satisfying assignment determines one symbol in every tableau cell.

2.1L2L3step 1.2

The tableau extracted in step 1.2 satisfies the required start, accept, and local transition conditions by [L2]. Therefore [L3] turns it into a genuine branch computation history for N on w, with later rows allowed to repeat once a halting configuration has appeared, and the accept part of [L2] makes that history accepting.

3.1step 1.1step 2.1∎

Steps 1.1 and 2.1 prove both implication directions, so ψN,w is satisfiable exactly when an accepting bounded tableau exists.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The Cook-Levin reduction map is computable in polynomial time

Statement

For a fixed nondeterministic polynomial-time machine N, the map sending an input w to the Cook-Levin formula ψN,w is computable in polynomial time.

Facts & Assumptions

Given: A fixed machine N running in time at most p(n) on inputs of length n.

[L1]

The exactly-one-symbol family has polynomial size in the tableau side length, by The exactly-one-symbol constraints have polynomial size.

[L2]

The start, accept, and transition families also have polynomial size in the tableau side length, by The start, accept, and transition constraints have polynomial size.

[L3]

A time bound means that every run on length-n inputs halts within the stated bound, in the worst-case sense formalized by Worst-case time and space complexity of a machine.

Proof

technique · direct
1.1L3givenconstruct

On an input w of length n, [L3] gives a tableau side length T+1 with T≤p(n). A deterministic transducer can loop over all cells, all alphabet symbols, and all local windows in lexicographic order and print the corresponding clauses of ψN,w.

2.1L1L2step 1.1

By [L1] and [L2], the number of printed variables and clauses is polynomial in T, hence polynomial in n because T≤p(n). Each loop iteration performs only constant-size bookkeeping for the fixed machine N.

3.1step 1.1step 2.1∎

Therefore the transducer from step 1.1 halts after polynomially many steps and outputs ψN,w. So the Cook-Levin map w↦ψN,w is polynomial-time computable.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

SAT is NP-complete

Statement

The satisfiability language SAT is NP-complete.

Facts & Assumptions

Given: A language L∈NP.

[L1]

The language SAT lies in NP, by SAT lies in NP.

[L2]

The verifier and nondeterministic-machine definitions of NP agree, by The verifier and nondeterministic definitions of NP agree.

[L3]

For a fixed nondeterministic polynomial-time machine, the Cook-Levin formula is satisfiable exactly when an accepting bounded tableau exists and is computable in polynomial time, by The Cook-Levin formula is satisfiable if and only if an accepting bounded tableau exists and The Cook-Levin reduction map is computable in polynomial time.

[L4]

A language is NP-complete exactly when it lies in NP and every language in NP polynomial-time many-one reduces to it, by NP-hard and NP-complete languages and Polynomial-time many-one reductions.

Proof

technique · direct
1.1L1L4given

By [L1], SAT is in NP. To prove NP-completeness via [L4], it remains to prove NP-hardness.

1.2L2givenconstruct

Because L∈NP, [L2] supplies a nondeterministic polynomial-time machine N deciding L. For an input x, let f(x) be the Cook-Levin formula ψN,x for a polynomial bound on computations of N on x.

2.1L3step 1.2

By [L3], the formula f(x) is satisfiable exactly when N has an accepting bounded tableau on x; with the bounded-tableau convention that later rows may repeat a halting configuration, this happens exactly when x∈L. The same citation shows that f is computable in polynomial time. Therefore L≤pSAT.

3.1L4step 1.1step 2.1∎

Since L∈NP was arbitrary, step 2.1 proves that every language in NP reduces to SAT. Together with step 1.1, [L4] gives that SAT is NP-complete.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Tseitin extension variables for subformulas

Definition

Given a Boolean formula φ, a Tseitin extension variable for a subformula θ of φ is a fresh variable yθ intended to represent the truth value of θ. The Tseitin translation adds a local constraint for every subformula. For an atomic variable or constant it forces yθ↔θ directly; for a composite subformula it forces yθ to equal the result of applying the outer connective to the extension variables of the immediate subformulas. It then requires the root variable yφ to be true.

Remarks

  • The new variables name intermediate subformulas instead of expanding them repeatedly.

  • This keeps the transformed formula linear in the size of the original parse tree.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

The Tseitin transformation has linear size and preserves satisfiability

Statement

For every Boolean formula φ, there is a CNF formula T(φ) such that:

  • every clause of T(φ) has at most three literals,
  • T(φ) has size O(∣φ∣),
  • and φ is satisfiable if and only if T(φ) is satisfiable.

Facts & Assumptions

Given: A Boolean formula φ.

[L1]

A Tseitin extension variable yθ is intended to encode the truth value of the subformula θ, by Tseitin extension variables for subformulas.

[L2]

The satisfiability language concerns exactly whether a Boolean formula has some satisfying truth assignment, by Boolean formulas, conjunctive normal form, and the satisfiability language SAT.

Proof

technique · direct
1.1L1L2givenconstruct

For each subformula θ of φ, introduce the extension variable from [L1]. If θ is a literal ℓ, add (¬yθ∨ℓ) and (yθ∨¬ℓ). If θ=α∧β, add (¬yθ∨yα), (¬yθ∨yβ), and (yθ∨¬yα∨¬yβ). If θ=α∨β, add (yθ∨¬yα), (yθ∨¬yβ), and (¬yθ∨yα∨yβ). If θ=¬α, add (¬yθ∨¬yα) and (yθ∨yα). If θ=⊤ or θ=⊥, add the unit clause (yθ) or (¬yθ) respectively. Finally add the unit clause (yφ). Every clause has at most three literals.

2.1step 1.1givenconstruct

Any satisfying assignment of φ extends to the new variables by setting each yθ equal to the truth value of θ under that assignment. Then every local clause from step 1.1 is satisfied, including the negation and constant clauses, and yφ=1 because φ itself is true. So satisfiability of φ implies satisfiability of T(φ).

3.1step 1.1step 2.1

Conversely, suppose T(φ) is satisfiable. The clauses of step 1.1 force each yθ to agree with the Boolean value prescribed by its immediate subformulas, and an induction on subformula complexity shows that every extension variable equals the value of its subformula under the restricted assignment to the original variables. Since the clause (yφ) is satisfied, the original formula φ is true.

4.1step 1.1step 2.1step 3.1∎

Each subformula of φ contributes one fresh variable and only constantly many clauses, so the total size of T(φ) is linear in ∣φ∣. Together with steps 2.1 and 3.1, this proves the statement.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

3-SAT is NP-complete

Statement

The language 3-SAT of satisfiable CNF formulas with exactly three literals per clause is NP-complete.

Facts & Assumptions

Given: An arbitrary Boolean formula φ.

[L1]

The language SAT is NP-complete, by SAT is NP-complete.

[L2]

The Tseitin transformation produces in linear size an equisatisfiable CNF formula whose clauses have at most three literals, by The Tseitin transformation has linear size and preserves satisfiability.

[L3]

A language is NP-complete exactly when it lies in NP and every language in NP polynomial-time many-one reduces to it, by NP-hard and NP-complete languages and Polynomial-time many-one reductions.

Proof

technique · direct
1.1givenconstruct

A truth assignment for a 3-CNF formula can be checked clause by clause in polynomial time, exactly as for SAT. So 3-SAT lies in NP.

1.2L1L2givenconstruct

By [L1], it is enough to reduce SAT to 3-SAT. Start from φ and apply [L2] to obtain an equisatisfiable CNF formula T(φ) whose clauses have size at most three.

2.1step 1.2construct

Replace every 2-clause (ℓ1∨ℓ2) by (ℓ1∨ℓ2∨z)∧(ℓ1∨ℓ2∨¬z) with a fresh variable z, and replace every 1-clause (ℓ) by (ℓ∨u∨v)∧(ℓ∨u∨¬v)∧(ℓ∨¬u∨v)∧(ℓ∨¬u∨¬v) with fresh variables u,v. These replacements preserve satisfiability and produce only 3-clauses.

3.1L2L3step 1.1step 1.2step 2.1∎

Steps 1.2 and 2.1 give a polynomial-time many-one reduction from SAT to 3-SAT, because [L2] is linear-size and the padding in step 2.1 adds only constantly many clauses per short clause. Therefore 3-SAT is NP-hard. Combined with step 1.1, [L3] yields that 3-SAT is NP-complete.

5 · Examples, counterexamples and false statements

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-09-12Open item page →

FALSE: the Cook-Levin reduction enumerates all nondeterministic branches

Statement

The Cook-Levin reduction works by explicitly enumerating every nondeterministic branch of the machine.

Facts & Assumptions

Given: The Cook-Levin tableau encoding.

[L1]

A bounded computation tableau records one computation branch of the machine, not the whole branch tree, by A bounded computation tableau for a nondeterministic Turing-machine run.

[L2]

The Cook-Levin formula is satisfiable exactly when at least one accepting tableau exists, by The Cook-Levin formula is satisfiable if and only if an accepting bounded tableau exists.

Refutation

technique · direct
1.1L1given

By [L1], one satisfying assignment describes one tableau, hence one branch. There is no requirement that the encoding simultaneously list all other branches.

2.1L2step 1.1∎

By [L2], the reduction asks only whether some accepting tableau exists. Existence of one accepting branch is enough, so explicit enumeration of every branch is unnecessary. Therefore the statement is false.

False statementConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

FALSE: distributing an arbitrary formula into CNF always has polynomial size

Statement

Distributing an arbitrary Boolean formula into CNF always increases its size by at most a polynomial factor.

Facts & Assumptions

Given: The formula φn:=⋁i=1n(ai∧bi).

[L1]

The page's CNF and satisfiability language are the ones from Boolean formulas, conjunctive normal form, and the satisfiability language SAT.

[L2]

The Tseitin transformation is kept precisely because it preserves satisfiability with only linear blowup, by The Tseitin transformation has linear size and preserves satisfiability.

Refutation

technique · direct
1.1L1givenalgebra

Fully distributing φn into CNF chooses one literal from each conjunctive pair (ai∧bi), so the resulting CNF has one clause for every function {1,…,n}→{ai,bi}. That is 2n distinct clauses.

2.1L2step 1.1∎

Since the original formula has size O(n) but the distributed CNF has 2n clauses, the size blowup is exponential, not polynomial. Step 1.1 is exactly why [L2] keeps Tseitin variables available. Therefore the statement is false.

Sources