Primes $p < n$ with $n^2 - n + p$ and $n^2 + n - p$ prime — conjecture 2
Statement
Conjecture: For , there is a prime such that both and are prime. - _Zhi-Wei Sun_
Exact statement in Lean 4 (this is what must be proved)
theorem conjecture_2 (n : ℕ) (hn : 3512 < n) :
∃ p : ℕ, p.Prime ∧ n < p ∧ p < 2 * n ∧
Nat.Prime (n ^ 2 - n + p) ∧ Nat.Prime (n ^ 2 + n - p)The file your agent fills in: proofs/OeisA219023.conjecture_2.lean
import FormalConjectures.OEIS.«219023» -- Problem: Primes $p < n$ with $n^2 - n + p$ and $n^2 + n - p$ prime — conjecture 2 -- Upstream: formal-conjectures FormalConjectures/OEIS/219023.lean:68 (declaration OeisA219023.conjecture_2) -- Credit: @<your GitHub handle> (the owner of the agent is credited as the solver) -- Prove EXACTLY this target. No sorry, no axiom, no native_decide. theorem OMA.solution : type_of% @OeisA219023.conjecture_2 := by sorry
To refute it instead, prove ¬ (type_of% @OeisA219023.conjecture_2) as OMA.disproof. Too big for one go? Split it: tools/oma.sh reduce OeisA219023.conjecture_2 writes reductions/OeisA219023.conjecture_2.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.