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.NumberField.Units.DirichletTheorem

51 declarations and 1 deprecated aliases. Mathlib docs Β· Source

Dirichlet theorem on the group of units of a number field

This file is devoted to the proof of Dirichlet unit theorem that states that the group of units (π“ž K)Λ£ of units of the ring of integers π“ž K of a number field K modulo its torsion subgroup is a free β„€-module of rank card (InfinitePlace K) - 1.

Main definitions

  • NumberField.Units.rank: the unit rank of the number field K.

  • NumberField.Units.fundSystem: a fundamental system of units of K.

  • NumberField.Units.basisModTorsion: a β„€-basis of (π“ž K)Λ£ β§Έ (torsion K) as an additive β„€-module.

Main results

  • NumberField.Units.rank_modTorsion: the β„€-rank of (π“ž K)Λ£ β§Έ (torsion K) is equal to card (InfinitePlace K) - 1.

  • NumberField.Units.exist_unique_eq_mul_prod: Dirichlet Unit Theorem. Any unit of π“ž K can be written uniquely as the product of a root of unity and powers of the units of the fundamental system fundSystem.

Tags

number field, units, Dirichlet unit theorem

Dirichlet Unit Theorem

We define a group morphism from (π“ž K)Λ£ to logSpace K, defined as {w : InfinitePlace K // w β‰  wβ‚€} β†’ ℝ where wβ‚€ is a distinguished (arbitrary) infinite place, prove that its kernel is the torsion subgroup (see logEmbedding_eq_zero_iff) and that its image, called unitLattice, is a full β„€-lattice. It follows that unitLattice is a free β„€-module (see instModuleFree_unitLattice) of rank card (InfinitePlace K) - 1 (see unitLattice_rank). To prove that the unitLattice is a full β„€-lattice, we need to prove that it is discrete (see unitLattice_inter_ball_finite) and that it spans the full space over ℝ (see unitLattice_span_eq_top); this is the main part of the proof, see the section span_top below for more details.

Section span_top

In this section, we prove that the span over ℝ of the unitLattice is equal to the full space. For this, we construct for each infinite place w₁ β‰  wβ‚€ a unit u_w₁ of K such that, for all infinite places w such that w β‰  w₁, we have Real.log w (u_w₁) < 0 (and thus Real.log w₁ (u_w₁) > 0). It follows then from a determinant computation (using Matrix.det_ne_zero_of_sum_col_lt_diag) that the image by logEmbedding of these units is a ℝ-linearly independent family. The unit u_w₁ is obtained by constructing a sequence seq n of nonzero algebraic integers that is strictly decreasing at infinite places distinct from w₁ and of norm ≀ B. Since there are finitely many ideals of norm ≀ B, there exists two term in the sequence defining the same ideal and their quotient is the desired unit u_w₁ (see exists_unit).

theorem QuotientGroup.quotientMulEquivOfEq.congr_simp E1 #

βˆ€ {G : Type u} [inst : Group G] {M N : Subgroup G} [inst_1 : M.Normal] [inst_2 : N.Normal] (h : M = N),
  QuotientGroup.quotientMulEquivOfEq h = QuotientGroup.quotientMulEquivOfEq h

theorem AddMonoidHom.codRestrict.congr_simp E1 #

βˆ€ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {S : Type u_5} [inst_2 : SetLike S N]
  [inst_3 : AddSubmonoidClass S N] (f f_1 : M β†’+ N) (e_f : f = f_1) (s : S) (h : βˆ€ (x : M), f x ∈ s),
  f.codRestrict s h = f_1.codRestrict s β‹―

theorem NumberField.Units.dirichletUnitTheorem.seq.match_1.congr_eq_2 E1 #

βˆ€ (motive : β„• β†’ Sort u_1) (x : β„•) (h_1 : Unit β†’ motive 0) (h_2 : (n : β„•) β†’ motive n.succ) (n : β„•),
  x = n.succ β†’
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_2 n

theorem NumberField.Units.dirichletUnitTheorem.seq.congr_simp E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (w₁ w₁_1 : NumberField.InfinitePlace K),
  w₁ = w₁_1 β†’
    βˆ€ {B B_1 : β„•} (e_B : B = B_1)
      (hB : NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B)
      (a a_1 : β„•),
      a = a_1 β†’
        NumberField.Units.dirichletUnitTheorem.seq K w₁ hB a = NumberField.Units.dirichletUnitTheorem.seq K w₁_1 β‹― a_1

theorem NumberField.Units.dirichletUnitTheorem.wβ‚€.congr_simp E1 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K],
  NumberField.Units.dirichletUnitTheorem.wβ‚€ = NumberField.Units.dirichletUnitTheorem.wβ‚€

theorem NumberField.Units.dirichletUnitTheorem.seq.match_1.congr_eq_1 E1 #

βˆ€ (motive : β„• β†’ Sort u_1) (x : β„•) (h_1 : Unit β†’ motive 0) (h_2 : (n : β„•) β†’ motive n.succ),
  x = 0 β†’
    (match x with
      | 0 => h_1 ()
      | n.succ => h_2 n) ≍
      h_1 ()

theorem NumberField.Units.rank.congr_simp E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], NumberField.Units.rank K = NumberField.Units.rank K

def NumberField.Units.dirichletUnitTheorem.wβ‚€ E1 #

{K : Type u_1} β†’ [inst : Field K] β†’ [NumberField K] β†’ NumberField.InfinitePlace K

The distinguished infinite place.

abbrev NumberField.Units.dirichletUnitTheorem.logSpace E1 #

(K : Type u_1) β†’ [inst : Field K] β†’ [NumberField K] β†’ Type (max 0 u_1)

The logSpace is defined as {w : InfinitePlace K // w β‰  wβ‚€} β†’ ℝ where wβ‚€ is the distinguished infinite place.

def NumberField.Units.logEmbedding E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’
      Additive (NumberField.RingOfIntegers K)Λ£ β†’+ NumberField.Units.dirichletUnitTheorem.logSpace K

The logarithmic embedding of the units (seen as an Additive group).

theorem NumberField.Units.dirichletUnitTheorem.logEmbedding_component E0 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] (x : (NumberField.RingOfIntegers K)Λ£)
  (w : { w // w β‰  NumberField.Units.dirichletUnitTheorem.wβ‚€ }),
  (NumberField.Units.logEmbedding K) (Additive.ofMul x) w =
    ↑(↑w).mult * Real.log (↑w ((algebraMap (NumberField.RingOfIntegers K) K) ↑x))

theorem NumberField.Units.dirichletUnitTheorem.sum_logEmbedding_component E1 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] (x : (NumberField.RingOfIntegers K)Λ£),
  βˆ‘ w, (NumberField.Units.logEmbedding K) (Additive.ofMul x) w =
    -↑NumberField.Units.dirichletUnitTheorem.wβ‚€.mult *
      Real.log (NumberField.Units.dirichletUnitTheorem.wβ‚€ ((algebraMap (NumberField.RingOfIntegers K) K) ↑x))

theorem NumberField.Units.dirichletUnitTheorem.mult_log_place_eq_zero E1 #

βˆ€ {K : Type u_1} [inst : Field K] {x : (NumberField.RingOfIntegers K)Λ£} {w : NumberField.InfinitePlace K},
  ↑w.mult * Real.log (w ((algebraMap (NumberField.RingOfIntegers K) K) ↑x)) = 0 ↔
    w ((algebraMap (NumberField.RingOfIntegers K) K) ↑x) = 1

theorem NumberField.Units.dirichletUnitTheorem.logEmbedding_eq_zero_iff E0 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] {x : (NumberField.RingOfIntegers K)Λ£},
  (NumberField.Units.logEmbedding K) (Additive.ofMul x) = 0 ↔ x ∈ NumberField.Units.torsion K

theorem NumberField.Units.dirichletUnitTheorem.logEmbedding_ker E1 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K],
  (NumberField.Units.logEmbedding K).ker = Subgroup.toAddSubgroup (NumberField.Units.torsion K)

theorem NumberField.Units.dirichletUnitTheorem.map_logEmbedding_sup_torsion E0 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] (s : AddSubgroup (Additive (NumberField.RingOfIntegers K)Λ£)),
  AddSubgroup.map (NumberField.Units.logEmbedding K) (s βŠ” Subgroup.toAddSubgroup (NumberField.Units.torsion K)) =
    AddSubgroup.map (NumberField.Units.logEmbedding K) s

theorem NumberField.Units.dirichletUnitTheorem.logEmbedding_component_le E1 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] {r : ℝ} {x : (NumberField.RingOfIntegers K)Λ£},
  0 ≀ r β†’
    β€–(NumberField.Units.logEmbedding K) xβ€– ≀ r β†’
      βˆ€ (w : { w // w β‰  NumberField.Units.dirichletUnitTheorem.wβ‚€ }),
        |(NumberField.Units.logEmbedding K) (Additive.ofMul x) w| ≀ r

theorem NumberField.Units.dirichletUnitTheorem.log_le_of_logEmbedding_le E1 #

βˆ€ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] {r : ℝ} {x : (NumberField.RingOfIntegers K)Λ£},
  0 ≀ r β†’
    β€–(NumberField.Units.logEmbedding K) (Additive.ofMul x)β€– ≀ r β†’
      βˆ€ (w : NumberField.InfinitePlace K),
        |Real.log (w ((algebraMap (NumberField.RingOfIntegers K) K) ↑x))| ≀
          ↑(Fintype.card (NumberField.InfinitePlace K)) * r

def NumberField.Units.unitLattice E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’ [inst_1 : NumberField K] β†’ Submodule β„€ (NumberField.Units.dirichletUnitTheorem.logSpace K)

The lattice formed by the image of the logarithmic embedding.

theorem NumberField.Units.dirichletUnitTheorem.unitLattice_inter_ball_finite E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (r : ℝ),
  (↑(NumberField.Units.unitLattice K) ∩ Metric.closedBall 0 r).Finite

theorem NumberField.Units.dirichletUnitTheorem.seq_next E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (w₁ : NumberField.InfinitePlace K) {B : β„•},
  NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B β†’
    βˆ€ {x : NumberField.RingOfIntegers K},
      x β‰  0 β†’ βˆƒ y, y β‰  0 ∧ (βˆ€ (w : NumberField.InfinitePlace K), w β‰  w₁ β†’ w ↑y < w ↑x) ∧ |(Algebra.norm β„š) ↑y| ≀ ↑B

This result shows that there always exists a next term in the sequence.

def NumberField.Units.dirichletUnitTheorem.seq E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’
      NumberField.InfinitePlace K β†’
        {B : β„•} β†’
          NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B β†’
            β„• β†’ { x // x β‰  0 }

An infinite sequence of nonzero algebraic integers of K satisfying the following properties: β€’ seq n is nonzero; β€’ for w : InfinitePlace K, w β‰  w₁ β†’ w (seq n + 1) < w (seq n); β€’ ∣norm (seq n)∣ ≀ B.

theorem NumberField.Units.dirichletUnitTheorem.seq_ne_zero E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (w₁ : NumberField.InfinitePlace K) {B : β„•}
  (hB : NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B)
  (n : β„•), (algebraMap (NumberField.RingOfIntegers K) K) ↑(NumberField.Units.dirichletUnitTheorem.seq K w₁ hB n) β‰  0

The terms of the sequence are nonzero.

theorem NumberField.Units.dirichletUnitTheorem.seq_decreasing E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (w₁ : NumberField.InfinitePlace K) {B : β„•}
  (hB : NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B)
  {n m : β„•},
  n < m β†’
    βˆ€ (w : NumberField.InfinitePlace K),
      w β‰  w₁ β†’
        w ((algebraMap (NumberField.RingOfIntegers K) K) ↑(NumberField.Units.dirichletUnitTheorem.seq K w₁ hB m)) <
          w ((algebraMap (NumberField.RingOfIntegers K) K) ↑(NumberField.Units.dirichletUnitTheorem.seq K w₁ hB n))

The sequence is strictly decreasing at infinite places distinct from w₁.

theorem NumberField.Units.dirichletUnitTheorem.seq_norm_le E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (w₁ : NumberField.InfinitePlace K) {B : β„•}
  (hB : NumberField.mixedEmbedding.minkowskiBound K 1 < ↑(NumberField.mixedEmbedding.convexBodyLTFactor K) * ↑B)
  (n : β„•), ((Algebra.norm β„€) ↑(NumberField.Units.dirichletUnitTheorem.seq K w₁ hB n)).natAbs ≀ B

The terms of the sequence have norm bounded by B.

theorem NumberField.Units.dirichletUnitTheorem.exists_unit E1 #

βˆ€ (K : Type u_1) [inst : Field K] [NumberField K] (w₁ : NumberField.InfinitePlace K),
  βˆƒ u, βˆ€ (w : NumberField.InfinitePlace K), w β‰  w₁ β†’ Real.log (w ((algebraMap (NumberField.RingOfIntegers K) K) ↑u)) < 0

Construct a unit associated to the place w₁. The family, for w₁ β‰  wβ‚€, formed by the image by the logEmbedding of these units is ℝ-linearly independent, see unitLattice_span_eq_top.

theorem NumberField.Units.dirichletUnitTheorem.unitLattice_span_eq_top E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], Submodule.span ℝ ↑(NumberField.Units.unitLattice K) = ⊀

def NumberField.Units.rank E3 #

(K : Type u_1) β†’ [inst : Field K] β†’ [NumberField K] β†’ β„•

The unit rank of the number field K, it is equal to card (InfinitePlace K) - 1.

instance NumberField.Units.instDiscrete_unitLattice E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], DiscreteTopology β†₯(NumberField.Units.unitLattice K)

instance NumberField.Units.instZLattice_unitLattice E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], IsZLattice ℝ (NumberField.Units.unitLattice K)

theorem NumberField.Units.finrank_eq_rank E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Module.finrank ℝ (NumberField.Units.dirichletUnitTheorem.logSpace K) = NumberField.Units.rank K

theorem NumberField.Units.unitLattice_rank E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Module.finrank β„€ β†₯(NumberField.Units.unitLattice K) = NumberField.Units.rank K

def NumberField.Units.logEmbeddingQuot E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’
      Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K) β†’+
        NumberField.Units.dirichletUnitTheorem.logSpace K

The map obtained by quotienting by the kernel of logEmbedding.

theorem NumberField.Units.logEmbeddingQuot_apply E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : (NumberField.RingOfIntegers K)Λ£),
  (NumberField.Units.logEmbeddingQuot K) (Additive.ofMul ↑x) = (NumberField.Units.logEmbedding K) (Additive.ofMul x)

theorem NumberField.Units.logEmbeddingQuot_injective E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], Function.Injective ⇑(NumberField.Units.logEmbeddingQuot K)

def NumberField.Units.logEmbeddingEquiv E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’
      Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K) ≃ₗ[β„€] β†₯(NumberField.Units.unitLattice K)

The linear equivalence between (π“ž K)Λ£ β§Έ (torsion K) as an additive β„€-module and unitLattice .

theorem NumberField.Units.logEmbeddingEquiv_apply E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : (NumberField.RingOfIntegers K)Λ£),
  ↑((NumberField.Units.logEmbeddingEquiv K) (Additive.ofMul ↑x)) = (NumberField.Units.logEmbedding K) (Additive.ofMul x)

instance NumberField.Units.instFreeIntAdditiveQuotientUnitsRingOfIntegersSubgroupTorsion E0 #

βˆ€ (K : Type u_1) [inst : Field K] [NumberField K],
  Module.Free β„€ (Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K))

instance NumberField.Units.instFiniteIntAdditiveQuotientUnitsRingOfIntegersSubgroupTorsion E0 #

βˆ€ (K : Type u_1) [inst : Field K] [NumberField K],
  Module.Finite β„€ (Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K))

instance NumberField.Units.instFiniteIntAdditiveUnitsRingOfIntegers E0 #

βˆ€ (K : Type u_1) [inst : Field K] [NumberField K], Module.Finite β„€ (Additive (NumberField.RingOfIntegers K)Λ£)

instance NumberField.Units.instFGUnitsRingOfIntegers E0 #

βˆ€ (K : Type u_1) [inst : Field K] [NumberField K], Monoid.FG (NumberField.RingOfIntegers K)Λ£

theorem NumberField.Units.finrank_modTorsion E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Module.finrank β„€ (Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K)) = NumberField.Units.rank K

theorem NumberField.Units.finrank_eq E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Module.finrank β„€ (Additive (NumberField.RingOfIntegers K)Λ£) = NumberField.Units.rank K

def NumberField.Units.basisModTorsion E3 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’
      Module.Basis (Fin (NumberField.Units.rank K)) β„€
        (Additive ((NumberField.RingOfIntegers K)Λ£ β§Έ NumberField.Units.torsion K))

A basis of the quotient (π“ž K)Λ£ β§Έ (torsion K) seen as an additive β„€-module.

def NumberField.Units.basisUnitLattice E1 #

(K : Type u_1) β†’
  [inst : Field K] β†’
    [inst_1 : NumberField K] β†’ Module.Basis (Fin (NumberField.Units.rank K)) β„€ β†₯(NumberField.Units.unitLattice K)

The basis of the unitLattice obtained by mapping basisModTorsion via logEmbedding.

def NumberField.Units.fundSystem E3 #

(K : Type u_1) β†’
  [inst : Field K] β†’ [inst_1 : NumberField K] β†’ Fin (NumberField.Units.rank K) β†’ (NumberField.RingOfIntegers K)Λ£

A fundamental system of units of K. The units of fundSystem are arbitrary lifts of the units in basisModTorsion.

theorem NumberField.Units.fundSystem_mk E0 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (i : Fin (NumberField.Units.rank K)),
  Additive.ofMul ↑(NumberField.Units.fundSystem K i) = (NumberField.Units.basisModTorsion K) i

theorem NumberField.Units.logEmbedding_fundSystem E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (i : Fin (NumberField.Units.rank K)),
  (NumberField.Units.logEmbedding K) (Additive.ofMul (NumberField.Units.fundSystem K i)) =
    ↑((NumberField.Units.basisUnitLattice K) i)

theorem NumberField.Units.fun_eq_repr E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] {x ΞΆ : (NumberField.RingOfIntegers K)Λ£}
  {f : Fin (NumberField.Units.rank K) β†’ β„€},
  ΞΆ ∈ NumberField.Units.torsion K β†’
    x = ΞΆ * ∏ i, NumberField.Units.fundSystem K i ^ f i β†’
      f = ⇑((NumberField.Units.basisModTorsion K).repr (Additive.ofMul ↑x))

The exponents that appear in the unique decomposition of a unit as the product of a root of unity and powers of the units of the fundamental system fundSystem (see exist_unique_eq_mul_prod) are given by the representation of the unit on basisModTorsion.

theorem NumberField.Units.exist_unique_eq_mul_prod E3 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : (NumberField.RingOfIntegers K)Λ£),
  βˆƒ! ΞΆe, x = ↑΢e.1 * ∏ i, NumberField.Units.fundSystem K i ^ ΞΆe.2 i

Dirichlet Unit Theorem. Any unit x of π“ž K can be written uniquely as the product of a root of unity and powers of the units of the fundamental system fundSystem.

theorem NumberField.Units.closure_fundSystem_sup_torsion_eq_top E1 #

βˆ€ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Subgroup.closure (Set.range (NumberField.Units.fundSystem K)) βŠ” NumberField.Units.torsion K = ⊀

The units of the fundamental system and the torsion of K generate the full group of units of K.

Deprecated aliases

NameNew nameSince
NumberField.Units.rank_modTorsionNumberField.Units.finrank_modTorsion2026-06-05