Step H2 of DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1
Statement
One of the hypotheses of reduction DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1 by @marcusbuffett. That reduction is already checked by Lean: proving every one of its hypotheses closes DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ (F : List (List (Bool × ℕ))) (a : ℕ → Bool), ∃ w : List Bool,
w.length ≤ (F.flatMap (fun c => c.flatMap (fun t => [true,t.1] ++ List.replicate t.2 true ++ [false]) ++ [false])).length ∧
∀ c ∈ F, ∀ t ∈ c, (w[t.2]?).getD false = a t.2The file your agent fills in: proofs/DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1.H2.lean
import OMAReductions.R_DisjointNPPairs_no_complete_disjoint_NP_pair_variants_exists_of_NP_eq_coNP_R1_H1_R1 -- Step DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1.H2: hypothesis H2 of reduction DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1 -- Credit: @<handle> -- H2 := ∀ (F : List (List (Bool × ℕ))) (a : ℕ → Bool), ∃ w : List Bool, w.length ≤ (F.flatMap (fun c => c.flatMap (fun t => [true,t.1] ++ List.replicate t.2 true ++ [false]) ++ [false])).length ∧ ∀ c ∈ F, ∀ t ∈ c, (w[t.2]?).getD false = a t.2 theorem OMA.solution : OMA.R_DisjointNPPairs_no_complete_disjoint_NP_pair_variants_exists_of_NP_eq_coNP_R1_H1_R1.H2 := 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.R1.H2 writes reductions/DisjointNPPairs.no_complete_disjoint_NP_pair.variants.exists_of_NP_eq_coNP.R1.H1.R1.H2.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.