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

S-4: The polynomial hierarchy: Σ₀ = P and Σ₁ = NP #25
Open
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

Do. In a new file, prove that
polynomial_hierarchy_sigma_level 1agrees withInNondeterministicPolynomialTimeover finite-alphabet strings. Mind the differences: Σ₁ asks for the complement of the checking language to be in P (S-2), bounds the witness by a polynomialpwhere NP uses|w|^k, and needsPrimcodableinstances. If the two do not agree (for instance on the empty string), say exactly where in an issue, and prove what does hold.Needs. Compiles a file; a laptop with elan and Mathlib's cache.
Closes when the pull request has passed
challengeandbuild, and either proves the equality or proves the corrected one and links the issue that says why.What it does not show. Anything about whether the hierarchy collapses; that is open, and implied by P = NP.