# Polynomial construction argument

Sonny.

This argument is in text; no running-time or complexity-class theorem is formalised in the project.

Let the source encoding have length L. Check the size and distinctness of each clause, returning the fixed eight-row odd-parity array if any clause is malformed. Return the fixed three-cube when there are no clauses. Otherwise remove repeated clauses, retaining m distinct three-element clauses, and retain their occurring variables V. Sorting or dictionary operations give polynomial preprocessing in L, including the bit lengths of variable identifiers. The variable universe declared by the input need not be enumerated.

There are k = 4m + 2 columns, and at most |V| + k <= 7m + 2 source rows. Enumerate subsets Y of the k columns of sizes zero, one, two and three directly. For each candidate, inspect its at most three internal pairs and keep it exactly when none is designated. Column side, owner, copy bit and root status determine designation without consulting any assignment.

For each retained Y write its zero-exactly-on-Y row twice. The number of padding rows is at most

```text
2 * (1 + k + choose(k,2) + choose(k,3)).
```

Thus there are O(m^3) rows. Writing each dense row of length k gives O(m^4) output entries. Source-row entries are also obtained directly from ownership and clause membership. Preprocessing, row enumeration, and dense materialisation are polynomial in L. Malformed and empty inputs have constant-size outputs.

This algorithm describes the same finite row and column objects as the formal definitions, up to row and column order. The formal finite-type instances need not be used as an efficient enumeration algorithm: directly generating subsets of size at most three avoids enumerating a full powerset. No source solution is queried, searched for, or used in constructing the output. The correctness proofs use assignments only to prove the extension equivalence.

The source problem's NP-completeness and the routine certificate-checking NP upper bound for extension remain mathematical background in the supplied source. They are not imported as formal assumptions, and the note does not claim a formal proof of a complexity-class classification.

## Where to go next

- The construction and its proof: [the written proof](PROOF.md).
- How to rerun the construction against brute force: [recipe 8 of the check guide](../VERIFY.md).
