The discriminant of the n-th cyclotomic field
ProvedFamousTheorems.cyclotomic_field_discriminant_7bThe discriminant of the -th cyclotomic field. Let and . Then
where is Euler's totient function and the product runs over the primes dividing .
The formula shows which primes ramify in : exactly the primes dividing , apart from when . It is used to compute rings of integers and class numbers of cyclotomic fields and, through the conductor–discriminant formula, of their subfields.
Formalization note. Mathlib's IsCyclotomicExtension.Rat.discr. NumberField.discr K is the absolute discriminant of as an integer. The division is integer division, and it is exact here. For the formula gives , the discriminant of .
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem cyclotomic_field_discriminant_7b (n : ℕ) [NeZero n] (K : Type*) [Field K] [NumberField K] [IsCyclotomicExtension {n} ℚ K] :
NumberField.discr K = (-1) ^ (n.totient / 2) *
((n : ℤ) ^ n.totient / ((∏ p ∈ n.primeFactors, p ^ (n.totient / (p - 1)) : ℕ) : ℤ)) := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `IsCyclotomicExtension.Rat.discr`. Proof here reduces to that Mathlib result.