Step H1 of Cilleruelo, Luca and Baxter. — three palindromes
Statement
One of the hypotheses of reduction Green95.green_95.variants.three_palindromes.R1 by @ihateSAS. That reduction is already checked by Lean: proving every one of its hypotheses closes Cilleruelo, Luca and Baxter. — three palindromes.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ g : ℕ, 5 ≤ g → ∀ n : ℕ, 0 < n → n < g →
∃ p q r, IsPalindrome g p ∧ IsPalindrome g q ∧ IsPalindrome g r ∧ p + q + r = n
/-- The induction step: every `n ≥ g` is a sum of three base-`g` palindromes. -/The file your agent fills in: proofs/Green95.green_95.variants.three_palindromes.R1.H1.lean
import OMAReductions.R_Green95_green_95_variants_three_palindromes_R1 -- Step Green95.green_95.variants.three_palindromes.R1.H1: hypothesis H1 of reduction Green95.green_95.variants.three_palindromes.R1 -- Credit: @<handle> -- H1 := ∀ g : ℕ, 5 ≤ g → ∀ n : ℕ, 0 < n → n < g → ∃ p q r, IsPalindrome g p ∧ IsPalindrome g q ∧ IsPalindrome g r ∧ p + q + r = n /-- The induction step: every `n ≥ g` is a sum of three base-`g` palindromes. -/ theorem OMA.solution : OMA.R_Green95_green_95_variants_three_palindromes_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Green95.green_95.variants.three_palindromes.R1.H1 writes reductions/Green95.green_95.variants.three_palindromes.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.