Localizations away from an element #
Main definitions #
IsLocalization.Away (x : R) S
expresses thatS
is a localization away fromx
, as an abbreviation ofIsLocalization (Submonoid.powers x) S
.exists_reduced_fraction' (hb : b ≠ 0)
produces a reduced fraction of the formb = a * x^n
for somen : ℤ
and somea : R
that is not divisible byx
.
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 x : R
, the typeclass IsLocalization.Away x S
states that S
is
isomorphic to the localization of R
at the submonoid generated by x
.
Equations
- IsLocalization.Away x S = IsLocalization (Submonoid.powers x) S
Instances For
Given x : R
and a localization map F : R →+* S
away from x
, invSelf
is (F x)⁻¹
.
Equations
- IsLocalization.Away.invSelf x = IsLocalization.mk' S 1 { val := x, property := ⋯ }
Instances For
Given x : R
, a localization map F : R →+* S
away from x
, and a map of CommSemiring
s
g : R →+* P
such that g x
is invertible, the homomorphism induced from S
to P
sending
z : S
to g y * (g x)⁻ⁿ
, where y : R, n : ℕ
are such that z = F y * (F x)⁻ⁿ
.
Equations
Instances For
Given x y : R
and localizations S
, P
away from x
and x * y
respectively, the homomorphism induced from S
to P
.
Equations
Instances For
Given a map f : R →+* S
and an element r : R
, we may construct a map Rᵣ →+* Sᵣ
.
Equations
- IsLocalization.Away.map S Q f r = IsLocalization.map Q f ⋯
Instances For
The localization away from a unit is isomorphic to the ring.
Equations
- IsLocalization.atUnit R S x e = IsLocalization.atUnits R (Submonoid.powers x) ⋯
Instances For
The localization at one is isomorphic to the ring.
Equations
- IsLocalization.atOne R S = IsLocalization.atUnit R S 1 ⋯
Instances For
Given a map f : R →+* S
and an element r : R
, such that f r
is invertible,
we may construct a map Rᵣ →+* S
.
Equations
- Localization.awayLift f r hr = IsLocalization.Away.lift r hr
Instances For
Given a map f : R →+* S
and an element r : R
, we may construct a map Rᵣ →+* Sᵣ
.
Equations
- Localization.awayMap f r = IsLocalization.Away.map (Localization.Away r) (Localization.Away (f r)) f r
Instances For
selfZPow x (m : ℤ)
is x ^ m
as an element of the localization away from x
.
Equations
- selfZPow x B m = if x_1 : 0 ≤ m then (algebraMap R B) x ^ Int.natAbs m else IsLocalization.mk' B 1 (Submonoid.pow x (Int.natAbs m))
Instances For
Alias of selfZPow_natCast
.
Alias of selfZPow_neg_natCast
.
Alias of selfZPow_sub_natCast
.