mathlib3 documentation


Cardinality of localizations #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

In this file, we establish the cardinality of localizations. In most cases, a localization has cardinality equal to the base ring. If there are zero-divisors, however, this is no longer true - for example, zmod 6 localized at {2, 4} is equal to zmod 3, and if you have zero in your submonoid, then your localization is trivial (see is_localization.unique_of_zero_mem).

Main statements #

theorem is_localization.card_le {R : Type u} [comm_ring R] (S : submonoid R) {L : Type u} [comm_ring L] [algebra R L] [is_localization S L] :

A localization always has cardinality less than or equal to the base ring.

theorem is_localization.card {R : Type u} [comm_ring R] (S : submonoid R) (L : Type u) [comm_ring L] [algebra R L] [is_localization S L] (hS : S non_zero_divisors R) :

If you do not localize at any zero-divisors, localization preserves cardinality.