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.FractionalIdeal

9 declarations. Mathlib docs · Source

instance NumberField.instFreeIntSubtypeMemSubmoduleRingOfIntegersCoeToSubmodule E0 #

∀ (K : Type u_1) [inst : Field K] [NumberField K]
  (I : FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K), Module.Free ℤ ↥↑I

instance NumberField.instFiniteIntSubtypeMemSubmoduleRingOfIntegersCoeToSubmodule E0 #

∀ (K : Type u_1) [inst : Field K] [NumberField K]
  (I : FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K), Module.Finite ℤ ↥↑I

instance NumberField.instIsLocalizedModuleIntSubtypeMemSubmoduleRingOfIntegersCoeToSubmoduleValFractionalIdealNonZeroDivisorsRestrictScalarsSubtype E0 #

∀ (K : Type u_1) [inst : Field K] [NumberField K]
  (I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ),
  IsLocalizedModule (nonZeroDivisors ℤ) (↑ℤ (↑↑I).subtype)

def NumberField.fractionalIdealBasis E1 #

(K : Type u_1) →
  [inst : Field K] →
    [inst_1 : NumberField K] →
      (I : FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K) →
        Module.Basis (Module.Free.ChooseBasisIndex ℤ ↥↑I) ℤ ↥↑I

A ℤ-basis of a fractional ideal.

def NumberField.basisOfFractionalIdeal E1 #

(K : Type u_1) →
  [inst : Field K] →
    [inst_1 : NumberField K] →
      (I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ) →
        Module.Basis (Module.Free.ChooseBasisIndex ℤ ↥↑↑I) ℚ K

A ℚ-basis of K that spans I over ℤ, see mem_span_basisOfFractionalIdeal below.

theorem NumberField.basisOfFractionalIdeal_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K]
  (I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ) (i : Module.Free.ChooseBasisIndex ℤ ↥↑↑I),
  (NumberField.basisOfFractionalIdeal K I) i = ↑((NumberField.fractionalIdealBasis K ↑I) i)

theorem NumberField.mem_span_basisOfFractionalIdeal E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K]
  {I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ} {x : K},
  x ∈ Submodule.span ℤ (Set.range ⇑(NumberField.basisOfFractionalIdeal K I)) ↔ x ∈ ↑↑I

theorem NumberField.fractionalIdeal_rank E1 #

∀ (K : Type u_1) [inst : Field K] [NumberField K]
  (I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ),
  Module.finrank ℤ ↥↑↑I = Module.finrank ℤ (NumberField.RingOfIntegers K)

theorem NumberField.det_basisOfFractionalIdeal_eq_absNorm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K]
  (I : (FractionalIdeal (nonZeroDivisors (NumberField.RingOfIntegers K)) K)ˣ)
  (e : Module.Free.ChooseBasisIndex ℤ (NumberField.RingOfIntegers K) ≃ Module.Free.ChooseBasisIndex ℤ ↥↑↑I),
  |(NumberField.integralBasis K).det ⇑((NumberField.basisOfFractionalIdeal K I).reindex e.symm)| =
    FractionalIdeal.absNorm ↑I

The absolute value of the determinant of the base change from integralBasis to basisOfFractionalIdeal I is equal to the norm of I.