Title:Primes congruent to
Statement:Conjecture: Represents primes where the polynomial is irreducible over .
- Federico Provvedi, Jul 21 2018
Answer: true, the equivalence is classical (complete the square: , then use quadratic reciprocity).
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.06313 [math.NT] · NS.06313v1 for this version |
| Declaration: | OeisA3625.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | fe0df576d559a2b2a8f9b2d987028eb98b70ea95b319eebce7f52add0f4f9ee3 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/3625.lean |
Formal statement
theorem conjecture (p : ℕ) (hp : p.Prime) :
A p ↔ Irreducible (X ^ 2 + X + 2 : (ZMod p)[X])Show the full Challenge.lean (85 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Primes congruent to $\{3, 5, 6\} \pmod 7$
Primes congruent to $3, 5, \text{ or } 6 \pmod 7$.
*References:*
- [A003625](https://oeis.org/A003625)
-/
@[expose] public section
namespace OeisA3625
/-- A prime $p$ is in A003625 if $p \equiv 3, 5, \text{ or } 6 \pmod 7$. -/
def A (p : ℕ) : Prop :=
p.Prime ∧ (p % 7 = 3 ∨ p % 7 = 5 ∨ p % 7 = 6)
open Polynomial
/-- $3$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_3 : A 3 := by
unfold A
decide +native
/-- $5$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_5 : A 5 := by
unfold A
decide +native
/-- $13$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_13 : A 13 := by
unfold A
decide +native
/-- $17$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_17 : A 17 := by
unfold A
decide +native
/-- $19$ is in the sequence A003625. -/
@[category test, AMS 11]
theorem a_19 : A 19 := by
unfold A
decide +native
set_option linter.style.formal_proof_palomar false in
/--
Conjecture: Represents primes $p$ where the polynomial $x^2 + x + 2$ is irreducible over $\text{GF}(p)$.
- _Federico Provvedi_, Jul 21 2018
Answer: true, the equivalence is classical (complete the square: $4(x^2+x+2) = (2x+1)^2 + 7$,
then use quadratic reciprocity).
-/
@[category research solved, AMS 11,
formal_proof using lean4 at
"https://github.com/KitaKen1/oeis-a003625-irreducibility/blob/d6c9f90827805142d81eee4e3d9099c8b48cbcc8/lean/OeisA3625FC.lean#L103-L104"]
theorem conjecture (p : ℕ) (hp : p.Prime) :
A p ↔ Irreducible (X ^ 2 + X + 2 : (ZMod p)[X]) := by
sorry
end OeisA3625
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA3625.conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch oeis-3625 nosorry submit oeis-3625 nosorry/oeis-3625/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.