Exact witness geometry and the projection problem · Chapter 11 of 24

10. Complete conditional solver and witness reconstruction

Given a projection procedure with the exactness contract, write the conditional deterministic algorithm as AGA_G:

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 AGA_G is the implementation and universal resource bound of Compress, not a nondeterministic choice hidden in recovery. Its required complete-run polynomial is pA(N)p_A(N) in (26b)–(26c); the construction polynomial qq and circuit-size polynomial pp 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

∀t ∀a∈{0,1}t:Ct(a)=ft(a).(27)\forall t\ \forall a\in\{0,1\}^t:\quad C_t(a)=f_t(a). \tag{27}

Proof. At t=nt=n, both sides evaluate xx. If Ct=ftC_t=f_t, equations (20)–(21) show that Ht−1=ft−1H_{t-1}=f_{t-1}. Exact compression preserves that function. Descending induction proves the claim. □\square

Theorem 6 , Sound SAT/UNSAT decision and witness recovery. If the exact projection construction terminates, AGA_G returns UNSAT exactly when xx is unsatisfiable; otherwise it returns a satisfying assignment.

Proof. By Theorem 5 and (13), evaluating C0C_0 correctly decides whether any satisfying assignment exists. Suppose its value is one. The recovery invariant is

Ct−1(a)=1.(28)C_{t-1}(a)=1. \tag{28}

By projection exactness,

Ct−1(a)=Ct(a,0)∨Ct(a,1).(29)C_{t-1}(a)=C_t(a,0)\lor C_t(a,1). \tag{29}

If the first term is one, appending zero preserves the invariant. Otherwise the second term must be one, so appending one preserves it. At t=nt=n, the invariant becomes x(a)=1x(a)=1. The final verification therefore succeeds. □\square

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,

Time⁡solve(x)≤q(N)+O(n p(N)2+N2),(30)\operatorname{Time}_{\mathrm{solve}}(x) \le q(N)+O\bigl(n\,p(N)^2+N^2\bigr), \tag{30}

using a conservative sequential bit implementation of ordinary circuit evaluation. In particular, the runtime is polynomial in NN.

Proof. Construction costs at most q(N)q(N). There are n+1n+1 ordinary circuit evaluations on circuits of at most p(N)p(N) 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 O(N2)O(N^2). The stored circuits use at most (n+1)p(N)(n+1)p(N) bits, in addition to the construction workspace already charged to q(N)q(N). Theorem 6 supplies correctness on both answers. □\square

Since SAT is NP-complete, Theorem 7 implies

G⟹SAT∈P⟹P=NP.(31)\boxed{G\Longrightarrow\mathrm{SAT}\in\mathsf P\Longrightarrow\mathsf P=\mathsf{NP}.} \tag{31}

The standard NP-completeness connection is described in Cook's problem statement (opens in a new tab). The particular projection and recovery proof is given above.