The localization of a domain away from a nonzero element, inside a fraction field #
Let R be a domain with fraction field K (any commutative ring with IsFractionRing R K, as in
Mathlib's IsFractionRing API) and let f be a nonzero element of R. The localization
Localization.Away f embeds in K, and K is again its fraction field. This is the
analogue for Localization.Away of TauCeti/RingTheory/Localization/AtPrime.lean, built the same
way from IsLocalization.localizationAlgebraOfSubmonoidLe, here for the inequality
powers_le_nonZeroDivisors_of_noZeroDivisors.
Unlike the prime case, the construction needs the hypothesis f ≠ 0 (for f = 0 the
localization is the zero ring, which has no map to the nonzero ring K), so the declarations
below are a def and theorems about it rather than global instances. A consumer installs them
locally.
Main declarations #
Localization.Away.algebraOfIsFractionRing : Algebra (Localization.Away f) K, the lift ofalgebraMap R Kalong the localization;Localization.Away.isScalarTower_of_isFractionRing : IsScalarTower R (Localization.Away f) K, saying that lift extendsalgebraMap R K;Localization.Away.isFractionRing : IsFractionRing (Localization.Away f) K.
For a nonzero f in a domain R, the localization R_f maps to any fraction field K of
R: the Algebra structure lifting algebraMap R K, which inverts the powers of f because they
are nonzero.
Instances For
The map algebraOfIsFractionRing from R_f to a fraction field K of R extends
algebraMap R K.
Along algebraOfIsFractionRing, a fraction field K of a domain R is a fraction field of
the localization R_f away from a nonzero f.