# Rosario–Wang: Exact Witness Geometry, Projection, and the Polynomial Compression Obligation

**Version:** 1.1 — 2026-09-14  
**Project:** HTTP6 — MATH  
**Status:** Complete formal specification and exact reference solver; conditional polynomial-time theorem; universal polynomial compression remains unproved.

## 1. Principal result and scope

This document makes the proposed evolving witness geometry into an exact computational construction. It supplies finite encodings, explicit projection operations, a complete deterministic SAT solver, witness reconstruction, proofs, resource bounds, a reference implementation, and an infinite counterfamily to a specific compression proposal.

There are two distinct results:

1. **Unconditional construction:** exact clause elimination computes all required projections, terminates on every finite input, and returns a satisfying assignment or correctly reports unsatisfiability. Its worst-case intermediate representations can be superpolynomial in the input length.
2. **Conditional polynomial construction:** if a uniform exact circuit projection algorithm has the global polynomial bounds in Postulate G, the same recovery architecture gives a deterministic polynomial-time SAT solver. The existence of such an algorithm remains unproved.

The concrete clause compressor fills the algorithmic definition and correctness portions of the earlier void. It fails the universal size bound on the explicit parity family proved below. The document therefore does not assert that the decisive polynomial-time step has been solved.

**Boundary clarification in version 1.1.** The required condition is deterministic computation, a polynomial bound on the entire run, and total correct behavior on the residue, including computations that never set an acceptance latch. Moving the answer readout to a later pane does not establish any of those guarantees. Section 9.1 states the global contract explicitly. The concrete solver is already deterministic and total; its resource bound remains exponential.

The final computational question is:

$$
\boxed{\text{Can all required exact projections be constructed and evaluated within a uniform polynomial total budget?}}
\tag{1}
$$

This formulation is compatible with a geometric interpretation, but its success is measured in ordinary deterministic bit computation. The standard complexity framework is the one in [Stephen Cook, *The P Versus NP Problem*](https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf).

## 2. Parameters, operators, and types

| Symbol | Type and meaning |
| --- | --- |
| $x$ | An encoded Boolean formula, normalized to a conjunction of clauses of at most three literals. |
| $N$ | The bit length of this normalized input, with a fixed encoding. |
| $n$ | Number of indexed Boolean variables $z_1,\ldots,z_n$; $n\le N$ under the chosen encoding. |
| $m$ | Number of input clauses. |
| $y$ | A full assignment in $\{0,1\}^n$. |
| $t$ | Number of coordinates remaining, $0\le t\le n$. |
| $a$ | A remaining prefix in $\{0,1\}^t$. |
| $b$ | A suffix in $\{0,1\}^{n-t}$. |
| $()$ | The unique tuple with no coordinates; $\{0,1\}^0=\{()\}$. |
| $\mathcal M_t(x)$ | Prefixes of length $t$ admitting a satisfying completion. |
| $\pi_t$ | Coordinate deletion from $\{0,1\}^t$ to $\{0,1\}^{t-1}$. |
| $f_t$ | The Boolean membership function of $\mathcal M_t(x)$. |
| $C_t$ | An ordinary, unquantified Boolean circuit computing $f_t$. |
| $\llbracket C\rrbracket$ | The Boolean function computed by a circuit or clause formula $C$. |
| $C[z_t\leftarrow v]$ | Syntactic substitution of the Boolean constant $v$ for every occurrence of $z_t$. |
| $H_{t-1}$ | The raw two-cofactor OR circuit before compression. |
| $\mathcal C$ | The proposed deterministic compression procedure. |
| $|C|_{\mathrm{bit}}$ | Complete encoded length of $C$, including gate types, indices, and edges. |
| $p,q$ | Fixed polynomials independent of $x$ and $n$. |
| $\bot$ | Failure to have a satisfying assignment, used as a solver output on UNSAT. |
| $\oplus$ | Addition modulo two, equivalently Boolean exclusive OR. |
| $\exists$ | Logical existential quantification; it is not automatically a unit-cost computational instruction. |

A literal is either $z_i$ or $\neg z_i$. In the implementation it is stored as the nonzero integer $i$ or $-i$. A clause is a set of literals; a CNF is a conjunction of clauses. The empty clause is false. An empty collection of clauses is true.

All mathematical expressions use inline `$...$` or display `$$...$$` delimiters.

## 3. Computational assumptions and input normalization

**A1 — Finite encoding.** Every object used by an algorithm has a finite bit representation. Integers, coefficients, indices, precision, and auxiliary data are charged to that representation.

**A2 — Uniform deterministic computation.** A single fixed finite program handles every input size. No externally supplied witness, instance-specific advice, SAT oracle, or uncharged interaction supplies information to the algorithm.

**A3 — Total resource accounting.** Initialization, compilation, every intermediate construction, simplification, evaluation, recovery, and final checking count toward runtime. A polynomial number of high-level stages does not by itself bound their cost.

**A4 — Exact semantics.** Equalities of Boolean functions mean equality on every assignment to the advertised remaining variables. Equivalence only on one observed test point is insufficient.

These are modeling assumptions and definitions. Postulate G will be a conjectural existence assertion, not an additional accepted axiom of complexity theory.

For arbitrary Boolean formulas, introduce a variable for each gate and constrain it to the gate output. For example, a gate $c=a\land b$ is encoded by

$$
(\neg c\lor a)\land(\neg c\lor b)\land(c\lor\neg a\lor\neg b).
\tag{2}
$$

A gate $c=a\lor b$ is encoded by

$$
(c\lor\neg a)\land(c\lor\neg b)\land(\neg c\lor a\lor b),
\tag{3}
$$

and $c=\neg a$ by

$$
(c\lor a)\land(\neg c\lor\neg a).
\tag{4}
$$

Require the root output to be true. Each gate contributes constantly many clauses. Every satisfying original assignment extends by gate evaluation, and every satisfying extended assignment restricts to an original satisfying assignment. Thus normalization and the final restriction to original variables have polynomial overhead. Here “3-CNF” allows clauses of fewer than three literals.

## 4. Exact geometry from the formula alone

Define

$$
\mathcal M_n(x)=\{y\in\{0,1\}^n:x(y)=1\}.
\tag{5}
$$

For a literal $\ell$, put

$$
L_\ell(y)=
\begin{cases}
y_i,&\ell=z_i,\\
1-y_i,&\ell=\neg z_i.
\end{cases}
\tag{6}
$$

The set has an exact algebraic description over the reals:

$$
y_i(y_i-1)=0\quad(1\le i\le n),
\qquad
\prod_{\ell\in K}\bigl(1-L_\ell(y)\bigr)=0
\quad\text{for every clause }K.
\tag{7}
$$

The empty product equals one, so an empty clause produces the impossible equation $1=0$.

**Lemma 1 — Geometric equivalence.** The real solutions of (7) are exactly the satisfying assignments of $x$.

**Proof.** Each Boolean equation forces its coordinate to zero or one. At such a point, the product for a clause is zero exactly when some literal has value one. All clause products vanish exactly when the conjunction is true. $\square$

**Lemma 2 — Polynomial description.** The equations in (7) are constructible from $x$ in polynomial time and have polynomial encoded length.

**Proof.** Copy the variable indices and write one fixed-degree constraint per variable and clause. A clause has at most three literals, so its product has at most three factors and constant-sized coefficients. No solution is computed during this translation. $\square$

The solution set is finite; when nonempty, it can be regarded as a zero-dimensional manifold with its discrete topology. This observation does not provide a fast navigation algorithm. The computational representation here is the finite constraint description, not an enumeration of its points or manifold charts.

## 5. Witness length, dimension, and working space

Three quantities must remain separate:

$$
|y|=n,\qquad |\{0,1\}^n|=2^n,\qquad
|\operatorname{Description}(\mathcal M_n(x))|=\operatorname{poly}(N).
\tag{8}
$$

The first is the length of one witness. The second is the number of candidate witnesses. The third is the size of the defining constraints. None of these is a bound on the total time needed to find a feasible point.

For example, enumerating assignments and evaluating $x$ takes $O(2^n\operatorname{poly}(N))$ time while reusing polynomial working memory. Thus “the witnesses occupy polynomial space” is true as a storage statement and insufficient as a deterministic time argument. The complexity class $\mathsf{PSPACE}$ is defined through working memory; $\mathsf P$ is defined through runtime.

## 6. The evolving geometry and its invariant

For every $t$, define

$$
\mathcal M_t(x)=\{a\in\{0,1\}^t:\exists b\in\{0,1\}^{n-t},\ x(a,b)=1\}.
\tag{9}
$$

The fibre above a prefix $a$ is

$$
\mathcal F_{x,t}(a)=\{b\in\{0,1\}^{n-t}:x(a,b)=1\}.
\tag{10}
$$

Thus membership means nonempty fibre:

$$
a\in\mathcal M_t(x)\iff\mathcal F_{x,t}(a)\ne\varnothing.
\tag{11}
$$

**Lemma 3 — Projection recurrence.** For $t\ge1$,

$$
\mathcal M_{t-1}(x)=\pi_t(\mathcal M_t(x)).
\tag{12}
$$

**Proof.** A prefix of length $t-1$ has a satisfying completion exactly when appending at least one of the two possible next bits gives a prefix of length $t$ with a satisfying completion. $\square$

**Corollary 3.1 — Nonemptiness is preserved.** Each projection is nonempty exactly when the original solution set is nonempty. At the endpoint,

$$
\mathcal M_0(x)=
\begin{cases}
\{()\},&x\text{ is satisfiable},\\
\varnothing,&x\text{ is unsatisfiable}.
\end{cases}
\tag{13}
$$

The rank $t$ decreases by one at each stage. This proves that there are $n$ stages; it does not bound the cost of one stage or the length of its output.

The nondeterministic interpretation is precise: a surviving prefix has at least one accepting continuation. A deterministic implementation must compute the required survival information at an accounted cost.

## 7. Which geometric operations preserve compatibility?

Projection preserves unions and obeys the following adjunction. For $A\subseteq\{0,1\}^t$ and $B\subseteq\{0,1\}^{t-1}$,

$$
\pi_t(A)\subseteq B\iff A\subseteq\pi_t^{-1}(B).
\tag{14}
$$

**Proof.** Both sides state that the coordinate-deleted image of every point in $A$ belongs to $B$. $\square$

It also obeys

$$
\pi_t\bigl(A\cap\pi_t^{-1}(B)\bigr)=\pi_t(A)\cap B.
\tag{15}
$$

**Proof.** A projected point has a lift in $A$ satisfying the additional constraint exactly when it is in $\pi_t(A)$ and in $B$. The additional constraint depends only on retained coordinates. $\square$

General intersection requires more care:

$$
\pi_t(A\cap A')\subseteq\pi_t(A)\cap\pi_t(A'),
\tag{16}
$$

and equality can fail. Distinct constraints can have lifts that demand different values of the deleted coordinate.

For a concrete failure, let

$$
x=(u\lor v)\land(u\lor\neg v)\land(\neg u\lor v)\land(\neg u\lor\neg v).
\tag{17}
$$

If $u=0$, the first two clauses require both values of $v$; if $u=1$, the last two do. Hence

$$
\exists v\,x=0,
\qquad
\bigwedge_{K\in x}(\exists v\,K)=1.
\tag{18}
$$

Projecting clauses independently loses their shared compatibility. Equation (15) states a valid restricted rule; equation (18) prevents its unjustified extension to arbitrary constraints.

## 8. Exact circuit and Boolean-algebra evolution

Define the characteristic function

$$
f_t(a)=1\iff a\in\mathcal M_t(x).
\tag{19}
$$

**Lemma 4 — Exact elimination identity.**

$$
f_n=x,\qquad
f_{t-1}(a)=f_t(a,0)\lor f_t(a,1).
\tag{20}
$$

**Proof.** This is Lemma 3 expressed as membership functions. $\square$

An ordinary circuit has input and constant gates and gates from a fixed basis such as AND, OR, NOT, with a finite acyclic edge list. Circuit membership at a supplied assignment is evaluated by processing the gates in topological order.

Given an exact $C_t$, construct

$$
H_{t-1}=C_t[z_t\leftarrow0]\lor C_t[z_t\leftarrow1].
\tag{21}
$$

This is a fully specified deterministic operation. With explicit copying and gate-count size $S_t$, its unsimplified gate count is bounded by

$$
S_{t-1}\le2S_t+1,
\qquad
S_{n-k}\le2^k(S_n+1)-1.
\tag{22}
$$

This gives an exponential upper bound for raw copying, not a lower bound on the smallest equivalent circuit. Sharing and simplification may reduce it.

An algebraic form works in the Boolean quotient ring

$$
\mathcal B_t=\mathbb F_2[z_1,\ldots,z_t]/(z_i^2-z_i:1\le i\le t).
\tag{23}
$$

On Boolean values, conjunction is multiplication, negation is $1+f$, and disjunction is $f+g+fg$. Consequently the existential projection operator has the exact expression

$$
\mathsf E_t(f)=f|_{z_t=0}+f|_{z_t=1}
+(f|_{z_t=0})(f|_{z_t=1}).
\tag{24}
$$

This identity supplies semantics, not a sparsity theorem. A reduced multilinear polynomial can have as many as $2^t$ monomials. Arithmetic circuits can share subexpressions, but their construction costs must still be bounded.

## 9. Postulate G: the complete polynomial projection contract

The following is the operational, formula-indexed version of the preceding conversation's compression postulate. Retaining $x$ and the stage index is ordinary working state under A2.

**Postulate G.** There exist one uniform deterministic algorithm $\mathcal C$ and fixed polynomials $p,q$ such that, for every normalized input $x$, the sequence

$$
C_n=\operatorname{Circuit}(x),\qquad
H_{t-1}=C_t[z_t\leftarrow0]\lor C_t[z_t\leftarrow1],\qquad
C_{t-1}=\mathcal C(x,t,H_{t-1})
\tag{25}
$$

has these properties:

$$
\begin{aligned}
&\operatorname{Vars}(C_t)\subseteq\{z_1,\ldots,z_t\},\\
&\forall a\in\{0,1\}^{t-1}:\quad C_{t-1}(a)=H_{t-1}(a),\\
&\max_{0\le t\le n}|C_t|_{\mathrm{bit}}\le p(N),\\
&\operatorname{Time}_{\mathrm{build}}(x)\le q(N).
\end{aligned}
\tag{26}
$$

The second line is required at every reached stage $1\le t\le n$. The last line includes constructing every raw cofactor circuit, temporary representation, simplification result, and stored checkpoint. The outputs are ordinary, unquantified circuits. The program must terminate within its bound on both satisfiable and unsatisfiable inputs.

The contract concerns this formula-generated sequence. It does not require an efficiently computable minimum-size circuit or a unique canonical form for every arbitrary Boolean function. Adding either requirement would require separate justification.

**Global bound versus local bound.** A one-step guarantee of time polynomial in the incoming circuit size is insufficient if incoming sizes grow superpolynomially. Even a bound of the form $S_{t-1}\le S_t^2$ can grow far beyond every polynomial in the original $N$ after repeated application.

**Ordinary gates versus deferred quantifiers.** Storing $(x,t)$ as a description of $\exists z_{t+1}\cdots\exists z_n\,x$ uses little space. Evaluating that description at $t=0$ still asks whether $x$ is satisfiable. Such a record does not fulfill the ordinary circuit output contract.

**Status.** The existence of an algorithm satisfying all of (25)–(26) is unproved in this document.

### 9.1. One deterministic machine and one budget for the entire run

Write the complete embedded procedure as a deterministic machine $A$ with one fixed transition rule $\delta$. Its configuration includes every working register, stored circuit, simulated search stack, branch cursor, latch, and proposed output. For a fixed input there is a single actual configuration sequence

$$
s_0(x),\ s_1(x),\ldots,s_{T_A(x)}(x),
\qquad s_{j+1}(x)=\delta(s_j(x)).
\tag{26a}
$$

If the algorithm explores a search tree internally, those explorations are subcomputations on this one deterministic run. Their complete costs are included. Partition the executed operations into disjoint blocks, with branch overhead charged to the block that performs it. The required bound is

$$
T_A(x)=T_{\mathrm{setup}}(x)
+\sum_{b\in\mathcal B_A(x)}T_{\mathrm{visited}}(x,b)
+T_{\mathrm{readout}}(x)
\le p_A(N).
\tag{26b}
$$

Here $\mathcal B_A(x)$ indexes all actually explored blocks, including abandoned branches, unsuccessful branches, and branches on which a latch never fires. Blocks are counted with their executions, so repeated visits are charged repeatedly. Shared work is charged once when performed. Merely bounding the maximum cost of one branch does not establish the sum bound. For the clause-elimination implementation, the analogous blocks are all generated resolvent pairs and all normalization comparisons; they are charged even when their clauses are later deleted.

The full solver contract is

$$
\begin{aligned}
\exists A,\ p_A\in\mathrm{Poly}\quad\forall x:\qquad
&A\text{ is one uniform deterministic machine},\\
&T_A(x)\le p_A(|x|),\\
&x\in\mathrm{SAT}\Longrightarrow A(x)=y\in\{0,1\}^n\text{ with }x(y)=1,\\
&x\notin\mathrm{SAT}\Longrightarrow A(x)=\mathsf{UNSAT}.
\end{aligned}
\tag{26c}
$$

The input quantifier includes both answers. Invalid encodings are rejected in polynomial time. A correct SAT output is independently checkable by evaluating the input formula; a correct UNSAT output requires the algorithm's completeness proof, not the mere absence of an observed acceptance event.

For a residue $\mathcal H$, the corresponding statement restricts the universal quantifier to $x\in\mathcal H$. To obtain a solver for all SAT inputs from that statement, the surrounding dispatcher must itself run in polynomial time, cover every input, and correctly solve all cases outside $\mathcal H$. The total budget includes that dispatcher. No such coverage or cost may be supplied by an informal boundary label.

**Latch formulation.** A latch may record that a verified satisfying assignment has been obtained. Suppose its update rule and all preceding computation are deterministic and charged to the budget. Returning UNSAT when the clock expires without a latch is correct only after proving

$$
x\in\mathrm{SAT}
\Longrightarrow
\exists j\le p_A(N):\operatorname{Latch}(s_j(x))=1,
\tag{26d}
$$

together with the guarantee that every set latch carries a valid satisfying assignment. Formula (26d) is a completeness obligation on the computation, not a consequence of when the answer is read. Unsatisfiable inputs may never set the latch; the deadline must still produce a justified answer within the same global budget.

**Nondeterministic version.** If a machine chooses one witness or one path nondeterministically and verifies it in polynomial time, it gives an NP recognition procedure, equivalently a polynomial-time verifier with that choice supplied as a certificate. Even if every nondeterministic branch halts in polynomial time, the collection of branches may be exponential. This does not satisfy (26b) for a deterministic simulation or establish G.

**Clocked fallback.** One can impose a polynomial clock on the exact solver below. If a result has already been proved, return it; otherwise return UNRESOLVED at the deadline. This produces deterministic bounded termination, but the UNRESOLVED outcome violates the complete SAT/UNSAT contract in (26c). Replacing UNRESOLVED by UNSAT is justified only by a proof that no satisfiable input can reach that timeout. That is the missing completeness-within-budget result.

## 10. Complete conditional solver and witness reconstruction

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

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

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

**Proof.** At $t=n$, both sides evaluate $x$. If $C_t=f_t$, equations (20)–(21) show that $H_{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, $A_G$ returns UNSAT exactly when $x$ is unsatisfiable; otherwise it returns a satisfying assignment.

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

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

By projection exactness,

$$
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=n$, the invariant becomes $x(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,

$$
\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 $N$.

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

Since SAT is NP-complete, Theorem 7 implies

$$
\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](https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf). The particular projection and recovery proof is given above.

## 11. The strength of the postulate: a converse

**Theorem 8 — The formula-indexed Postulate G is equivalent to $\mathsf P=\mathsf{NP}$.**

**Proof.** The forward implication is Theorem 7. For the converse, assume $\mathsf P=\mathsf{NP}$ and fix a deterministic polynomial-time SAT decider $D$.

For fixed $x,t$, define a deterministic computation on the prefix input $a$:

$$
Q_{x,t}(a)=D\bigl(x\upharpoonright_{z_1=a_1,\ldots,z_t=a_t}\bigr).
\tag{32}
$$

The restricted formula has polynomial length and can be constructed in polynomial time. By the assumption on $D$, this whole computation has a bound polynomial in $N$, uniformly over all prefixes $a$ and stages $t$. Its output equals $f_t(a)$.

Compile that fixed, bounded computation into a Boolean circuit with $a$ as its input and $x,t$ as fixed constants. One explicit way is to represent each configuration by polynomially many bits, use a circuit for one deterministic transition, and concatenate the transition circuits for the polynomial number of time steps. A halted computation is padded with transitions preserving its output. The number of gates and the circuit construction time are polynomial in $N$.

For a reached stage, define $\mathcal C(x,t,H)$ to construct this circuit for $Q_{x,t-1}$. The incoming $H$ computes the same function by the exact projection invariant. Thus ignoring its syntactic form is valid on the reached sequence; $x$ is already retained input, not external advice. Produce these circuits at all $n$ stages. Their total construction cost and encoded lengths satisfy fixed polynomial bounds. They use ordinary gates and contain no calls to $D$ at evaluation time: the transition computation of $D$ has been compiled into gates. This establishes G. $\square$

This converse calibrates the proposal. G is an exact operational reformulation of the central difficulty. Stating it is not evidence that it holds. A substantive advance would provide the compressor and prove its bounds without assuming $\mathsf P=\mathsf{NP}$.

The earlier, more syntactically restrictive notation $\mathcal C(H)$ is sufficient for the forward implication as well. The converse above is stated for the formula-indexed contract actually defined in Section 9; it does not silently prove a minimum-circuit or arbitrary-circuit compression theorem.

## 12. An explicit unconditional compressor: clause elimination

This section implements exact projection through the established Davis–Putnam resolution operation, followed by tautology deletion, duplicate deletion, and subsumption. These are existing logical techniques; their use here specifies the proposed geometric evolution concretely. The surrounding representation and transformation questions belong to the knowledge-compilation literature, including [Darwiche and Marquis](https://arxiv.org/abs/1106.1819).

Write a normalized CNF $F$ around variable $v$ as

$$
F=R\ \land\!\bigwedge_{A\in P}(v\lor A)
\ \land\!\bigwedge_{B\in Q}(\neg v\lor B),
\tag{33}
$$

where $R$ contains the clauses not mentioning $v$, and $A,B$ contain neither $v$ nor $\neg v$. Define

$$
\operatorname{Elim}_v(F)
=R\land\bigwedge_{A\in P,\ B\in Q}(A\lor B).
\tag{34}
$$

**Lemma 9 — Exact elimination.**

$$
\operatorname{Elim}_v(F)\equiv\exists v\,F.
\tag{35}
$$

**Proof.** Fix an assignment $a$ to the other variables. If $F(a,v)$ holds for some $v$, then $R(a)$ holds. Each pair $(v\lor A),(\neg v\lor B)$ implies $A\lor B$, so all resolvents hold.

Conversely, suppose $R$ and all resolvents hold at $a$. If every $A$ is true, set $v=0$: all positive clauses hold through $A$, and all negative clauses hold through $\neg v$. If some $A$ is false, then its resolvent with every $B$ forces every $B$ true. Set $v=1$: positive clauses hold through $v$, and negative clauses hold through $B$. This also covers a missing positive or negative family. Thus a suitable $v$ exists. $\square$

Define $\operatorname{Norm}$ by three finite rules:

1. Remove a clause containing both $w$ and $\neg w$, because it is always true.
2. Remove repeated copies of an identical clause.
3. If clause $A$ is a subset of clause $B$, remove $B$, because the conjunction with $A$ already implies $B$.

If the empty clause occurs, normalize the whole conjunction to that one empty clause. Process clauses in increasing length and then a fixed lexicographic order. This makes the chosen output deterministic.

**Lemma 10 — Normalization exactness.** $\operatorname{Norm}(F)\equiv F$.

**Proof.** Every rule preserves the truth of the conjunction on all assignments. The number of clauses decreases whenever a deletion occurs, so the finite process terminates. $\square$

The explicit evolution is

$$
D_n=\operatorname{Norm}(x),\qquad
D_{t-1}=\operatorname{Norm}(\operatorname{Elim}_{z_t}(D_t)).
\tag{36}
$$

Here $D_t$ denotes a CNF projection representation, not the private decoding reference used later. The different role is confined to this elimination analysis.

**Theorem 11 — Complete exact CNF solver.** Constructing (36), then using the recovery algorithm of Section 10 with $D_t$ in place of $C_t$, is deterministic, terminates on every finite input, and returns a satisfying assignment or sound UNSAT.

**Proof.** Each elimination constructs finitely many pairs and each normalization is finite. There are $n$ stages. Lemmas 9–10 give the exactness invariant required by Theorems 5–6. $\square$

This algorithm has no HARD branch and needs no supplied solution. Its resource cost is analyzed next.

Call this fully implemented deterministic procedure $A_{\mathrm{DP}}$. In the reference implementation it is the `solve` function, with `project_all`, `eliminate`, and `normalize` supplying every projection operation. Its returned diagnostic levels and statistics may be discarded after accounting for their construction. This gives a concrete $A$ with exact total behavior; it does not give the polynomial $p_A$ demanded in (26c).

## 13. Resource accounting for the concrete compressor

Let $L_t$ be the number of normalized clauses in $D_t$. Let $P_t,Q_t,R_t$ be the numbers of positive, negative, and untouched clauses at the next elimination. Before normalization, at most

$$
K_t=R_t+P_tQ_t\le L_t+L_t^2
\tag{37}
$$

candidate clauses are constructed. Each has at most $n$ distinct variables after tautology removal.

A deliberately simple deterministic implementation compares clauses and tests subsumption pairwise. Its per-stage work is bounded by a polynomial in $K_t,n,\log(n+1)$; for example, an implementation with naive scans can use

$$
O\bigl((K_t+1)^2(n+1)^2\log^2(n+2)\bigr)
\tag{38}
$$

bit operations as a conservative bound. The exact constant and exponent are not used in the main result.

**Lemma 12 — Conditional bound for this implementation.** If all reached $L_t$ are bounded by a fixed polynomial in the original $N$, then this CNF solver has polynomial total runtime and storage.

**Proof.** Equation (37) makes every raw candidate count polynomial as well. Substitute those bounds into (38), sum over at most $n\le N$ stages, and account for storage of the finite clause lists and their indices. Recovery evaluates at most $n$ such lists. $\square$

Without the hypothesis, a finite upper bound follows from the number of possible nontautological clauses over $t$ variables:

$$
L_t\le3^t.
\tag{39}
$$

Each variable is absent, positive, or negative. This count includes the empty clause. Together with (37)–(38), it proves a finite exponential upper bound, not a polynomial bound.

More explicitly, $K_t\le2\cdot9^t$. Substituting this into (38) and summing the geometric series over every elimination stage gives, for a straightforward deterministic bit implementation, the conservative complete-run bound

$$
T_{A_{\mathrm{DP}}}(x)
=O\bigl((N+1)^6\,81^n\bigr)
\le O\bigl((N+1)^6\,81^N\bigr).
\tag{39a}
$$

Initial normalization and witness recovery are included in this bound. The same bound applies to unsuccessful computation and UNSAT inputs; it is not conditioned on setting a latch. The constant exponent here is a coarse accounting bound for the specified method, not a tight complexity estimate. The parity counterfamily below rules out replacing it by a universal polynomial bound for this fixed CNF projection implementation.

The implementation's actual intermediate pair enumeration also matters: a small final output cannot retroactively remove the work spent constructing many candidates.

## 14. A proved obstruction: compact XOR chains require large CNF projections

For $r\ge2$, let $a_1,\ldots,a_r$ be retained variables and let $p_2,\ldots,p_r$ be auxiliary variables. Define the constraint system

$$
p_2=a_1\oplus a_2,\qquad
p_i=p_{i-1}\oplus a_i\ (3\le i\le r),\qquad p_r=0.
\tag{40}
$$

Encode $c=a\oplus b$ by its four clauses:

$$
(a\lor b\lor\neg c)
\land(a\lor\neg b\lor c)
\land(\neg a\lor b\lor c)
\land(\neg a\lor\neg b\lor\neg c).
\tag{41}
$$

Each clause excludes one of the four triples violating the XOR equation. Add the unit clause $\neg p_r$. Call the resulting formula $X_r$.

The input has $2r-1$ variables and $4r-3$ clauses. With binary variable indices its encoded size is $N_r=\Theta(r\log(r+1))$ under a straightforward encoding. Put the retained $a_i$ first in the variable order and the auxiliary $p_i$ afterward.

**Lemma 13 — Exact parity projection.**

$$
\exists p_2\cdots\exists p_r\,X_r
\equiv
\left(a_1\oplus\cdots\oplus a_r=0\right).
\tag{42}
$$

**Proof.** The XOR equations uniquely determine every $p_i$ from $a_1,\ldots,a_r$; induction gives $p_i=a_1\oplus\cdots\oplus a_i$. The final unit constraint holds exactly for even parity. $\square$

**Theorem 14 — CNF lower bound for the projected function.** Every CNF over only $a_1,\ldots,a_r$ equivalent to even parity contains at least $2^{r-1}$ distinct nontautological clauses and at least $r2^{r-1}$ literal occurrences.

**Proof.** Each clause in an equivalent CNF must hold on every even-parity assignment. Suppose a nontautological clause omits some variable. Falsify every literal appearing in it. At least one coordinate remains free, so choose the free coordinates to make the full assignment have even parity. This falsifies the clause on a satisfying parity assignment, a contradiction.

Therefore each nontautological clause contains every variable, exactly once after duplicate removal. Such a clause excludes exactly one full assignment. There are $2^{r-1}$ odd-parity assignments, and all must be excluded. Hence at least $2^{r-1}$ distinct full-width clauses are necessary. Each has $r$ literals. $\square$

**Corollary 14.1 — Failure of the universal CNF compression bound.** At the stage retaining exactly the $a_i$, every exact CNF implementation with no remaining auxiliary variables must have the lower bound in Theorem 14. In particular, the concrete elimination algorithm cannot satisfy a polynomial size bound in $N_r$ on this family.

Indeed, for every fixed $c$,

$$
\frac{2^{r-1}}{N_r^c}\longrightarrow\infty.
\tag{43}
$$

This is exponential in $r$ and superpolynomial in the bit length $N_r$. It should not be mislabeled as a proved $2^{\Omega(N_r)}$ lower bound under this encoding.

The obstruction is representation- and projection-order-specific. It does not prove a lower bound for arbitrary SAT algorithms, arbitrary Boolean circuits, or every adaptive variable ordering. The parity family is tractable by linear algebra; it is not offered as a universally hard SAT family.

## 15. What succeeds for parity, and why that does not establish G

The parity function in (42) has a circuit with $O(r)$ XOR gates, each replaceable by constantly many AND, OR, NOT gates. Thus a general circuit representation avoids the particular CNF size obstruction in Theorem 14.

More generally, affine constraints over $\mathbb F_2$ admit exact polynomial projection. Write a linear system with one coordinate $v$ to eliminate as

$$
\alpha v+B a=c,
\tag{44}
$$

where $\alpha$ is a column. If all entries of $\alpha$ are zero, retain the system on $a$. Otherwise choose a row with coefficient one as pivot and XOR it into every other row with coefficient one. The pivot is then the only row containing $v$. Drop that row.

**Lemma 15 — Affine projection exactness.** The retained rows characterize exactly the prefixes $a$ having an extension in $v$.

**Proof.** Row operations preserve the solution relation. Every full solution satisfies the retained rows. Conversely, if the retained rows hold, the pivot equation uniquely specifies a value of $v$ satisfying the discarded row; the other rows no longer depend on $v$. $\square$

There are polynomially many row entries, every entry is one bit, and a polynomial number of row operations suffices for all eliminations and recovery. This is a complete polynomial construction on affine systems.

Arbitrary clauses do not become affine merely by introducing coordinates. They impose conjunctions and disjunctions with general interactions. A universal circuit compressor would need a proved construction that handles those interactions as well. This document supplies no such universal bound.

The lesson of Sections 14–15 is precise: an exponential lower bound in one representation can coexist with a compact representation in another. The missing result is a uniform algorithm that constructs suitable representations for all required projections, with bounded total work. This is why succinctness, transformations, and query costs must be examined together. [Darwiche and Marquis, *A Knowledge Compilation Map*](https://arxiv.org/abs/1106.1819)

## 16. Worked SAT and UNSAT examples

Take

$$
x=(z_1\lor z_2)\land(\neg z_1\lor z_3)\land(\neg z_2\lor\neg z_3).
\tag{45}
$$

Eliminating $z_3$ resolves its positive and negative clauses to obtain

$$
D_2=(z_1\lor z_2)\land(\neg z_1\lor\neg z_2).
\tag{46}
$$

Eliminating $z_2$ produces $z_1\lor\neg z_1$, which is a tautology, so $D_1=1$. Eliminating $z_1$ gives $D_0=1$.

| Recovery stage | Test | Choice |
| --- | --- | --- |
| $t=1$ | $D_1(0)=1$ | $y_1=0$ |
| $t=2$ | $D_2(0,0)=0$, while $D_2(0,1)=1$ | $y_2=1$ |
| $t=3$ | $D_3(0,1,0)=1$ | $y_3=0$ |

The returned assignment is $y=(0,1,0)$, and direct evaluation verifies all three clauses. Every choice was computed from the formula and its projections.

For the unsatisfiable formula in (17), elimination of $v$ produces the two units $u$ and $\neg u$, after tautology removal. Elimination of $u$ produces the empty clause. Therefore $D_0=0$ and the algorithm correctly returns UNSAT without attempting witness recovery.

## 17. Explicit connection to the Rosario–Wang chamber construction

This section records a self-contained encoding and extraction composition. It establishes recovery of an encoded assignment; an adversarial cryptographic proof-of-knowledge claim would require its own security experiment.

Use the existing 40-symbol chamber family. Let

$$
\mathcal Q=
\{(a,b,c)\in\mathbb Z_4^3:c-a\in\{0,1\}\}
\cup
\{(a,b,c)\in\mathbb Z_4^3:c-a=2,\ b-a\in\{0,1\}\}.
\tag{47}
$$

All differences are modulo four. The disjoint parts have sizes 32 and 8. Order the ground alphabet as digits, letters, and four pads, and match it bijectively to the lexicographically ordered members of $\mathcal Q$ through $\iota$.

Define facets

$$
G_h(a)=\operatorname{coord}_h(\iota(a)),\qquad h\in\{1,2,3\}.
\tag{48}
$$

**Lemma 16 — Separation and balance.** The three-facet vector uniquely identifies each ground symbol. Each coordinate has four fibres of size ten.

**Proof.** The triple identifies the unique member of $\mathcal Q$ and hence its ground symbol. Simultaneously adding one modulo four to all coordinates preserves the defining differences and permutes each coordinate's four values transitively. Therefore every coordinate value occurs equally often, namely ten times. $\square$

Map the bits to the symbols $\mathtt0,\mathtt1$ by $\eta$, and encode an assignment as

$$
W(y)=(\eta(y_1),\ldots,\eta(y_n)).
\tag{49}
$$

Let $\varphi:\mathbb Z_4\to\mathbb Z_4$ be a naming bijection. For each data round use a mask $\rho_{j,h}\in\mathbb Z_4$ and publish

$$
\sigma_{j,h}=\varphi(G_h(\eta(y_j)))+\rho_{j,h}\pmod4.
\tag{50}
$$

To recover the naming map from masks alone, use the earlier three-round calibration. Choose a fixed known pad $a^*$, put $d_*=G_1(a^*)$, and for $h=0,1,2$ define

$$
G_{\mathrm{cal},h}(a)=G_1(a)+h-d_*\pmod4,
\qquad
\sigma_{\mathrm{cal},h}=\varphi(h)+\rho_{\mathrm{cal},h}\pmod4.
\tag{51}
$$

Because $G_{\mathrm{cal},h}(a^*)=h$, subtracting the calibration masks gives $\varphi(0),\varphi(1),\varphi(2)$. The unused name determines $\varphi(3)$ by bijectivity. The decoder then recovers every chamber from

$$
\widehat c_{j,h}=\varphi^{-1}(\sigma_{j,h}-\rho_{j,h}\bmod4).
\tag{52}
$$

Its three recovered coordinates identify $\eta(y_j)$ through Lemma 16, and $\eta^{-1}$ recovers the bit. Invalid calibration, triples outside $\mathcal Q$, and nonbinary decoded symbols can be rejected after finite scans of fixed-size tables. There are $3n+3$ rounds, with polynomial total encoding and work.

Let $B_x$ contain the formula, tables, order, and schedule; let $T$ contain the calibration and data responses; and let $D$ contain the masks. Denote the assembler by $\operatorname{Encode}$, extraction by $E$, and bit readout by $J$. The algebra just proved gives

$$
J\bigl(x,E(\operatorname{Encode}(x,y;\theta))\bigr)=y,
\tag{53}
$$

for every assignment $y$ and admissible naming/mask parameter tuple $\theta$.

For deterministic SAT computation, fix a public canonical $\theta_0$, for example the identity naming map and all-zero masks. Equation (53) remains exact. Perfect transcript privacy is a separate distributional theorem requiring its own fresh-random-mask assumptions; it is not asserted for this deterministic choice.

Let $A$ be either the exact CNF solver or the solver conditional on G. Define

$$
F_A(x)=
\begin{cases}
\operatorname{Encode}(x,A(x);\theta_0),&A(x)\ne\bot,\\
\operatorname{Encode}(x,0^n;\theta_0),&A(x)=\bot.
\end{cases}
\tag{54}
$$

Here UNSAT is identified with $\bot$. The fallback only supplies a bounded triple on unsatisfiable inputs; final SAT evaluation rejects it because no assignment can satisfy such an input.

**Theorem 17 — Origin and satisfaction composition.** For every satisfiable $x$, either exact solver supplies an internally computed witness and

$$
x\bigl(J(x,E(F_A(x)))\bigr)=1.
\tag{55}
$$

**Proof.** Theorem 6 or 11 gives $x(A(x))=1$. Equation (53) recovers exactly $A(x)$. All data in $F_A$ are computed from $x$ and the fixed parameters. $\square$

The source construction's requirement map is therefore:

| Requirement | Exact CNF solver followed by encoding | Solver under G followed by encoding |
| --- | --- | --- |
| R1: complete triple from $x$ in polynomial time | Formula-only origin is proved; the required universal polynomial time fails for this implementation. | Satisfied conditionally on G. |
| R2: polynomial total size, work, and precision | Final triple is polynomial; intermediate CNF representations need not be. | Satisfied conditionally on G. |
| R3: total polynomial extraction on generated triples | Satisfied by fixed-table decoding. | Satisfied. |
| R4: satisfying readout on every satisfiable input | Satisfied by exact elimination and recovery. | Satisfied conditionally on G. |
| R5: uniformity with no unaccounted solution input | Satisfied. | Satisfied conditionally on G. |

This differs from the earlier all-zero builder: the all-zero builder had the polynomial bound but lacked general satisfaction. The exact projection solver has general satisfaction but lacks the polynomial resource bound. Neither fact supplies the missing conjunction of both guarantees.

The exact solver handles any finite instance in the project's HaltHard domain if allowed its full finite runtime. It does not pass the domain's universal polynomial-resource requirement. A successful proof of G would cover that domain as part of its coverage of all 3-CNF inputs.

## 18. Three substitutions that do not discharge the resource proof

**Continuous relaxation.** Replace Boolean constraints by $0\le y_i\le1$ and replace clauses by linear inequalities demanding a literal sum of at least one. The unsatisfiable formula in (17) then admits $(u,v)=(1/2,1/2)$. A relaxation theorem would need an additional exact Boolean-recovery guarantee. Equations (7) do not have this problem because they retain the Boolean constraints.

**Fresh auxiliary variables.** Replacing a large expression by a small CNF with gate variables can preserve satisfiability under existential quantification. If those variables remain unresolved, membership in the projected relation can still require a satisfiability computation. Ordinary circuit evaluation is different: every internal gate has a determined value from its predecessors, which the evaluator actually computes.

**Compact points, charts, or physical states.** A geometric state can have polynomially many coordinates while its coordinate values need many bits, its update requires extensive computation, or its readout requires difficult search. The contract must bound the whole finite encoding, update, and readout. A proof using a different physical computation model needs a polynomial simulation in the model used for the $\mathsf P$ claim.

## 19. Exact claims ledger and remaining theorem obligation

| Statement | Status in this document |
| --- | --- |
| Formula-only geometric encoding | Proved, Lemmas 1–2. |
| Fibre interpretation and projection invariants | Proved, Lemma 3 and equations (9)–(16). |
| Exact circuit and Boolean-ring elimination identities | Proved, Lemma 4 and equations (20)–(24). |
| Recovery from exact projections | Proved, Theorems 5–6. |
| Polynomial-time implication from G | Proved conditionally, Theorem 7. |
| Formula-indexed G is equivalent to $\mathsf P=\mathsf{NP}$ | Proved, Theorem 8. |
| Explicit exact CNF elimination and normalization | Specified and proved, Lemmas 9–10. |
| Complete deterministic CNF solver | Proved, Theorem 11; finite implementation checks below. |
| Polynomial CNF bound on every input | Refuted for the specified projection order by Theorem 14. |
| General-circuit lower bound from parity | Not established; parity has small circuits. |
| Exact polynomial projection for affine systems | Proved, Lemma 15. |
| Encoding, calibration, and readout composition | Proved, Lemma 16 and Theorem 17. |
| Universal ordinary-circuit compressor satisfying G | Unproved. |
| Universal HaltHard polynomial-resource pass | Not established. |

The remaining proof obligation can be presented to a reviewer as follows:

> **Proposed Projection Compression Theorem.** There is an explicitly specified uniform deterministic program that, on every normalized SAT formula and every reached elimination stage, constructs an ordinary circuit for the exact existential projection; the complete sequence has polynomial total bit cost in the original formula length, including intermediate representations, and all returned circuits preserve membership on every remaining prefix.

To turn this proposal into a theorem requires the actual program and proofs of its universal semantic and resource bounds. A small successful example, a polynomial coordinate count, an informal collapse operation, or a declaration of G cannot supply those proofs.

The construction and counterexample in this document do make the attempt concrete: they specify one candidate and prove precisely why its CNF restriction fails. This is a mathematical characterization of a candidate's boundary. It is not a claim of a new SAT algorithm, a novel lower-bound method, or an improvement over the research literature.

## 20. Finite verification record

The embedded reference implementation was checked against independently enumerated truth assignments. The independent checker evaluates the original clauses directly and constructs the set of viable prefixes from its complete list of satisfying assignments; it then compares every stored projection with that set.

| Check | Completed count |
| --- | ---: |
| Formula cases with all projection stages checked | 928 |
| Individual projected-membership comparisons in those cases | 38,176 |
| SAT/UNSAT and lexicographically least witness comparisons | 928 |
| XOR gate truth-table rows | 8 |
| Parity-projection membership comparisons | 4,088 |

The 928 formula cases comprise all 512 subsets of the nine possible nontautological clauses over two variables, 400 generated cases across three through six variables with seed 20260914, six explicit edge/example cases, and ten parity-chain cases. This is a count of test cases; some generated formulas can coincide.

Both even and odd parity variants were checked for $2\le r\le10$. Their projection counts agree with Theorem 14. Representative even-parity results are:

| Retained variables $r$ | Original variables $2r-1$ | Original clauses $4r-3$ | Clauses after eliminating auxiliaries | Literal occurrences in that projection |
| ---: | ---: | ---: | ---: | ---: |
| 2 | 3 | 5 | 2 | 4 |
| 4 | 7 | 13 | 8 | 32 |
| 6 | 11 | 21 | 32 | 192 |
| 8 | 15 | 29 | 128 | 1,024 |
| 10 | 19 | 37 | 512 | 5,120 |

At $r=10$, a later elimination stage generated 65,536 raw clause candidates before normalization. This illustrates why intermediate work belongs in the resource account even when a later output is small.

These checks support the finite implementation and catch transcription errors. The universal correctness and lower-bound claims rest on their proofs; the checks do not establish G or $\mathsf P=\mathsf{NP}$.

## 21. Reference implementation

The following Python program is an exact finite solver using only the standard library. It contains no SAT oracle, HARD branch, or unimplemented compression call. It also has no polynomial worst-case runtime guarantee.

Save this block as `work/projection_reference.py`. Running it prints the worked example and the small parity growth table. The validation script in Section 22 is a separate block for `work/check_projection.py` and reproduces the verification record when run from the parent of `work`.

```python
"""Exact Boolean projection by Davis-Putnam elimination.

Finite, deterministic, complete. No polynomial worst-case time claim.
The final Markdown document embeds this reference implementation.
"""
from itertools import product


def clause_key(clause):
    return (len(clause), tuple(sorted(clause)))


def normalize(clauses):
    """Remove tautologies, duplicates, and subsumed clauses."""
    unique = set()
    for raw in clauses:
        clause = frozenset(raw)
        if any(-literal in clause for literal in clause):
            continue
        if not clause:
            return (frozenset(),)
        unique.add(clause)
    kept = []
    for clause in sorted(unique, key=clause_key):
        if not any(other <= clause for other in kept):
            kept.append(clause)
    return tuple(kept)


def eliminate(cnf, variable):
    """Return a CNF equivalent to exists variable . cnf."""
    positive, negative, untouched = [], [], []
    for clause in cnf:
        if variable in clause:
            positive.append(clause - {variable})
        elif -variable in clause:
            negative.append(clause - {-variable})
        else:
            untouched.append(clause)
    resolvents = [a | b for a in positive for b in negative]
    output = normalize(untouched + resolvents)
    statistics = {
        "variable": variable,
        "input_clauses": len(cnf),
        "resolvent_pairs": len(positive) * len(negative),
        "raw_candidates": len(untouched) + len(resolvents),
        "output_clauses": len(output),
    }
    return output, statistics


def evaluate(cnf, assignment):
    """assignment maps every occurring variable to the integer 0 or 1."""
    return all(
        any(assignment[abs(literal)] == int(literal > 0)
            for literal in clause)
        for clause in cnf
    )


def project_all(clauses, variable_count):
    if not isinstance(variable_count, int) or variable_count < 0:
        raise ValueError("variable_count must be a nonnegative integer")
    clauses = tuple(tuple(clause) for clause in clauses)
    for clause in clauses:
        if any(not isinstance(lit, int) or lit == 0 or
               abs(lit) > variable_count for lit in clause):
            raise ValueError("literal outside the declared variable range")
    levels = [None] * (variable_count + 1)
    levels[variable_count] = normalize(clauses)
    statistics = []
    for variable in range(variable_count, 0, -1):
        levels[variable - 1], stats = eliminate(levels[variable], variable)
        statistics.append(stats)
    return levels, statistics


def solve(clauses, variable_count):
    """Return (model or None, all projection levels, stage statistics)."""
    levels, statistics = project_all(clauses, variable_count)
    if not evaluate(levels[0], {}):
        return None, levels, statistics
    assignment = {}
    for variable in range(1, variable_count + 1):
        assignment[variable] = 0
        if not evaluate(levels[variable], assignment):
            assignment[variable] = 1
        assert evaluate(levels[variable], assignment)
    model = tuple(assignment[i] for i in range(1, variable_count + 1))
    return model, levels, statistics


def xor_gate(a, b, c):
    """Four clauses expressing c = a XOR b."""
    clauses = []
    for av, bv, cv in product((0, 1), repeat=3):
        if (av ^ bv) != cv:
            clauses.append(frozenset(
                -variable if value else variable
                for variable, value in ((a, av), (b, bv), (c, cv))
            ))
    return clauses


def parity_chain(r, parity=0):
    """An at-most-3-CNF whose projection onto 1..r is r-bit parity."""
    if r < 2 or parity not in (0, 1):
        raise ValueError("r >= 2 and parity in {0,1} are required")
    clauses = []
    previous = 1
    for i in range(2, r + 1):
        output = r + i - 1
        clauses.extend(xor_gate(previous, i, output))
        previous = output
    clauses.append(frozenset({previous if parity else -previous}))
    return tuple(clauses), 2 * r - 1


if __name__ == "__main__":
    formula = ((1, 2), (-1, 3), (-2, -3))
    model, levels, statistics = solve(formula, 3)
    print("model:", model)
    for stats in statistics:
        print(stats)
    for r in range(2, 9):
        formula, n = parity_chain(r)
        levels, _ = project_all(formula, n)
        print("parity", r, "projected clauses", len(levels[r]))
```

## 22. Reproducible finite checker

This checker is intentionally exponential on its small test inputs. That is its role as an independent comparison against the exact relation, not the proposed polynomial solver.

```python
"""Independent finite checks; not a universal complexity proof."""
import json
from itertools import product
from random import Random
from projection_reference import evaluate, parity_chain, solve, xor_gate

checks = {"formulas": 0, "projected_memberships": 0,
          "recovery_results": 0, "xor_rows": 0,
          "parity_memberships": 0}


def raw_truth(clauses, bits):
    for clause in clauses:
        satisfied = False
        for literal in clause:
            value = bits[abs(literal) - 1]
            if (literal > 0 and value == 1) or (literal < 0 and value == 0):
                satisfied = True
        if not satisfied:
            return False
    return True


def check_formula(clauses, n):
    models = [bits for bits in product((0, 1), repeat=n)
              if raw_truth(clauses, bits)]
    model, levels, _ = solve(clauses, n)
    assert (model is None) == (len(models) == 0)
    if model is not None:
        assert model == min(models)
        assert raw_truth(clauses, model)
    checks["recovery_results"] += 1
    for t in range(n + 1):
        expected = {bits[:t] for bits in models}
        for prefix in product((0, 1), repeat=t):
            actual = evaluate(levels[t], dict(enumerate(prefix, 1)))
            assert actual == (prefix in expected)
            assert all(abs(lit) <= t for c in levels[t] for lit in c)
            checks["projected_memberships"] += 1
    checks["formulas"] += 1


universe = [tuple(sign * variable for variable, sign in enumerate(states, 1)
                  if sign != 0)
            for states in product((-1, 0, 1), repeat=2)]
for selected in product((0, 1), repeat=len(universe)):
    check_formula([c for c, used in zip(universe, selected) if used], 2)

rng = Random(20260914)
for n in range(3, 7):
    for _ in range(100):
        clauses = [tuple(rng.choice((-1, 1)) * rng.randint(1, n)
                         for _ in range(rng.randint(1, 3)))
                   for _ in range(rng.randint(0, 6 * n))]
        check_formula(clauses, n)

for clauses, n in [([], 0), ([()], 0), ([], 5),
                   ([(1,), (-1,)], 1), ([(1, -1)], 2),
                   ([(1, 2), (-1, 3), (-2, -3)], 3)]:
    check_formula(clauses, n)

for bits in product((0, 1), repeat=3):
    assert raw_truth(xor_gate(1, 2, 3), bits) == ((bits[0] ^ bits[1]) == bits[2])
    checks["xor_rows"] += 1

growth = []
for r in range(2, 11):
    for parity in (0, 1):
        formula, n = parity_chain(r, parity)
        model, levels, stats = solve(formula, n)
        assert len(levels[r]) == 2 ** (r - 1)
        assert all(len(c) == r for c in levels[r])
        assert raw_truth(formula, model)
        for bits in product((0, 1), repeat=r):
            assert evaluate(levels[r], dict(enumerate(bits, 1))) == (sum(bits) % 2 == parity)
            checks["parity_memberships"] += 1
        if r <= 6:
            check_formula(formula, n)
        if parity == 0:
            growth.append({"r": r, "variables": n,
                           "input_clauses": len(formula),
                           "projected_clauses": len(levels[r]),
                           "projected_literals": sum(map(len, levels[r])),
                           "max_raw_candidates": max(s["raw_candidates"] for s in stats)})

report = {"status": "passed", "seed": 20260914,
          "checks": checks, "parity_growth": growth}
print(json.dumps(report, indent=2))
with open("work/projection_verification.json", "w") as stream:
    json.dump(report, stream, indent=2)
```

## 23. Source and dependency record

This document develops the preceding conversation's exact projection postulate. The earlier project document `ROSARIO-WANG-SAT-BRIDGE-CONSTRUCTION-AND-PROOF-OBLIGATIONS.md` supplies the R1–R5 terminology and the 40-symbol chamber/calibration construction, restated here sufficiently for the composition proof.

External sources used for definitions and placement are:

1. [Stephen Cook, *The P Versus NP Problem*, Clay Mathematics Institute](https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf): standard deterministic/nondeterministic complexity framework and SAT's NP-completeness.
2. [Adnan Darwiche and Pierre Marquis, *A Knowledge Compilation Map*, JAIR 17 (2002), 229–264](https://arxiv.org/abs/1106.1819): the established study of representation succinctness, supported queries, and transformations. Its bibliography also identifies the Davis–Putnam directional-resolution literature.

The clause projection proof, elementary parity CNF lower bound, affine projection argument, recovery proof, and exact composition are written out in this document. They use standard methods. No priority or novelty claim is made for those methods.

The outstanding object is an ordinary-circuit compressor satisfying the full contract of Postulate G. It remains a conjectural algorithm-existence statement after completion of this formalization.
