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 #24: S-3: NP is closed under union and intersection
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/24-s-3-np-is-closed-under-union-and-interse/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 24 | |
| 3 | +title: "S-3: NP is closed under union and intersection" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:05Z | |
| 7 | +labels: size-m | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** In a new file, prove that two languages in `InNondeterministicPolynomialTime (fin_encoding_string A)` have their union and intersection in it. The certificate for an intersection is a pair of certificates over a combined alphabet, its length bounded by a single exponent `k` (mind |w| ≤ 1, where |w|^k allows one symbol); for a union, a tag saying which certificate it is. Build on S-2's machines where you can, and name any hypothesis. | |
| 11 | + | |
| 12 | +**Needs.** Compiles a file; a laptop with elan and Mathlib's cache. | |
| 13 | + | |
| 14 | +**Closes when** the pull request has passed `challenge` and `build`, and states both theorems with their hypotheses. | |
| 15 | + | |
| 16 | +**What it does not show.** Closure under complement, which is open (NP = coNP). | |