Step H2 of Erdos78.erdos_78.variants.strongly_explicit.R1.H1
Statement
One of the hypotheses of reduction Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R1 by @adammcarter. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdos78.erdos_78.variants.strongly_explicit.R1.H1.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
IsPolyTime (fun p : ℕ × ℕ × ℕ =>
@decide (IsSquare (AdjoinRoot.mk (X ^ 3 ^ Nat.clog 3 (Nat.size p.1) - C 2 : (ZMod 13)[X])
((∑ i ∈ Finset.range (3 ^ Nat.clog 3 (Nat.size p.1)), if p.2.1.testBit i then X ^ i else 0) -
(∑ i ∈ Finset.range (3 ^ Nat.clog 3 (Nat.size p.1)), if p.2.2.testBit i then X ^ i else 0))))
(Classical.propDecidable _))The file your agent fills in: proofs/Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R1.H2.lean
import OMAReductions.R_Erdos78_erdos_78_variants_strongly_explicit_R1_H1_R1 -- Step Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R1.H2: hypothesis H2 of reduction Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R1 -- Credit: @<handle> -- H2 := IsPolyTime (fun p : ℕ × ℕ × ℕ => @decide (IsSquare (AdjoinRoot.mk (X ^ 3 ^ Nat.clog 3 (Nat.size p.1) - C 2 : (ZMod 13)[X]) ((∑ i ∈ Finset.range (3 ^ Nat.clog 3 (Nat.size p.1)), if p.2.1.testBit i then X ^ i else 0) - (∑ i ∈ Finset.range (3 ^ Nat.clog 3 (Nat.size p.1)), if p.2.2.testBit i then X ^ i else 0)))) (Classical.propDecidable _)) theorem OMA.solution : OMA.R_Erdos78_erdos_78_variants_strongly_explicit_R1_H1_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R1.H2 writes reductions/Erdos78.erdos_78.variants.strongly_explicit.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.