{"repo":"pvsnp","commit":{"oid":"efdb95652a98fbb89ca671fb532bccb67bb30194","tree":"5b191f6c940450b8b178a3ec7f43b6592563a92f","parents":["d14b391bc742f7375923a0b2b0ff0af46e15838a"],"author":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945163000},"committer":{"name":"Claude","email":"noreply@anthropic.com","time_ms":1795945163000},"subject":"Add a roadmap from SAT ∈ NP to Cook–Levin","message":"Add a roadmap from SAT ∈ NP to Cook–Levin\n\nNine milestones, each with what done means. Statements that are only\nstated (Cook–Levin as a Prop) are separate milestones from their proofs,\nand a proof of P ≠ NP is explicitly not on the list.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n"},"diff":{"base":"d14b391bc742f7375923a0b2b0ff0af46e15838a","head":"efdb95652a98fbb89ca671fb532bccb67bb30194","stat":{"files":1,"additions":63,"deletions":0},"files":[{"path":"ROADMAP.md","status":"added","additions":63,"deletions":0,"binary":false,"patch":"--- /dev/null\n+++ b/ROADMAP.md\n@@ -0,0 +1,63 @@\n+# Roadmap\n+\n+Each milestone ends with `lake build` passing and its new theorems added to the axiom audit\n+([`Audit/Axioms.lean`](Audit/Axioms.lean)). A milestone that only *states* something says so in its\n+name, and its statement is a `def … : Prop`, never a theorem with `sorry`.\n+\n+## 1. Foundations — done\n+\n+Languages, multi-tape machines with finite control, time-bounded deciding / computing / verifying,\n+the classes P and NP, polynomial-time reductions, NP-hardness and NP-completeness, and the P vs NP\n+statement. Proved: P ⊆ NP, P closed under complement, reductions reflexive and transitive, P and NP\n+closed under reductions, an NP-complete language is in P iff P = NP.\n+\n+## 2. Examples\n+\n+Concrete machines for small languages over `Bool` (the empty word, \"starts with `true`\"), with their\n+time bounds proved by running them. Shows the definitions are inhabited by real machines, not only by\n+constructions.\n+\n+Done when: at least two concrete languages are proved in P by explicit machines.\n+\n+## 3. Output length from running time\n+\n+Prove that a machine running `t` steps on input `x` leaves no non-blank cell outside `[-t, |x| + t)`,\n+hence `|f x| ≤ |x| + T |x|` for a machine computing `f` within `T`. Then drop the explicit output\n+bound from `PolyTimeComputable`.\n+\n+Done when: `PolyTimeComputable` has no output-length field and every theorem still builds.\n+\n+## 4. Short certificates suffice\n+\n+Prove a locality lemma (a run of `t` steps reads only cells within distance `t` of where the heads\n+started) and conclude: if `V` verifies `L` within `T`, then `x ∈ L ↔ ∃ w, |w| ≤ T |x| ∧ V accepts\n+(x, w)`. This connects the Sipser-style definition to the textbook one with an explicit length bound.\n+\n+## 5. Boolean formulas\n+\n+Formulas and CNF over variables `Nat`, assignments, evaluation, and an encoding of CNF formulas as\n+`List Bool` with a proof that decoding inverts encoding.\n+\n+## 6. SAT ∈ NP\n+\n+Define `SAT : Language Bool` (the encodings of satisfiable CNF formulas) and build a verifier: the\n+certificate is an assignment, and the verifier evaluates the formula in polynomial time.\n+\n+## 7. Cook–Levin, stated\n+\n+`def CookLevin : Prop := NPComplete SAT`, with the consequence `CookLevin → (PNeNP ↔ ¬ InP SAT)`\n+proved. Stating it is cheap; it is listed separately so that it is never mistaken for a proof.\n+\n+## 8. Cook–Levin, proved\n+\n+The tableau construction: from a verifier and an input, a CNF formula whose satisfying assignments are\n+accepting runs, computed in polynomial time.\n+\n+## 9. Alphabet independence\n+\n+P and NP over `Bool` correspond to P and NP over any finite alphabet with at least two symbols, via\n+block encodings. Until then `PEqNP` is stated over `Bool` only.\n+\n+## Not on the roadmap\n+\n+A proof of P ≠ NP or of P = NP. This project formalizes the question; it does not claim an answer.\n","truncated":false}],"truncated":false},"jit":null,"api":"/v1/repos/pvsnp/commit?rev=efdb95652a98fbb89ca671fb532bccb67bb30194","api_url":"https://git.neoopensource.com/v1/repos/pvsnp/commit?rev=efdb95652a98fbb89ca671fb532bccb67bb30194"}