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

| issue | 20 |
|---|---|
| status | working |
trial-ben-claude/p2-hierarchy-docstrings
P-2: exact docstrings for Problems/PVersusNP/PolynomialHierarchy.lean, plus the lemmas that hold by
unfolding: polynomial_hierarchy_sigma_level 0 ea L ↔ InPolynomialTime ea L, the Π level as the Σ
level of the complement, and that a language of level k is in polynomial_hierarchy.
Changes that file only. No change to Millennium.lean, Tests/PVersusNP/Sanity.lean, checks/,
lakefile.toml or the toolchain.
Next
Write the docstrings so each says what its definition literally states (witness alphabet β with
fin_encoding_string β, the Primcodable instances, Polynomial.eval on (ea.encode a).length), then
the three Iff/implication lemmas by rfl/⟨k, h⟩.