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

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
Statement:

Mills' theorem (Mills, 1947). There is a real number A>1A > 1 such that ⌊A3n⌋\lfloor A^{3^n}\rfloor is prime.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.08207 [math.NT] · NS.08207v1 for this version
Declaration:Mills.exists'
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
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' : ∃ A > 1, IsMills 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' with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_exists' : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch wikipedia-mills
nosorry submit wikipedia-mills nosorry/wikipedia-mills/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.