Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: port Topology.Algebra.Localization (#2802)
Co-authored-by: Parcly Taxel <reddeloostw@gmail.com>
- Loading branch information
1 parent
955518b
commit 0b81a49
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/- | ||
Copyright (c) 2021 María Inés de Frutos-Fernández. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: María Inés de Frutos-Fernández | ||
! This file was ported from Lean 3 source module topology.algebra.localization | ||
! leanprover-community/mathlib commit 9a59dcb7a2d06bf55da57b9030169219980660cd | ||
! Please do not edit these lines, except to modify the commit id | ||
! if you have ported upstream changes. | ||
-/ | ||
import Mathlib.RingTheory.Localization.Basic | ||
import Mathlib.Topology.Algebra.Ring.Basic | ||
|
||
/-! | ||
# Localization of topological rings | ||
The topological localization of a topological commutative ring `R` at a submonoid `M` is the ring | ||
`Localization M` endowed with the final ring topology of the natural homomorphism sending `x : R` | ||
to the equivalence class of `(x, 1)` in the localization of `R` at a `M`. | ||
## Main Results | ||
- `Localization.ringTopology`: The localization of a topological commutative ring at a submonoid | ||
is a topological ring. | ||
-/ | ||
|
||
|
||
variable {R : Type _} [CommRing R] [TopologicalSpace R] {M : Submonoid R} | ||
|
||
/-- The ring topology on `Localization M` coinduced from the natural homomorphism sending `x : R` | ||
to the equivalence class of `(x, 1)`. -/ | ||
def Localization.ringTopology : RingTopology (Localization M) := | ||
RingTopology.coinduced (Localization.monoidOf M).toFun | ||
#align localization.ring_topology Localization.ringTopology | ||
|
||
instance : TopologicalSpace (Localization M) := | ||
Localization.ringTopology.toTopologicalSpace | ||
|
||
instance : TopologicalRing (Localization M) := | ||
Localization.ringTopology.toTopologicalRing |