Integer elements of a localization #
Main definitions #
IsLocalization.IsInteger
is a predicate stating thatx : S
is in the image ofR
Implementation notes #
See Mathlib/RingTheory/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
, IsInteger R a
iff a
is in the image of
the localization map from R
to S
.
Equations
- IsLocalization.IsInteger R a = (a ∈ (algebraMap R S).rangeS)
Instances For
Each element a : S
has an M
-multiple which is an integer.
This version multiplies a
on the right, matching the argument order in LocalizationMap.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 SMul
instance.
We can clear the denominators of a Finset
-indexed family of fractions.
We can clear the denominators of a finite indexed family of fractions.
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
- IsLocalization.commonDenom M s f = ⋯.choose
Instances For
The numerator of a fraction after clearing the denominators
of a Finset
-indexed family of fractions.
Equations
- IsLocalization.integerMultiple M s f i = Exists.choose ⋯
Instances For
A choice of a common multiple of the denominators of a finite set of fractions.
Equations
Instances For
The finset of numerators after clearing the denominators of a finite set of fractions.
Equations
- IsLocalization.finsetIntegerMultiple M s = Finset.image (fun (t : { x : S // x ∈ s }) => IsLocalization.integerMultiple M s id t) s.attach