Fraction ring / fraction field Frac(R) as localization #
Main definitions #
IsFractionRing R K
expresses thatK
is a field of fractions ofR
, as an abbreviation ofIsLocalization (NonZeroDivisors R) K
Main results #
IsFractionRing.field
: a definition (not an instance) stating the localization of an integral domainR
atR \ {0}
is a fieldRat.isFractionRing
is an instance statingℚ
is the field of fractions ofℤ
Implementation notes #
See RingTheory/Localization/Basic.lean
for a design overview.
Tags #
localization, ring localization, commutative ring localization, characteristic predicate, commutative ring, field of fractions
IsFractionRing R K
states K
is the field of fractions of an integral domain R
.
Equations
- IsFractionRing R K = IsLocalization (nonZeroDivisors R) K
Instances For
The cast from Int
to Rat
as a FractionRing
.
Equations
Equations
- ⋯ = ⋯
The inverse of an element in the field of fractions of an integral domain.
Equations
Instances For
A CommRing
K
which is the localization of an integral domain R
at R - {0}
is a field.
See note [reducible non-instances].
Equations
Instances For
Given an integral domain A
with field of fractions K
,
and an injective ring hom g : A →+* L
where L
is a field, we get a
field hom sending z : K
to g x * (g y)⁻¹
, where (x, y) : A × (NonZeroDivisors A)
are
such that z = f x * (f y)⁻¹
.
Equations
Instances For
Given an integral domain A
with field of fractions K
,
and an injective ring hom g : A →+* L
where L
is a field,
the field hom induced from K
to L
maps x
to g x
for all
x : A
.
Given an integral domain A
with field of fractions K
,
and an injective ring hom g : A →+* L
where L
is a field,
field hom induced from K
to L
maps f x / f y
to g x / g y
for all
x : A, y ∈ NonZeroDivisors A
.
Given integral domains A, B
with fields of fractions K
, L
and an injective ring hom j : A →+* B
, we get a field hom
sending z : K
to g (j x) * (g (j y))⁻¹
, where (x, y) : A × (NonZeroDivisors A)
are
such that z = f x * (f y)⁻¹
.
Equations
- IsFractionRing.map hj = IsLocalization.map L j ⋯
Instances For
Given integral domains A, B
and localization maps to their fields of fractions
f : A →+* K, g : B →+* L
, an isomorphism j : A ≃+* B
induces an isomorphism of
fields of fractions K ≃+* L
.
Equations
Instances For
The fraction ring of a commutative ring R
as a quotient type.
We instantiate this definition as generally as possible, and assume that the
commutative ring R
is an integral domain only when this is needed for proving.
In this generality, this construction is also known as the total fraction ring of R
.
Equations
Instances For
Equations
- FractionRing.unique R = Localization.instUniqueLocalization
Equations
- ⋯ = ⋯
Porting note: if the fields of this instance are explicitly defined as they were in mathlib3, the last instance in this file suffers a TC timeout
Equations
This is not an instance because it creates a diamond when K = FractionRing R
.
Should usually be introduced locally along with isScalarTower_liftAlgebra
See note [reducible non-instances].
Equations
- FractionRing.liftAlgebra R K = (IsFractionRing.lift ⋯).toAlgebra
Instances For
Equations
- ⋯ = ⋯
Given an integral domain A
and a localization map to a field of fractions
f : A →+* K
, we get an A
-isomorphism between the field of fractions of A
as a quotient
type and K
.
Equations
Instances For
Equations
- ⋯ = ⋯