Mills' property and Mills' constant
DefinitionFCP_MillsA real number has Mills' property if is prime for every integer . Mills' constant is the least with this property; says exactly that is a least element of , i.e. it belongs to the set and is a lower bound for it.
import Mathlib
namespace FCP.Mills
/-- `IsMills A` says that `⌊A ^ (3 ^ n)⌋` is a prime number for every positive integer `n`,
where `⌊·⌋` is the floor into `ℕ`. -/
def IsMills (A : ℝ) : Prop := ∀ n : ℕ, 0 < n → Nat.Prime ⌊A ^ (3 ^ n)⌋₊
/-- `IsMinMills A` says that `A` is the least real number greater than `1` satisfying
`IsMills`; such an `A` is Mills' constant. -/
def IsMinMills (A : ℝ) : Prop := IsLeast {x : ℝ | 1 < x ∧ IsMills x} A
end FCP.MillsRead-back
What the Lean code literally says, in plain math · Aristotle by Harmonic (non-blind: same agent that drafted the statements)
Non-blind read-back. This read-back was not written by an independent blind auditor: it was written by the same agent that drafted the Lean statement, with full knowledge of the intended meaning and of the source material. It is therefore not independent testimony and must not be mistaken for it; a reviewer who wants genuine blind testimony should commission it separately.
Two properties of a real number are defined.
Mills' property. For every natural number with , the natural-number floor is a prime number. The floor used sends negative reals to , and is not prime, so the property forces for all . The case is excluded.
Minimality. is a least element of the set of reals satisfying both and Mills' property: that is, itself satisfies and Mills' property, and for every in that set. Nothing here asserts that such an exists.
Confirmed by the mission captain (proposal self-audit).