Given a projection procedure with the exactness contract, write the conditional deterministic algorithm as :
A_G(x):
construct C_n from x
for t = n, n-1, ..., 1:
H := C_t[z_t <- 0] OR C_t[z_t <- 1]
C_(t-1) := Compress(x, t, H)
retain C_(t-1)
if Evaluate(C_0, empty assignment) = 0:
return UNSAT
a := empty prefix
for t = 1, 2, ..., n:
if Evaluate(C_t, a followed by 0) = 1:
append 0 to a
else:
append 1 to a
verify x(a) = 1
return a
The word Compress in this conditional algorithm must be replaced by an actual implementation. Section 12 supplies an unconditional implementation in the CNF representation. It has different resource bounds.
The loops, evaluations, and zero-first recovery choices are deterministic. The unresolved part of is the implementation and universal resource bound of Compress, not a nondeterministic choice hidden in recovery. Its required complete-run polynomial is in (26b)–(26c); the construction polynomial and circuit-size polynomial yield one such polynomial only under G, as Theorem 7 proves.
Theorem 5 , Exactness of every stored projection. If every compression call preserves its input function, then
Proof. At , both sides evaluate . If , equations (20)–(21) show that . Exact compression preserves that function. Descending induction proves the claim.
Theorem 6 , Sound SAT/UNSAT decision and witness recovery. If the exact projection construction terminates, returns UNSAT exactly when is unsatisfiable; otherwise it returns a satisfying assignment.
Proof. By Theorem 5 and (13), evaluating correctly decides whether any satisfying assignment exists. Suppose its value is one. The recovery invariant is
By projection exactness,
If the first term is one, appending zero preserves the invariant. Otherwise the second term must be one, so appending one preserves it. At , the invariant becomes . The final verification therefore succeeds.
Corollary 6.1 , Deterministic selection. The zero-first rule returns the lexicographically least satisfying assignment in the specified variable order. At the first differing bit of any competing smaller assignment, the zero branch would have had a satisfying completion and would have been selected.
Theorem 7 , Polynomial implication. Under Postulate G,
using a conservative sequential bit implementation of ordinary circuit evaluation. In particular, the runtime is polynomial in .
Proof. Construction costs at most . There are ordinary circuit evaluations on circuits of at most encoded bits. A simple topological evaluator can locate prior gate values by scanning a finite table, giving a quadratic bit bound in the encoded circuit size; faster data structures are unnecessary for this theorem. The input and final formula evaluation have polynomial cost bounded conservatively here by . The stored circuits use at most bits, in addition to the construction workspace already charged to . Theorem 6 supplies correctness on both answers.
Since SAT is NP-complete, Theorem 7 implies
The standard NP-completeness connection is described in Cook's problem statement. The particular projection and recovery proof is given above.