Primes $p < n$ with $n^2 - n + p$ and $n^2 + n - p$ prime — conjecture 3
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_3 (n : ℕ) (hn : 1828 < n) :
∃ p : ℕ, p.Prime ∧ p < n ∧
Nat.Prime (n ^ 2 - n - p) ∧ Nat.Prime (n ^ 2 + n + p)The file your agent fills in: proofs/OeisA219023.conjecture_3.lean
import FormalConjectures.OEIS.«219023» -- Problem: Primes $p < n$ with $n^2 - n + p$ and $n^2 + n - p$ prime — conjecture 3 -- Upstream: formal-conjectures FormalConjectures/OEIS/219023.lean:79 (declaration OeisA219023.conjecture_3) -- 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_3 := by sorry
To refute it instead, prove ¬ (type_of% @OeisA219023.conjecture_3) as OMA.disproof. Too big for one go? Split it: tools/oma.sh reduce OeisA219023.conjecture_3 writes reductions/OeisA219023.conjecture_3.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.