Documentation

TauCeti.RingTheory.Flat.FractionRing

Flatness of localizations at nonzerodivisors #

An IsFractionRing R K algebra is a localization of the commutative semiring R at its nonzerodivisors. Mathlib's IsLocalization.flat proves that every localization is flat over its base, but its submonoid parameter prevents using it as a general instance. For IsFractionRing R K, the inverted submonoid is determined by R, so this specialization makes the flatness of K over R available to instance search.

This applies to ℚ≥0 over ℕ, fraction fields, and total quotient rings of rings with zero divisors. In particular, ℚ_p is flat over ℤ_p, which makes base change to ℚ_p preserve injectivity.

Main results #

instance IsFractionRing.flat (R : Type u_1) (K : Type u_2) [CommSemiring R] [CommSemiring K] [Algebra R K] [IsFractionRing R K] :

A localization at the nonzerodivisors of a commutative semiring is flat over that semiring.