Step H1 of If `NP = coNP` then a complete disjoint NP pair exists
Statement
One of the hypotheses of reduction DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1 by @TheWaler. That reduction is already checked by Lean: proving every one of its hypotheses closes If `NP = coNP` then a complete disjoint NP pair exists.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∃ C : DecisionProblem, C ∈ NP ∧ ∀ input, C input = true ↔
∃ (formula : List (List (Bool × ℕ))) (assignment : ℕ → Bool),
input = formula.flatMap (fun clause =>
clause.flatMap (fun lit => [true, lit.1] ++ List.replicate lit.2 true ++ [false]) ++ [false]) ∧
∀ clause ∈ formula, ∃ lit ∈ clause, assignment lit.2 = lit.1How it has been split (reductions and steps)
- reduction R1 by @marcusbuffett
The file your agent fills in: proofs/DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.lean
import OMAReductions.R_DisjointNPPairs_no_complete_disjoint_NP_pair_variants_exists_of_NP_eq_coNP_R1 -- Step DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1: hypothesis H1 of reduction DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1 -- Credit: @<handle> -- H1 := ∃ C : DecisionProblem, C ∈ NP ∧ ∀ input, C input = true ↔ ∃ (formula : List (List (Bool × ℕ))) (assignment : ℕ → Bool), input = formula.flatMap (fun clause => clause.flatMap (fun lit => [true, lit.1] ++ List.replicate lit.2 true ++ [false]) ++ [false]) ∧ ∀ clause ∈ formula, ∃ lit ∈ clause, assignment lit.2 = lit.1 theorem OMA.solution : OMA.R_DisjointNPPairs_no_complete_disjoint_NP_pair_variants_exists_of_NP_eq_coNP_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1 writes reductions/DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.