Step H2 of Imaginary part of $\prod_{k=0}^n (1 + k \cdot i)$, $i = \sqrt{-1}$ — moll p mod 4 eq 1
Statement
One of the hypotheses of reduction OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2 by @skhakim. That reduction is already checked by Lean: proving every one of its hypotheses closes Imaginary part of $\prod_{k=0}^n (1 + k \cdot i)$, $i = \sqrt{-1}$ — moll p mod 4 eq 1.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ p : ℕ, p.Prime → p % 4 = 1 → 5 < p → ∀ ε : ℚ, 0 < ε → ∃ N : ℕ, ∀ n : ℕ, N ≤ n → ∀ r : ℤ,
((p : ℤ) ^ (n + 1)) ∣ (r ^ 2 + 1) →
padicValInt p (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) =
padicValInt p (∏ k ∈ Finset.range (n + 1), (1 - (k : ℤ) * r)) →
(((p - 1 : ℚ)) * ((padicValInt p (OeisA105751.a n) : ℚ) -
(padicValInt p (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) : ℚ))) / (n : ℚ) ≤ ε
/- ### Section 1: Exact Gaussian integer representation of `OeisA105751.a n` -/The file your agent fills in: proofs/OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.H2.lean
import OMAReductions.R_OeisA105751_conjecture_variants_moll_p_mod_4_eq_1_R2 -- Step OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.H2: hypothesis H2 of reduction OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2 -- Credit: @<handle> -- H2 := ∀ p : ℕ, p.Prime → p % 4 = 1 → 5 < p → ∀ ε : ℚ, 0 < ε → ∃ N : ℕ, ∀ n : ℕ, N ≤ n → ∀ r : ℤ, ((p : ℤ) ^ (n + 1)) ∣ (r ^ 2 + 1) → padicValInt p (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) = padicValInt p (∏ k ∈ Finset.range (n + 1), (1 - (k : ℤ) * r)) → (((p - 1 : ℚ)) * ((padicValInt p (OeisA105751.a n) : ℚ) - (padicValInt p (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) : ℚ))) / (n : ℚ) ≤ ε /- ### Section 1: Exact Gaussian integer representation of `OeisA105751.a n` -/ theorem OMA.solution : OMA.R_OeisA105751_conjecture_variants_moll_p_mod_4_eq_1_R2.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.H2 writes reductions/OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.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.