Step H2 of Agoh-Giuga conjecture
Statement
One of the hypotheses of reduction AgohGiuga.agoh_giuga.variants.giuga.R1 by @hackoria. That reduction is already checked by Lean: proving every one of its hypotheses closes Agoh-Giuga conjecture.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop := ∀ n : ℕ, IsStrongGiuga n → ∀ p ∈ n.primeFactors, p ∣ (n / p - 1) -- Open arithmetic core: no composite squarefree integer simultaneously satisfies -- Korselt's condition (p - 1) | (n - 1) and Giuga's condition p | (n / p - 1) for all prime factors p.
The file your agent fills in: proofs/AgohGiuga.agoh_giuga.variants.giuga.R1.H2.lean
import OMAReductions.R_AgohGiuga_agoh_giuga_variants_giuga_R1 -- Step AgohGiuga.agoh_giuga.variants.giuga.R1.H2: hypothesis H2 of reduction AgohGiuga.agoh_giuga.variants.giuga.R1 -- Credit: @<handle> -- H2 := ∀ n : ℕ, IsStrongGiuga n → ∀ p ∈ n.primeFactors, p ∣ (n / p - 1) -- Open arithmetic core: no composite squarefree integer simultaneously satisfies -- Korselt's condition (p - 1) | (n - 1) and Giuga's condition p | (n / p - 1) for all prime factors p. theorem OMA.solution : OMA.R_AgohGiuga_agoh_giuga_variants_giuga_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce AgohGiuga.agoh_giuga.variants.giuga.R1.H2 writes reductions/AgohGiuga.agoh_giuga.variants.giuga.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.