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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Mills' Theorem · exists_least

Source:Wikipedia lists of open problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Variant of:Mills' Theorem
Statement:

Mills' constant. There is a least Mills number.

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

Formal statement

theorem exists_least : ∃ A, IsMinMills A
Show the full Challenge.lean (90 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Mills' Theorem

There exists a real $A > 1$ such that
$\lfloor A^{3^n}\rfloor$ is prime for every positive integer $n$, where $\lfloor\cdot\rfloor$
denotes the floor function.

The least such $A$ is known as *Mills' constant*. It is irrational, and assuming the
Riemann hypothesis it is approximately $1.3063778838\ldots$.

*References:*
- [Wikipedia, Mills' constant](https://en.wikipedia.org/wiki/Mills%27_constant)
- [A prime-representing function](https://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/)
  by *W. H. Mills*, Bull. Amer. Math. Soc. **53** (1947), 604.
- [Mills' constant](https://mathworld.wolfram.com/MillsConstant.html) on Wolfram MathWorld.
- [Mills' constant is irrational](https://doi.org/10.1112/mtk.70027) by *Kota Saito*,
  Mathematika **71** (2025), no. 3, e70027, [arXiv:2404.19461](https://arxiv.org/abs/2404.19461).
- [Determining Mills' Constant ..](https://cs.uwaterloo.ca/journals/JIS/VOL8/Caldwell/caldwell78.pdf)
  by *Chris K. Caldwell and Yuanyou Cheng*, J. Integer Seq. **8** (2005), Article 05.4.1.
- [OEIS A051021](https://oeis.org/A051021) (decimal expansion of Mills' constant)
-/

@[expose] public section

namespace Mills

/--
Given any real $A$, `IsMills A` encodes the statement that $\lfloor A^{3^n}\rfloor,n > 0$ is prime.
-/
abbrev IsMills (A : ℝ) : Prop := ∀ (n : ℕ+), Prime ⌊A ^ (3 ^ (n : ℕ))⌋₊

/--
**Mills' theorem** (Mills, 1947).
There is a real number $A > 1$ such that $\lfloor A^{3^n}\rfloor$ is prime.
-/
@[category research solved, AMS 11]
theorem exists' : ∃ A > 1, IsMills A := by
  sorry

/--
For a real $A$, `IsMinMills A` is the smallest value satisfying `IsMills A`.
-/
abbrev IsMinMills (A : ℝ) : Prop := IsLeast {x | x > 1 ∧ IsMills x} A

/--
**Mills' constant.**
There is a *least* Mills number.
-/
@[category research solved, AMS 11]
theorem exists_least : ∃ A, IsMinMills A := by
  sorry

/--
**Mills' constant is irrational** (Saito, 2024).
-/
@[category research solved, AMS 11]
theorem irrational {A} (hA : IsMinMills A) :
    Irrational A := by
  sorry

/--
**Mills' constant lower bound** (Caldwell–Cheng, 2005): assuming the Riemann hypothesis,
Mills' constant begins at $1.3063778838\ldots$.
-/
@[category research solved, AMS 11]
theorem lower_bound_of_RH (hRH : RiemannHypothesis) {A} (hA : IsMinMills A) :
    A ∈ Set.Ioo (1.3063778838 : ℝ) 1.3063778839 := by
  sorry

end Mills

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

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