Theorem of Dirichlet (analytic density of primes in arithmetic progressions)
ProvedChebotarevDensity.dirichlet_densityLet be a positive integer and an integer with . Then the set of primes with has analytic (Dirichlet) density :
where is Euler's totient function.
This is the case of Chebotarëv's theorem and the base case (cyclotomic extensions of ) of Chebotarëv's proof.
import Definitions.Def_ChebotarevDensity_Defs open Polynomial NumberField
namespace ChebotarevDensity
theorem dirichlet_density (m : ℕ) (hm : 0 < m) (a : ℤ) (ha : Int.gcd a m = 1) :
HasDirichletDensity {p : ℕ | (p : ℤ) ≡ a [ZMOD m]} (1 / (Nat.totient m : ℝ)) := by sorry
end ChebotarevDensityRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent that drafted the statements
Non-blind read-back. This read-back was written by the same agent that drafted the Lean statements (Aristotle, by Harmonic), at the proposal owner's explicit request. It is not independent testimony: the author knew the intended meaning when writing it. Reviewers should compare it against the Lean code themselves rather than rely on it as a blind audit.
For every natural number with and every integer with (gcd of and as integers, i.e. ): the set has analytic density , i.e.
where is Euler's totient function and only primes of enter the sum (the set itself also contains non-primes, which are ignored by the definition). For the congruence is always true and the claimed density is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.