Proposition 1(c): an NP-complete language in P gives P = NP
ProvedCookPvsNP.P_eq_NP_of_npComplete_mem_PLet be a finite alphabet and . If is NP-complete and , then for every finite nonempty alphabet ,
So a polynomial-time algorithm for a single NP-complete problem would settle the P versus NP problem in the positive, over every alphabet.
import Definitions.Def_CookPvsNP_defs
namespace CookPvsNP
/-- Cook, Proposition 1(c): if some NP-complete language is in `P`, then `P = NP` (over every
finite nonempty alphabet). -/
theorem P_eq_NP_of_npComplete_mem_P {Sym : Type} [Fintype Sym] (L : Lang Sym)
(hL : NPComplete L) (hP : L ∈ P Sym) :
∀ (Sym' : Type) [Fintype Sym'] [Nonempty Sym'], P Sym' = NP Sym' := by sorry
end CookPvsNPRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted these Lean statements, at the explicit request of the proposal owner. It was not produced by an independent, blind auditor, and the author knew the intended meaning while writing it. Do not treat it as independent evidence of faithfulness; compare the Lean code against the source yourself.
For every type (lowest universe) with a finiteness structure and every language over : if is NP-complete (definition file) and , then for every type (lowest universe) that is finite and nonempty, as sets of languages.