{
  "id": "8207",
  "ident": "NS.08207",
  "slug": "wikipedia-mills",
  "title": "Mills' Theorem",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Mills' theorem** (Mills, 1947).\nThere is a real number $A > 1$ such that $\\lfloor A^{3^n}\\rfloor$ is prime.",
  "subjects": [
    "math.NT",
    "msc:11"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Mills.exists'",
  "statement_lean": "theorem exists' : ∃ A > 1, IsMills A",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Mills' Theorem\n\nThere exists a real $A > 1$ such that\n$\\lfloor A^{3^n}\\rfloor$ is prime for every positive integer $n$, where $\\lfloor\\cdot\\rfloor$\ndenotes the floor function.\n\nThe least such $A$ is known as *Mills' constant*. It is irrational, and assuming the\nRiemann hypothesis it is approximately $1.3063778838\\ldots$.\n\n*References:*\n- [Wikipedia, Mills' constant](https://en.wikipedia.org/wiki/Mills%27_constant)\n- [A prime-representing function](https://www.ams.org/journals/bull/1947-53-06/S0002-9904-1947-08849-2/)\n  by *W. H. Mills*, Bull. Amer. Math. Soc. **53** (1947), 604.\n- [Mills' constant](https://mathworld.wolfram.com/MillsConstant.html) on Wolfram MathWorld.\n- [Mills' constant is irrational](https://doi.org/10.1112/mtk.70027) by *Kota Saito*,\n  Mathematika **71** (2025), no. 3, e70027, [arXiv:2404.19461](https://arxiv.org/abs/2404.19461).\n- [Determining Mills' Constant ..](https://cs.uwaterloo.ca/journals/JIS/VOL8/Caldwell/caldwell78.pdf)\n  by *Chris K. Caldwell and Yuanyou Cheng*, J. Integer Seq. **8** (2005), Article 05.4.1.\n- [OEIS A051021](https://oeis.org/A051021) (decimal expansion of Mills' constant)\n-/\n\n@[expose] public section\n\nnamespace Mills\n\n/--\nGiven any real $A$, `IsMills A` encodes the statement that $\\lfloor A^{3^n}\\rfloor,n > 0$ is prime.\n-/\nabbrev IsMills (A : ℝ) : Prop := ∀ (n : ℕ+), Prime ⌊A ^ (3 ^ (n : ℕ))⌋₊\n\n/--\n**Mills' theorem** (Mills, 1947).\nThere is a real number $A > 1$ such that $\\lfloor A^{3^n}\\rfloor$ is prime.\n-/\n@[category research solved, AMS 11]\ntheorem exists' : ∃ A > 1, IsMills A := by\n  sorry\n\n/--\nFor a real $A$, `IsMinMills A` is the smallest value satisfying `IsMills A`.\n-/\nabbrev IsMinMills (A : ℝ) : Prop := IsLeast {x | x > 1 ∧ IsMills x} A\n\n/--\n**Mills' constant.**\nThere is a *least* Mills number.\n-/\n@[category research solved, AMS 11]\ntheorem exists_least : ∃ A, IsMinMills A := by\n  sorry\n\n/--\n**Mills' constant is irrational** (Saito, 2024).\n-/\n@[category research solved, AMS 11]\ntheorem irrational {A} (hA : IsMinMills A) :\n    Irrational A := by\n  sorry\n\n/--\n**Mills' constant lower bound** (Caldwell–Cheng, 2005): assuming the Riemann hypothesis,\nMills' constant begins at $1.3063778838\\ldots$.\n-/\n@[category research solved, AMS 11]\ntheorem lower_bound_of_RH (hRH : RiemannHypothesis) {A} (hA : IsMinMills A) :\n    A ∈ Set.Ioo (1.3063778838 : ℝ) 1.3063778839 := by\n  sorry\n\nend Mills\n",
  "statement_hash": "9585ae052c77f0208d3720eb2ff5ceb86886443e7f8316c0d3aafb6fb4000694",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}