{
  "id": "7321",
  "ident": "NS.07321",
  "slug": "papers-disjointnppairs",
  "title": "Complete disjoint NP pairs",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**There is no complete disjoint NP pair** (Razborov [Ra94]; Pudlák's conjecture `DisjNP` [Pu17]).\n\nNo disjoint NP pair is complete under polynomial-time many-one reductions of pairs. This is the\nstrongest of the \"incompleteness in the finite domain\" conjectures: it implies that no\nlength-optimal propositional proof system exists [Ra94, KMT03], hence `NP ≠ coNP` and `P ≠ NP`.\nEquivalently [Pu17], for every consistent polynomial-time axiomatized theory `T ⊇ S¹₂` some\ndisjoint NP pair is not provably disjoint in `T`.",
  "subjects": [
    "math.LO",
    "math.CO",
    "msc:03",
    "msc:68"
  ],
  "tags": [],
  "collection": "papers",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "DisjointNPPairs.no_complete_disjoint_NP_pair",
  "statement_lean": "theorem no_complete_disjoint_NP_pair : ¬∃ A B : DecisionProblem, IsCompleteNPPair A B",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Complete disjoint NP pairs\n\n*References:*\n* [Ra94] Razborov, A. A. (1994). \"On provably disjoint NP-pairs.\" *BRICS Report Series*\n  RS-94-36; ECCC TR94-006.\n* [KMT03] Köbler, J., Messner, J., and Torán, J. (2003). \"Optimal proof systems imply complete\n  sets for promise classes.\" *Inform. and Comput.* 184, pp. 71--92.\n* [GSSZ04] Glaßer, C., Selman, A. L., Sengupta, S., and Zhang, L. (2004). \"Disjoint NP-pairs.\"\n  *SIAM J. Comput.* 33, pp. 1369--1416.\n* [Pu17] Pudlák, P. (2017). \"Incompleteness in the finite domain.\" *Bull. Symbolic Logic* 23,\n  pp. 405--441. [arXiv:1601.01487](https://arxiv.org/abs/1601.01487)\n* [Kh22] Khaniki, E. (2022). \"New relations and separations of conjectures about incompleteness\n  in the finite domain.\" *J. Symbolic Logic* 87, pp. 912--937.\n  [arXiv:1904.01362](https://arxiv.org/abs/1904.01362)\n-/\n\n@[expose] public section\n\nnamespace DisjointNPPairs\n\nopen ComplexityTheory\n\n/-- A **disjoint NP pair**: two languages in `NP` with no common element. -/\nstructure IsDisjointNPPair (A B : DecisionProblem) : Prop where\n  memA : A ∈ NP\n  memB : B ∈ NP\n  disjoint : ∀ x, ¬(A x = true ∧ B x = true)\n\n/-- A **disjoint coNP pair**: two languages in `coNP` with no common element. -/\nstructure IsDisjointCoNPPair (A B : DecisionProblem) : Prop where\n  memA : A ∈ coNP\n  memB : B ∈ coNP\n  disjoint : ∀ x, ¬(A x = true ∧ B x = true)\n\n/-- The pair `(A, B)` **reduces** to the pair `(A', B')`: a polynomial-time map sends `A` into\n`A'` and `B` into `B'` (a many-one reduction of pairs, [GSSZ04, Theorem 2.14]). -/\ndef PairReducible (A B A' B' : DecisionProblem) : Prop :=\n  ∃ f : List Bool → List Bool, IsPolyTime f ∧\n    (∀ x, A x = true → A' (f x) = true) ∧ (∀ x, B x = true → B' (f x) = true)\n\n/-- `(A, B)` is a **complete disjoint NP pair**: a disjoint NP pair to which every disjoint NP\npair reduces. -/\ndef IsCompleteNPPair (A B : DecisionProblem) : Prop :=\n  IsDisjointNPPair A B ∧ ∀ A' B', IsDisjointNPPair A' B' → PairReducible A' B' A B\n\n/-- `(A, B)` is a **complete disjoint coNP pair**. -/\ndef IsCompleteCoNPPair (A B : DecisionProblem) : Prop :=\n  IsDisjointCoNPPair A B ∧ ∀ A' B', IsDisjointCoNPPair A' B' → PairReducible A' B' A B\n\n/-- A pair `(A, B)` is **P-separable** if some language in `P` contains `A` and misses `B`. -/\ndef IsPSeparable (A B : DecisionProblem) : Prop :=\n  ∃ S ∈ P, (∀ x, A x = true → S x = true) ∧ ∀ x, B x = true → S x = false\n\n/-- Every pair reduces to itself. -/\n@[category API, AMS 3 68]\nlemma pairReducible_refl (A B : DecisionProblem) : PairReducible A B A B :=\n  ⟨id, isPolyTime_id, fun _ h => h, fun _ h => h⟩\n\n/-- Disjointness of NP pairs is symmetric. -/\n@[category API, AMS 3 68]\nlemma IsDisjointNPPair.symm {A B : DecisionProblem} (h : IsDisjointNPPair A B) :\n    IsDisjointNPPair B A :=\n  ⟨h.memB, h.memA, fun x hx => h.disjoint x ⟨hx.2, hx.1⟩⟩\n\n/-- Disjointness of coNP pairs is symmetric. -/\n@[category API, AMS 3 68]\nlemma IsDisjointCoNPPair.symm {A B : DecisionProblem} (h : IsDisjointCoNPPair A B) :\n    IsDisjointCoNPPair B A :=\n  ⟨h.memB, h.memA, fun x hx => h.disjoint x ⟨hx.2, hx.1⟩⟩\n\n/-- A P-separable pair is disjoint. -/\n@[category API, AMS 3 68]\nlemma IsPSeparable.disjoint {A B : DecisionProblem} (h : IsPSeparable A B) (x : List Bool) :\n    ¬(A x = true ∧ B x = true) := by\n  obtain ⟨S, -, hA, hB⟩ := h\n  rintro ⟨ha, hb⟩\n  have h1 := hA x ha\n  have h2 := hB x hb\n  rw [h1] at h2\n  cases h2\n\n/--\n**There is no complete disjoint NP pair** (Razborov [Ra94]; Pudlák's conjecture `DisjNP` [Pu17]).\n\nNo disjoint NP pair is complete under polynomial-time many-one reductions of pairs. This is the\nstrongest of the \"incompleteness in the finite domain\" conjectures: it implies that no\nlength-optimal propositional proof system exists [Ra94, KMT03], hence `NP ≠ coNP` and `P ≠ NP`.\nEquivalently [Pu17], for every consistent polynomial-time axiomatized theory `T ⊇ S¹₂` some\ndisjoint NP pair is not provably disjoint in `T`.\n-/\n@[category research open, AMS 3 68]\ntheorem no_complete_disjoint_NP_pair : ¬∃ A B : DecisionProblem, IsCompleteNPPair A B := by\n  sorry\n\n/--\n**There is no complete disjoint coNP pair** (Pudlák's conjecture `DisjCoNP` [Pu17]).\n\nNo disjoint coNP pair is complete under polynomial-time many-one reductions of pairs. This\nimplies that `TFNP` has no complete problem and that `SAT` has no p-optimal proof system\n[Pu17, Kh22].\n-/\n@[category research open, AMS 3 68]\ntheorem no_complete_disjoint_coNP_pair : ¬∃ A B : DecisionProblem, IsCompleteCoNPPair A B := by\n  sorry\n\n/--\n**If `NP = coNP` then a complete disjoint NP pair exists** [GSSZ04, Pu17].\n\nThe pair `(SAT, ¬SAT)` is then a disjoint NP pair, and every disjoint NP pair `(A, B)` reduces\nto it via a Cook–Levin reduction of `A` to `SAT`, since `B` is disjoint from `A`.\n-/\n@[category research solved, AMS 3 68]\ntheorem no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP (h : NP = coNP) :\n    ∃ A B : DecisionProblem, IsCompleteNPPair A B := by\n  sorry\n\n/--\n**The conjecture implies `NP ≠ coNP`** [Pu17].\n-/\n@[category research solved, AMS 3 68]\ntheorem no_complete_disjoint_NP_pair.variants.NP_ne_coNP\n    (h : ¬∃ A B : DecisionProblem, IsCompleteNPPair A B) : NP ≠ coNP :=\n  fun heq => h (no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP heq)\n\n/--\n**If `P = NP` then every disjoint NP pair is P-separable**, and hence a complete pair exists:\neach `A` is then in `P` and separates `(A, B)`.\n-/\n@[category textbook, AMS 3 68]\ntheorem no_complete_disjoint_NP_pair.variants.pSeparable_of_P_eq_NP (h : P = NP)\n    {A B : DecisionProblem} (hAB : IsDisjointNPPair A B) : IsPSeparable A B := by\n  refine ⟨A, by rw [h]; exact hAB.memA, fun _ hx => hx, fun x hx => ?_⟩\n  have := hAB.disjoint x\n  cases hA : A x\n  · rfl\n  · exact absurd ⟨hA, hx⟩ this\n\nend DisjointNPPairs\n",
  "statement_hash": "a23f400098eadf88943e882268a254c9753768989a5e520af71e076418102dde",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}