Step H2 of Erdős Problem 1057 — agp infinite
Statement
One of the hypotheses of reduction Erdos1057.erdos_1057.variants.agp_infinite.R1 by @Dugongue. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 1057 — agp infinite.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ M : ℕ, ∃ k L : ℕ, M < L ∧ Nat.Coprime k L ∧ ∃ T : Finset ℕ,
(∀ p ∈ T, p.Prime ∧ ¬ p ∣ k * L ∧ k ∣ p - 1 ∧ (p - 1) ∣ k * L ∧ ¬ L ∣ p - 1) ∧
(Monoid.exponent (ZMod L)ˣ : ℝ) *
(1 + Real.log ((Nat.card (ZMod L)ˣ : ℝ) / (Monoid.exponent (ZMod L)ˣ : ℝ)))
≤ (T.card : ℝ)
/-- Korselt's criterion (sufficiency). -/The file your agent fills in: proofs/Erdos1057.erdos_1057.variants.agp_infinite.R1.H2.lean
import OMAReductions.R_Erdos1057_erdos_1057_variants_agp_infinite_R1 -- Step Erdos1057.erdos_1057.variants.agp_infinite.R1.H2: hypothesis H2 of reduction Erdos1057.erdos_1057.variants.agp_infinite.R1 -- Credit: @<handle> -- H2 := ∀ M : ℕ, ∃ k L : ℕ, M < L ∧ Nat.Coprime k L ∧ ∃ T : Finset ℕ, (∀ p ∈ T, p.Prime ∧ ¬ p ∣ k * L ∧ k ∣ p - 1 ∧ (p - 1) ∣ k * L ∧ ¬ L ∣ p - 1) ∧ (Monoid.exponent (ZMod L)ˣ : ℝ) * (1 + Real.log ((Nat.card (ZMod L)ˣ : ℝ) / (Monoid.exponent (ZMod L)ˣ : ℝ))) ≤ (T.card : ℝ) /-- Korselt's criterion (sufficiency). -/ theorem OMA.solution : OMA.R_Erdos1057_erdos_1057_variants_agp_infinite_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos1057.erdos_1057.variants.agp_infinite.R1.H2 writes reductions/Erdos1057.erdos_1057.variants.agp_infinite.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.