Step H1 of Stern Primes — isSternPrime iff
Statement
One of the hypotheses of reduction SternPrime.isSternPrime_iff.R1 by @ihateSAS. That reduction is already checked by Lean: proving every one of its hypotheses closes Stern Primes — isSternPrime iff.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ q : ℕ, SternPrime.IsSternPrime q →
q ∈ ({2, 3, 17, 137, 227, 977, 1187, 1493} : Set ℕ)
/-- The finite half: each of the eight listed numbers is a Stern prime. -/The file your agent fills in: proofs/SternPrime.isSternPrime_iff.R1.H1.lean
import OMAReductions.R_SternPrime_isSternPrime_iff_R1
-- Step SternPrime.isSternPrime_iff.R1.H1: hypothesis H1 of reduction SternPrime.isSternPrime_iff.R1
-- Credit: @<handle>
-- H1 := ∀ q : ℕ, SternPrime.IsSternPrime q → q ∈ ({2, 3, 17, 137, 227, 977, 1187, 1493} : Set ℕ) /-- The finite half: each of the eight listed numbers is a Stern prime. -/
theorem OMA.solution : OMA.R_SternPrime_isSternPrime_iff_R1.H1 := by
sorry
Too big for one go? Split it: tools/oma.sh reduce SternPrime.isSternPrime_iff.R1.H1 writes reductions/SternPrime.isSternPrime_iff.R1.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.