Class numbers of number fields #
This file defines the class number of a number field as the (finite) cardinality of the class group of its ring of integers. It also proves some elementary results on the class number.
Main definitions #
NumberField.classNumber
: the class number of a number field is the (finite) cardinality of the class group of its ring of integers
noncomputable instance
NumberField.RingOfIntegers.instFintypeClassGroup
(K : Type u_1)
[Field K]
[NumberField K]
:
The class number of a number field is the (finite) cardinality of the class group.
Equations
Instances For
The class number of a number field is 1
iff the ring of integers is a PID.
theorem
NumberField.exists_ideal_in_class_of_norm_le
{K : Type u_1}
[Field K]
[NumberField K]
(C : ClassGroup (NumberField.RingOfIntegers K))
:
∃ (I : ↥(nonZeroDivisors (Ideal (NumberField.RingOfIntegers K)))),
ClassGroup.mk0 I = C ∧ ↑(Ideal.absNorm ↑I) ≤ (4 / Real.pi) ^ NumberField.InfinitePlace.nrComplexPlaces K * (↑(Module.finrank ℚ K).factorial / ↑(Module.finrank ℚ K) ^ Module.finrank ℚ K * √|↑(NumberField.discr K)|)
theorem
RingOfIntegers.isPrincipalIdealRing_of_abs_discr_lt
{K : Type u_1}
[Field K]
[NumberField K]
(h : ↑|NumberField.discr K| < (2 * (Real.pi / 4) ^ NumberField.InfinitePlace.nrComplexPlaces K * (↑(Module.finrank ℚ K) ^ Module.finrank ℚ K / ↑(Module.finrank ℚ K).factorial)) ^ 2)
: