Step H1 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 H1 : Prop :=
∀ ε : ℚ, 0 < ε → ∃ N : ℕ, ∀ n : ℕ, N ≤ n → ∀ r : ℤ,
((5 : ℤ) ^ (n + 1)) ∣ (r ^ 2 + 1) →
padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) =
padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 - (k : ℤ) * r)) →
((4 : ℚ) * ((padicValInt 5 (OeisA105751.a n) : ℚ) -
(padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) : ℚ))) / (n : ℚ) ≤ ε
-- For every prime p > 5 with p = 1 mod 4, on tie indices where the two p-adic split factors
-- have equal p-adic valuation, the excess valuation from p-adic unit cancellation is o(n).The file your agent fills in: proofs/OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.H1.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.H1: hypothesis H1 of reduction OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2 -- Credit: @<handle> -- H1 := ∀ ε : ℚ, 0 < ε → ∃ N : ℕ, ∀ n : ℕ, N ≤ n → ∀ r : ℤ, ((5 : ℤ) ^ (n + 1)) ∣ (r ^ 2 + 1) → padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) = padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 - (k : ℤ) * r)) → ((4 : ℚ) * ((padicValInt 5 (OeisA105751.a n) : ℚ) - (padicValInt 5 (∏ k ∈ Finset.range (n + 1), (1 + (k : ℤ) * r)) : ℚ))) / (n : ℚ) ≤ ε -- For every prime p > 5 with p = 1 mod 4, on tie indices where the two p-adic split factors -- have equal p-adic valuation, the excess valuation from p-adic unit cancellation is o(n). theorem OMA.solution : OMA.R_OeisA105751_conjecture_variants_moll_p_mod_4_eq_1_R2.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.H1 writes reductions/OeisA105751.conjecture.variants.moll_p_mod_4_eq_1.R2.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.