Denominators of integral elements #
The denominator Algebra.natDenominator x of an element x of a commutative ring is the
absolute value of a generator of the ideal of integers n with n • x integral over ℤ
(Algebra.natDenominator_dvd_iff); it is 0 when x is transcendental over ℤ. The denominator
of x is 1 exactly when x is itself integral over ℤ
(Algebra.natDenominator_eq_one_iff), that is, when every integer multiple of x is integral over
ℤ. In a ℚ-algebra, an element algebraic over ℚ is algebraic over ℤ, so it has a nonzero
denominator (Algebra.natDenominator_ne_zero_of_isAlgebraic_rat), and the denominator of a
transcendental element is 0: over any commutative ring the denominator is nonzero exactly for
elements algebraic over ℤ (Algebra.natDenominator_ne_zero_iff_isAlgebraic), and in a
ℚ-algebra exactly for elements algebraic over ℚ
(Algebra.natDenominator_ne_zero_iff_isAlgebraic_rat).
Main results #
Algebra.natDenominator_eq_one_iff:natDenominator x = 1iffxis integral overℤ.Algebra.natDenominator_ne_zero_of_isAlgebraic_rat: the denominator of an element of aℚ-algebra that is algebraic overℚis nonzero.Algebra.natDenominator_ne_zero_iff_isAlgebraic: the denominator ofxis nonzero exactly whenxis algebraic overℤ.Algebra.natDenominator_ne_zero_iff_isAlgebraic_rat: in aℚ-algebra, the denominator ofxis nonzero exactly whenxis algebraic overℚ.
The denominator of x is one exactly when x is integral over ℤ: then every integer
multiple of x is integral over ℤ.
The denominator of x is nonzero when x is algebraic over ℚ: in a ℚ-algebra, being
algebraic over ℚ and being algebraic over ℤ are equivalent.
The denominator of x is nonzero exactly when x is algebraic over ℤ; a transcendental
element has denominator 0.
In a ℚ-algebra, the denominator of x is nonzero exactly when x is algebraic over ℚ.