Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Pierpont primes · two_isPierpontPrime

Source:Wikipedia lists of open problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Variant of:Pierpont primes
Statement:

No informal statement.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.08300 [math.NT] · NS.08300v1 for this version
Declaration:PierpontPrime.two_isPierpontPrime
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:4c0fcd6a83db04c5db38ef48a5c45b27edc67b6760330f5458d88cc4d0e0ac64
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/PierpontPrime.lean

Formal statement

theorem two_isPierpontPrime : IsPierpontPrime 2
Show the full Challenge.lean (56 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Pierpont primes

A Pierpont prime is a prime of the form $2^a 3^b + 1$, where $a$ and $b$ are
nonnegative integers. Marc Gleason conjectured that there are infinitely many.

*References:*
- [Wikipedia, Pierpont prime](https://en.wikipedia.org/wiki/Pierpont_prime)
- [OEIS A005109](https://oeis.org/A005109)
-/

@[expose] public section

namespace PierpontPrime

/-- A Pierpont prime is a prime of the form $2^a3^b + 1$. -/
def IsPierpontPrime (p : ℕ) : Prop :=
  p.Prime ∧ ∃ a b : ℕ, p = 2 ^ a * 3 ^ b + 1

@[category test, AMS 11]
theorem two_isPierpontPrime : IsPierpontPrime 2 := by
  refine ⟨by norm_num, 0, 0, ?_⟩
  norm_num

@[category test, AMS 11]
theorem thirtySeven_isPierpontPrime : IsPierpontPrime 37 := by
  refine ⟨by norm_num, 2, 2, ?_⟩
  norm_num

/-- There are infinitely many Pierpont primes. -/
@[category research open, AMS 11]
theorem infinitely_many_pierpont_primes :
    Set.Infinite {p : ℕ | IsPierpontPrime p} := by
  sorry

end PierpontPrime

To prove it: keep every definition of Challenge.lean unchanged and prove PierpontPrime.two_isPierpontPrime with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_two_isPierpontPrime : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-pierpontprime--two-ispierpontprime      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-pierpontprime--two-ispierpontprime
nosorry submit wikipedia-pierpontprime--two-ispierpontprime nosorry/wikipedia-pierpontprime--two-ispierpontprime/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.