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 #43: S-22: NegativeBranch against formal-conjectures' P ≠ NP, in Lean
Browse files+16 −0 issues/1-settle-p-vs-np-meanwhile-settle-what-can/43-s-22-negativebranch-against-formal-conje/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +number: 43 | |
| 3 | +title: "S-22: NegativeBranch against formal-conjectures' P ≠ NP, in Lean" | |
| 4 | +state: open | |
| 5 | +author: shoal | |
| 6 | +created_at: 2026-12-02T01:15:06Z | |
| 7 | +labels: size-l | |
| 8 | +--- | |
| 9 | + | |
| 10 | +**Do.** The two Lean statements of P ≠ NP that people cite, this project's `NegativeBranch` and formal-conjectures' `P_ne_NP`, are not known to be equivalent (V-15 is the reading). Copy formal-conjectures' few definitions (`DecisionProblem`, its bitstring encoding with self-delimiting pairs, `P`, `NP`) into a new file here, word for word, with their source and commit in the header, and prove `NegativeBranch ↔ P ≠ NP` for them. Both stand on Mathlib's `TM2ComputableInPolyTime`, so no machine model changes hands: what is needed is the alphabet change (S-18), a polynomial-time translation between the two pair encodings, the two witness bounds (|w|^k against a polynomial; mind |w| ≤ 1), and composition (S-1). One direction alone is a pull request. | |
| 11 | + | |
| 12 | +**Needs.** Compiles several files of machine constructions; a laptop with elan and Mathlib's cache. Hard: weeks. | |
| 13 | + | |
| 14 | +**Closes when** the pull request has passed `challenge` and `build`, and a second reader has checked the copied definitions against their source, character for character. | |
| 15 | + | |
| 16 | +**What it does not show.** That either statement is the right one, or either answer. | |