Proved
PrimeEndings.prime_count_1000elementary-number-theoryprime-numberssieve-of-eratosthenes
, evaluated by the kernel through the sieve.
Preamble
import Definitions.Def_PrimeEndings_Defs import Mathlib open PrimeEndings
Formal statement
namespace PrimeEndings theorem prime_count_1000 : Nat.primeCounting 1000 = 168 := by sorry end PrimeEndings
Source
mfala22ss, A window form of the sieve of Eratosthenes on the residues prime to ten, with a machine-checked proof (2026), https://github.com/mfala22ss/prime-endings, Lean file lean/Solution.lean, `prime_count_1000`
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The number of primes less than or equal to is :
where is Mathlib's prime-counting function, counting primes (defined as the number of primes ). A closed numerical statement with no hypotheses.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.