Title:Emirps
Statement:Wikipedia's article on emirps states: "It is not known whether there are infinitely many emirps."
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.07891 [math.NT] · NS.07891v1 for this version |
| Declaration: | Emirp.infinitude_question |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | b90e4d688f1d0a7ddf7d6e204baa08be5e5ddf03175e6ce00af6ff44d928aac0 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/Emirp.lean |
Formal statement
theorem infinitude_question :
{p : ℕ | IsEmirp p}.InfiniteShow the full Challenge.lean (84 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Emirps
An emirp is a prime whose decimal reversal is a different prime. It is unknown whether there are
infinitely many emirps.
*References:*
* [Wikipedia, Emirp](https://en.wikipedia.org/wiki/Emirp)
* [OEIS A006567](https://oeis.org/A006567)
-/
@[expose] public section
namespace Emirp
/-- Reverse the base-ten digits of a natural number. -/
def reverse10 (n : ℕ) : ℕ :=
Nat.ofDigits 10 (Nat.digits 10 n).reverse
/-- A natural number is an emirp if it and its distinct decimal reversal are both prime. -/
def IsEmirp (p : ℕ) : Prop :=
p.Prime ∧ (reverse10 p).Prime ∧ reverse10 p ≠ p
@[category test, AMS 11]
theorem reverse10_13 : reverse10 13 = 31 := by
norm_num [reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem reverse10_17 : reverse10 17 = 71 := by
norm_num [reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem reverse10_120 : reverse10 120 = 21 := by
norm_num [reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem a_13 : IsEmirp 13 := by
norm_num [IsEmirp, reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem a_17 : IsEmirp 17 := by
norm_num [IsEmirp, reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem a_31 : IsEmirp 31 := by
norm_num [IsEmirp, reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem a_37 : IsEmirp 37 := by
norm_num [IsEmirp, reverse10, Nat.ofDigits]
@[category test, AMS 11]
theorem not_a_11 : ¬ IsEmirp 11 := by
norm_num [IsEmirp, reverse10, Nat.ofDigits]
/-- [Wikipedia's article on emirps](https://en.wikipedia.org/wiki/Emirp) states: "It is not known
whether there are infinitely many emirps." -/
@[category research open, question, AMS 11]
theorem infinitude_question :
{p : ℕ | IsEmirp p}.Infinite := by
sorry
end Emirp
To prove it: keep every definition of Challenge.lean unchanged and prove Emirp.infinitude_question with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_infinitude_question : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch wikipedia-emirp nosorry submit wikipedia-emirp nosorry/wikipedia-emirp/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.