The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.ClassNumber.Finite

22 declarations. Mathlib docs · Source

Class numbers of global fields

In this file, we use the notion of "admissible absolute value" to prove finiteness of the class group for number fields and function fields.

Main definitions

  • ClassGroup.fintypeOfAdmissibleOfAlgebraic: if R has an admissible absolute value, its integral closure has a finite class group

theorem ClassGroup.distinctElems.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R],
  ClassGroup.distinctElems bS adm = ClassGroup.distinctElems bS adm

theorem ClassGroup.finsetApprox.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} {inst_4 : DecidableEq ι} [inst_5 : DecidableEq ι]
  [inst_6 : Fintype ι] (bS bS_1 : Module.Basis ι R S),
  bS = bS_1 →
    ∀ (adm adm_1 : abv.IsAdmissible),
      adm = adm_1 →
        ∀ [inst_7 : Infinite R] [inst_8 : DecidableEq R],
          ClassGroup.finsetApprox bS adm = ClassGroup.finsetApprox bS_1 adm_1

theorem ClassGroup.normBound.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] (abv abv_1 : AbsoluteValue R ℤ),
  abv = abv_1 →
    ∀ {ι : Type u_5} {inst_4 : DecidableEq ι} [inst_5 : DecidableEq ι] [inst_6 : Fintype ι]
      (bS bS_1 : Module.Basis ι R S), bS = bS_1 → ClassGroup.normBound abv bS = ClassGroup.normBound abv_1 bS_1

def ClassGroup.normBound E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [IsDomain S] →
          [inst_3 : Algebra R S] →
            AbsoluteValue R ℤ → {ι : Type u_5} → [DecidableEq ι] → [Fintype ι] → Module.Basis ι R S → ℤ

If b is an R-basis of S of cardinality n, then normBound abv b is an integer such that for every R-integral element a : S with coordinates ≤ y, we have Algebra.norm a ≤ normBound abv b * y ^ n. (See also norm_le and norm_lt).

theorem ClassGroup.normBound_pos E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] (abv : AbsoluteValue R ℤ) {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S), 0 < ClassGroup.normBound abv bS

theorem ClassGroup.norm_le E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] (abv : AbsoluteValue R ℤ) {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (a : S) {y : ℤ},
  (∀ (k : ι), abv ((bS.repr a) k) ≤ y) → abv ((Algebra.norm R) a) ≤ ClassGroup.normBound abv bS * y ^ Fintype.card ι

If the R-integral element a : S has coordinates ≤ y with respect to some basis b, its norm is less than normBound abv b * y ^ dim S.

theorem ClassGroup.norm_lt E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] (abv : AbsoluteValue R ℤ) {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) {T : Type u_6} [inst_6 : Ring T] [inst_7 : LinearOrder T] [IsStrictOrderedRing T] (a : S)
  {y : T},
  (∀ (k : ι), ↑(abv ((bS.repr a) k)) < y) →
    ↑(abv ((Algebra.norm R) a)) < ↑(ClassGroup.normBound abv bS) * y ^ Fintype.card ι

If the R-integral element a : S has coordinates < y with respect to some basis b, its norm is strictly less than normBound abv b * y ^ dim S.

theorem ClassGroup.exists_min E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [IsDomain S] [inst_3 : Algebra R S]
  (abv : AbsoluteValue R ℤ) (I : ↥(nonZeroDivisors (Ideal S))),
  ∃ b ∈ ↑I, b ≠ 0 ∧ ∀ c ∈ ↑I, abv ((Algebra.norm R) c) < abv ((Algebra.norm R) b) → c = 0

A nonzero ideal has an element of minimal norm.

def ClassGroup.cardM E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [IsDomain S] →
          [inst_3 : Algebra R S] →
            {abv : AbsoluteValue R ℤ} →
              {ι : Type u_5} → [DecidableEq ι] → [Fintype ι] → Module.Basis ι R S → abv.IsAdmissible → ℕ

If we have a large enough set of elements in R^ι, then there will be a pair whose remainders are close together. We'll show that all sets of cardinality at least cardM bS adm elements satisfy this condition.

The value of cardM is not at all optimal: for specific choices of R, the minimum cardinality can be exponentially smaller.

def ClassGroup.distinctElems E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [inst_2 : IsDomain S] →
          [inst_3 : Algebra R S] →
            {abv : AbsoluteValue R ℤ} →
              {ι : Type u_5} →
                [inst_4 : DecidableEq ι] →
                  [inst_5 : Fintype ι] →
                    (bS : Module.Basis ι R S) →
                      (adm : abv.IsAdmissible) → [Infinite R] → Fin (ClassGroup.cardM bS adm).succ ↪ R

In the following results, we need a large set of distinct elements of R.

def ClassGroup.finsetApprox E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [IsDomain S] →
          [inst_3 : Algebra R S] →
            {abv : AbsoluteValue R ℤ} →
              {ι : Type u_5} →
                [DecidableEq ι] →
                  [Fintype ι] → Module.Basis ι R S → abv.IsAdmissible → [Infinite R] → [DecidableEq R] → Finset R

finsetApprox is a finite set such that each fractional ideal in the integral closure contains an element close to finsetApprox.

theorem ClassGroup.finsetApprox.zero_notMem E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R],
  0 ∉ ClassGroup.finsetApprox bS adm

theorem ClassGroup.mem_finsetApprox E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R] {x : R},
  x ∈ ClassGroup.finsetApprox bS adm ↔
    ∃ i j, i ≠ j ∧ (ClassGroup.distinctElems bS adm) i - (ClassGroup.distinctElems bS adm) j = x

theorem ClassGroup.exists_mem_finsetApprox E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R] (a : S) {b : R},
  b ≠ 0 →
    ∃ q,
      ∃ r ∈ ClassGroup.finsetApprox bS adm,
        abv ((Algebra.norm R) (r • a - b • q)) < abv ((Algebra.norm R) ((algebraMap R S) b))

We can approximate a / b : L with q / r, where r has finitely many options for L.

theorem ClassGroup.exists_mem_finset_approx' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R]
  [Algebra.IsAlgebraic R S] (a : S) {b : S},
  b ≠ 0 → ∃ q, ∃ r ∈ ClassGroup.finsetApprox bS adm, abv ((Algebra.norm R) (r • a - q * b)) < abv ((Algebra.norm R) b)

We can approximate a / b : L with q / r, where r has finitely many options for L.

theorem ClassGroup.prod_finsetApprox_ne_zero E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R],
  (algebraMap R S) (∏ m ∈ ClassGroup.finsetApprox bS adm, m) ≠ 0

theorem ClassGroup.ne_bot_of_prod_finsetApprox_mem E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R] (J : Ideal S),
  (algebraMap R S) (∏ m ∈ ClassGroup.finsetApprox bS adm, m) ∈ J → J ≠ ⊥

theorem ClassGroup.exists_mk0_eq_mk0 E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R]
  [inst_8 : IsDedekindDomain S] [Algebra.IsAlgebraic R S] (I : ↥(nonZeroDivisors (Ideal S))),
  ∃ J, ClassGroup.mk0 I = ClassGroup.mk0 J ∧ (algebraMap R S) (∏ m ∈ ClassGroup.finsetApprox bS adm, m) ∈ ↑J

Each class in the class group contains an ideal J such that M := Π m ∈ finsetApprox is in J.

def ClassGroup.mkMMem E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [inst_2 : IsDomain S] →
          [inst_3 : Algebra R S] →
            {abv : AbsoluteValue R ℤ} →
              {ι : Type u_5} →
                [inst_4 : DecidableEq ι] →
                  [inst_5 : Fintype ι] →
                    (bS : Module.Basis ι R S) →
                      (adm : abv.IsAdmissible) →
                        [inst_6 : Infinite R] →
                          [inst_7 : DecidableEq R] →
                            [IsDedekindDomain S] →
                              { J // (algebraMap R S) (∏ m ∈ ClassGroup.finsetApprox bS adm, m) ∈ J } → ClassGroup S

ClassGroup.mkMMem is a specialization of ClassGroup.mk0 to (the finite set of) ideals that contain M := ∏ m ∈ finsetApprox L f abs, m. By showing this function is surjective, we prove that the class group is finite.

theorem ClassGroup.mkMMem_surjective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : EuclideanDomain R] [inst_1 : CommRing S] [inst_2 : IsDomain S]
  [inst_3 : Algebra R S] {abv : AbsoluteValue R ℤ} {ι : Type u_5} [inst_4 : DecidableEq ι] [inst_5 : Fintype ι]
  (bS : Module.Basis ι R S) (adm : abv.IsAdmissible) [inst_6 : Infinite R] [inst_7 : DecidableEq R]
  [inst_8 : IsDedekindDomain S] [Algebra.IsAlgebraic R S], Function.Surjective (ClassGroup.mkMMem bS adm)

def ClassGroup.fintypeOfAdmissibleOfAlgebraic E3 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : EuclideanDomain R] →
      [inst_1 : CommRing S] →
        [inst_2 : IsDomain S] →
          [inst_3 : Algebra R S] →
            {abv : AbsoluteValue R ℤ} →
              {ι : Type u_5} →
                [DecidableEq ι] →
                  [Fintype ι] →
                    Module.Basis ι R S →
                      abv.IsAdmissible →
                        [Infinite R] →
                          [DecidableEq R] → [IsDedekindDomain S] → [Algebra.IsAlgebraic R S] → Fintype (ClassGroup S)

The class number theorem: the class group of an integral closure S of R in an algebraic extension L is finite if there is an admissible absolute value.

See also ClassGroup.fintypeOfAdmissibleOfFinite where L is a finite extension of K = Frac(R), supplying most of the required assumptions automatically.

def ClassGroup.fintypeOfAdmissibleOfFinite E1 #

{R : Type u_1} →
  {S : Type u_2} →
    (K : Type u_3) →
      (L : Type u_4) →
        [inst : EuclideanDomain R] →
          [inst_1 : CommRing S] →
            [inst_2 : IsDomain S] →
              [inst_3 : Field K] →
                [inst_4 : Field L] →
                  [inst_5 : Algebra R K] →
                    [IsFractionRing R K] →
                      [inst_7 : Algebra K L] →
                        [FiniteDimensional K L] →
                          [Algebra.IsSeparable K L] →
                            [algRL : Algebra R L] →
                              [IsScalarTower R K L] →
                                [inst_11 : Algebra R S] →
                                  [inst_12 : Algebra S L] →
                                    [ist : IsScalarTower R S L] →
                                      {abv : AbsoluteValue R ℤ} →
                                        abv.IsAdmissible →
                                          [Infinite R] →
                                            [DecidableEq R] → [IsIntegralClosure S R L] → Fintype (ClassGroup S)

The main theorem: the class group of an integral closure S of R in a finite extension L of K = Frac(R) is finite if there is an admissible absolute value.

See also ClassGroup.fintypeOfAdmissibleOfAlgebraic where L is an algebraic extension of R, that includes some extra assumptions.