Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chebotarëv's density theorem

Proved
ChebotarevDensity.chebotarev_density

by LG · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-number-theorynumber-theory

Let fff be a polynomial with integer coefficients and leading coefficient 111, and assume that its discriminant Δ(f)\Delta(f)Δ(f) does not vanish. Let KKK be the splitting field of fff over Q\mathbb QQ, G=Gal(K/Q)G=\mathrm{Gal}(K/\mathbb Q)G=Gal(K/Q) the Galois group of fff, and let CCC be a conjugacy class of GGG. Then the set of primes ppp not dividing Δ(f)\Delta(f)Δ(f) whose Frobenius substitution σp\sigma_pσp​ belongs to CCC has analytic (Dirichlet) density

#C#G.\frac{\#C}{\#G}.#G#C​.

Here σ∈G\sigma\in Gσ∈G is a Frobenius substitution of ppp if σ(x)≡xp(modQ)\sigma(x)\equiv x^p\pmod{\mathfrak Q}σ(x)≡xp(modQ) for all algebraic integers x∈OKx\in\mathcal O_Kx∈OK​, for some prime ideal Q\mathfrak QQ of OK\mathcal O_KOK​ above ppp; for p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) these elements form one conjugacy class, so "σp∈C\sigma_p\in Cσp​∈C" is unambiguous. The theorem is the common generalization of Dirichlet's theorem on primes in arithmetic progressions (f=Xm−1f=X^m-1f=Xm−1) and of Frobenius's theorem on decomposition types.

Formalization Note "σp∈C\sigma_p\in Cσp​∈C" is encoded as "some Frobenius substitution of ppp lies in CCC". Density is analytic density, as in the source.

Preamble
import Definitions.Def_ChebotarevDensity_Defs

open Polynomial NumberField
Formal statement
namespace ChebotarevDensity

theorem chebotarev_density (f : ℤ[X]) (hf : f.Monic) (hdisc : f.discr ≠ 0)
    (C : ConjClasses (GalGroup f)) :
    HasDirichletDensity (chebotarevSet f C)
      ((Nat.card C.carrier : ℝ) / Nat.card (GalGroup f)) := by sorry

end ChebotarevDensity
Source
P. Stevenhagen and H. W. Lenstra, Jr., "Chebotarëv and his density theorem", The Mathematical Intelligencer 18 (1996), no. 2, 26–37, https://doi.org/10.1007/BF03027290, p. 34, "Chebotarev's Density Theorem"
Read-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 f∈Z[X]f\in\mathbb Z[X]f∈Z[X] that is monic with discriminant Δ(f)≠0\Delta(f)\neq0Δ(f)=0 (Mathlib's Polynomial.discr), and every conjugacy class CCC of GfG_fGf​, the group of Q\mathbb QQ-automorphisms of the splitting field KfK_fKf​ of fff over Q\mathbb QQ: the set

{p∈N: p prime, p∤Δ(f), ∃ σ∈C ∃ Q⊂OKf prime with p∈Q and σ(x)≡xp (mod Q) ∀x∈OKf}\{p\in\mathbb N:\ p\text{ prime},\ p\nmid\Delta(f),\ \exists\,\sigma\in C\ \exists\,\mathfrak Q\subset\mathcal O_{K_f}\text{ prime with } p\in\mathfrak Q \text{ and } \sigma(x)\equiv x^{p}\ (\mathrm{mod}\ \mathfrak Q)\ \forall x\in\mathcal O_{K_f}\}{p∈N: p prime, p∤Δ(f), ∃σ∈C ∃Q⊂OKf​​ prime with p∈Q and σ(x)≡xp (mod Q) ∀x∈OKf​​}

has analytic density #C/#Gf\#C/\#G_f#C/#Gf​, i.e.

∑p in the setp−slog⁡(1/(s−1))⟶#C#Gf(s→1, s>1),\frac{\sum_{p \text{ in the set}}p^{-s}}{\log\big(1/(s-1)\big)}\longrightarrow\frac{\#C}{\#G_f}\qquad(s\to1,\ s>1),log(1/(s−1))∑p in the set​p−s​⟶#Gf​#C​(s→1, s>1),

with #C\#C#C and #Gf\#G_f#Gf​ the cardinalities (Nat.card) cast to R\mathbb RR. Membership only requires some element of CCC to be a Frobenius substitution at some prime above ppp.

Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me