Mark the examples milestone done in README and ROADMAP

396d8a0dClaude · 6d agoparent 7598bc42files
Lists firstSymbol_inP among the proved results and FirstSymbol.lean in
the layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diff

2 files changed +7 -3
M README.md +3 -1
@@ -36,6 +36,7 @@
3636 | For NP-complete `L`: P ≠ NP ↔ `L ∉ P` | `NPComplete.pNeNP_iff` | [`Open.lean`](PvsNP/Open.lean) |
3737 | Running a machine on more tapes is a faithful simulation | `Machine.run_lift` | [`Machine/Lift.lean`](PvsNP/Machine/Lift.lean) |
3838 | Running two machines in sequence | `Machine.run_seq` | [`Machine/Compose.lean`](PvsNP/Machine/Compose.lean) |
39+| A concrete one-step machine: first-symbol languages are in P | `Examples.firstSymbol_inP` | [`Examples/FirstSymbol.lean`](PvsNP/Examples/FirstSymbol.lean) |
3940
4041 The statement of the open problem, verbatim from [`PvsNP/Open.lean`](PvsNP/Open.lean):
4142
@@ -78,6 +79,7 @@
7879 Complexity/NP.lean the class NP; P ⊆ NP; closure under reductions
7980 Complexity/Completeness.lean NP-hardness and NP-completeness
8081 Open.lean the P vs NP statement (open)
82+ Examples/FirstSymbol.lean concrete machines: languages decided by the first symbol
8183 Audit/Axioms.lean build-time axiom audit
8284 ```
8385
@@ -124,7 +126,7 @@
124126 The milestones, in order; details and acceptance criteria are in [`ROADMAP.md`](ROADMAP.md).
125127
126128 1. **Done:** machines, P, NP, reductions, P ⊆ NP, closure properties, NP-completeness, the open statement.
127-2. Examples: concrete machines for small languages, run in the kernel.
129+2. **Done:** examples: concrete machines for small languages, run in the kernel.
128130 3. Derive the output-length bound from the time bound.
129131 4. Short certificates suffice: verifiers only ever need certificates of length `≤ T |x|`.
130132 5. Boolean formulas, CNF and an encoding into `List Bool`.
M ROADMAP.md +4 -2
@@ -11,13 +11,15 @@
1111 statement. Proved: P ⊆ NP, P closed under complement, reductions reflexive and transitive, P and NP
1212 closed under reductions, an NP-complete language is in P iff P = NP.
1313
14-## 2. Examples
14+## 2. Examples — done
1515
1616 Concrete machines for small languages over `Bool` (the empty word, "starts with `true`"), with their
1717 time bounds proved by running them. Shows the definitions are inhabited by real machines, not only by
1818 constructions.
1919
20-Done when: at least two concrete languages are proved in P by explicit machines.
20+Done when: at least two concrete languages are proved in P by explicit machines. Done in
21+[`PvsNP/Examples/FirstSymbol.lean`](PvsNP/Examples/FirstSymbol.lean): "starts with `true`", the
22+empty word and the non-empty words, all from one machine that reads a single cell.
2123
2224 ## 3. Output length from running time
2325