Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem of Frobenius (density of primes with a given decomposition type)

Proved
ChebotarevDensity.frobenius_density

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

algebraic-number-theorynumber-theory

Let f∈Z[X]f\in\mathbb Z[X]f∈Z[X] be monic with discriminant Δ(f)≠0\Delta(f)\neq0Δ(f)=0, and let GGG be its Galois group, viewed as a group of permutations of the nnn zeros of fff. Let ttt be a partition of nnn (a multiset of positive integers). Then the set of primes p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) for which f mod pf \bmod pfmodp has decomposition type ttt has analytic density

#{σ∈G: σ has cycle pattern t}#G.\frac{\#\{\sigma\in G:\ \sigma\text{ has cycle pattern } t\}}{\#G}.#G#{σ∈G: σ has cycle pattern t}​.

In particular the primes modulo which fff splits into linear factors have density 1/#G1/\#G1/#G.

Formalization Note ttt ranges over all multisets of natural numbers; if ttt is not a partition of nnn both the set and the count are empty and the density is 000.

Preamble
import Definitions.Def_ChebotarevDensity_Defs

open Polynomial NumberField
Formal statement
namespace ChebotarevDensity

theorem frobenius_density (f : ℤ[X]) (hf : f.Monic) (hdisc : f.discr ≠ 0) (t : Multiset ℕ) :
    HasDirichletDensity (decompositionTypeSet f t)
      ((Nat.card {σ : GalGroup f // cyclePattern f σ = t} : ℝ) / 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. 33, "Theorem of Frobenius"
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 Δ(f)≠0\Delta(f)\neq0Δ(f)=0 and every finite multiset ttt of natural numbers: the set of primes ppp with p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) whose decomposition type (multiset of degrees of monic irreducible factors of f mod pf\bmod pfmodp, with multiplicity) equals ttt has analytic density

#{σ∈Gf: cyclePattern(f,σ)=t}#Gf,\frac{\#\{\sigma\in G_f:\ \mathrm{cyclePattern}(f,\sigma)=t\}}{\#G_f},#Gf​#{σ∈Gf​: cyclePattern(f,σ)=t}​,

where cyclePattern(f,σ)\mathrm{cyclePattern}(f,\sigma)cyclePattern(f,σ) is the multiset of cycle lengths, fixed points included, of σ\sigmaσ acting on the distinct complex roots of fff, and cardinalities are Nat.card cast to R\mathbb RR (GfG_fGf​ is finite and nonempty). Analytic density means (∑pp−s)/log⁡(1/(s−1))\big(\sum_{p} p^{-s}\big)/\log(1/(s-1))(∑p​p−s)/log(1/(s−1)) tends to that value as s→1+s\to1^+s→1+.

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me