Integer elements of a localization #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Main definitions #
is_localization.is_integer
is a predicate stating thatx : S
is in the image ofR
Implementation notes #
See src/ring_theory/localization/basic.lean
for a design overview.
Tags #
localization, ring localization, commutative ring localization, characteristic predicate, commutative ring, field of fractions
Given a : S
, S
a localization of R
, is_integer R a
iff a
is in the image of
the localization map from R
to S
.
Equations
- is_localization.is_integer R a = (a ∈ (algebra_map R S).range)
Each element a : S
has an M
-multiple which is an integer.
This version multiplies a
on the right, matching the argument order in localization_map.surj
.
Each element a : S
has an M
-multiple which is an integer.
This version multiplies a
on the left, matching the argument order in the has_smul
instance.
We can clear the denominators of a finite set of fractions.
A choice of a common multiple of the denominators of a finset
-indexed family of fractions.
Equations
- is_localization.common_denom M s f = _.some
The numerator of a fraction after clearing the denominators
of a finset
-indexed family of fractions.
Equations
- is_localization.integer_multiple M s f i = Exists.some _
A choice of a common multiple of the denominators of a finite set of fractions.
Equations
The finset of numerators after clearing the denominators of a finite set of fractions.
Equations
- is_localization.finset_integer_multiple M s = finset.image (λ (t : {x // x ∈ s}), is_localization.integer_multiple M s id t) s.attach