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 / V11. Fields and Galois theory

Mathlib.RingTheory.Algebraic.Denominator

10 declarations. Mathlib docs · Source

Denominators of elements of an algebra

For an element x of an R-algebra S, with R a principal ideal ring, the denominator Algebra.denominator R x is a generator of the colon ideal (integralClosure R S).colon {x}, that is, of the ideal of scalars r : R clearing the denominators of x, in the sense that r • x is integral over R. When R = ℤ, its absolute value is the natural-number denominator Algebra.natDenominator x.

The definition needs no hypothesis on x, but it is only meaningful for x algebraic over R: IsAlgebraic.denominator_ne_zero shows the denominator is then nonzero, whereas no nonzero multiple of a transcendental element is integral, so that the colon ideal is trivial and the denominator is 0. See the example below, taking x to be the variable in ℤ[X].

Main definitions

  • Algebra.denominator: the denominator of an element, over a principal ideal ring
  • Algebra.natDenominator: the natural-number denominator of an element, over ℤ

Main results

  • Algebra.denominator_dvd_iff: denominator R x divides exactly the r : R with r • x integral over R
  • IsAlgebraic.denominator_ne_zero: the denominator of an algebraic element is nonzero

def Algebra.denominator E3 #

(R : Type u_1) →
  {S : Type u_2} → [inst : CommRing R] → [IsPrincipalIdealRing R] → [inst_2 : CommRing S] → [Algebra R S] → S → R

The denominator of an element x of an R-algebra: a generator of the ideal of scalars r : R such that r • x is integral over R. It is nonzero as soon as x is algebraic over R; see IsAlgebraic.denominator_ne_zero.

theorem Algebra.denominator_def E0 #

∀ (R : Type u_1) {S : Type u_2} [inst : CommRing R] [inst_1 : IsPrincipalIdealRing R] [inst_2 : CommRing S]
  [inst_3 : Algebra R S] (x : S),
  Algebra.denominator R x = Submodule.IsPrincipal.generator ((Subalgebra.toSubmodule (integralClosure R S)).colon {x})

theorem Algebra.denominator_dvd_iff E3 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : IsPrincipalIdealRing R] [inst_2 : CommRing S]
  [inst_3 : Algebra R S] {r : R} {x : S}, Algebra.denominator R x ∣ r ↔ IsIntegral R (r • x)

theorem Algebra.isIntegral_denominator_smul E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : IsPrincipalIdealRing R] [inst_2 : CommRing S]
  [inst_3 : Algebra R S] (x : S), IsIntegral R (Algebra.denominator R x • x)

def Algebra.natDenominator E3 #

{S : Type u_2} → [CommRing S] → S → ℕ

The natural-number denominator of an element x of a ring: it is the absolute value of the denominator of x over ℤ.

theorem Algebra.natDenominator_def E0 #

∀ {S : Type u_2} [inst : CommRing S] (x : S), Algebra.natDenominator x = (Algebra.denominator ℤ x).natAbs

theorem Algebra.natDenominator_dvd_iff E0 #

∀ {S : Type u_2} [inst : CommRing S] {n : ℕ} {x : S}, Algebra.natDenominator x ∣ n ↔ IsIntegral ℤ (n • x)

theorem Algebra.isIntegral_natDenominator_smul E1 #

∀ {S : Type u_2} [inst : CommRing S] (x : S), IsIntegral ℤ (Algebra.natDenominator x • x)

theorem IsAlgebraic.denominator_ne_zero E3 #

∀ (R : Type u_1) {S : Type u_2} [inst : CommRing R] [inst_1 : IsPrincipalIdealRing R] [inst_2 : CommRing S]
  [inst_3 : Algebra R S] {x : S}, IsAlgebraic R x → Algebra.denominator R x ≠ 0

theorem IsAlgebraic.natDenominator_ne_zero E1 #

∀ {S : Type u_2} [inst : CommRing S] {x : S}, IsAlgebraic ℤ x → Algebra.natDenominator x ≠ 0