Proposition 1(b): NP-completeness transfers along into NP
ProvedCookPvsNP.npComplete_of_polyReducibleLet be finite alphabets, and . If is NP-complete, , and , then
This is the standard method for proving new problems NP-complete.
import Definitions.Def_CookPvsNP_defs
namespace CookPvsNP
/-- Cook, Proposition 1(b): if `L₁` is NP-complete, `L₂ ∈ NP`, and `L₁ ≤ₚ L₂`, then `L₂` is
NP-complete. -/
theorem npComplete_of_polyReducible {Sym₁ Sym₂ : Type} [Fintype Sym₁] [Fintype Sym₂]
(L₁ : Lang Sym₁) (L₂ : Lang Sym₂) (h₁ : NPComplete L₁) (h₂ : L₂ ∈ NP Sym₂)
(h : PolyReducible L₁ L₂) : NPComplete L₂ := 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 all types (lowest universe) with finiteness structures, all over and over : if is NP-complete (in , and every NP language over every finite nonempty lowest-universe alphabet reduces to it in polynomial time), , and , then is NP-complete in the same sense.