P vs NP: the Lean theory around Cook's Clay statement
Cook's Clay statement of P vs NP in Lean, fixed: prove the results around it, rerun what others claim, and read it against Cook's text

Open #41: S-20: A standard CNF encoding, reducible to and from the dense one
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/41-s-20-a-standard-cnf-encoding-reducible-t/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 41 | |
| 3 | +title: "S-20: A standard CNF encoding, reducible to and from the dense one" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:06Z | |
| 7 | +labels: size-l | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** The SAT of Tan's Cook–Levin proof encodes a clause as one slot per variable, two bits each. Its README says that this is polynomially related to a standard encoding (variables as binary numbers, as in DIMACS) only after renumbering the variables, and that "no Lean reduction between encodings is claimed". Define the standard encoding and its SAT, and prove the two languages reduce to each other in polynomial time in this model. | |
| 11 | + | |
| 12 | +**Needs.** A build on top of S-5's files. Hard. | |
| 13 | + | |
| 14 | +**Closes when** a pull request stating both reductions (`PolynomialTimeReducible`, each way) has passed `challenge` and `build`. | |
| 15 | + | |
| 16 | +**What it does not show.** Anything about P vs NP; it shows that the SAT proved NP-complete here is the SAT of the textbooks. | |