Topological (semi)rings #
A topological (semi)ring is a (semi)ring equipped with a topology such that all operations are continuous. Besides this definition, this file proves that the topological closure of a subring (resp. an ideal) is a subring (resp. an ideal) and defines products and quotients of topological (semi)rings.
Main Results #
Subring.topologicalClosure
/Subsemiring.topologicalClosure
: the topological closure of aSubring
/Subsemiring
is itself asub(semi)ring
.- The product of two topological (semi)rings is a topological (semi)ring.
- The indexed product of topological (semi)rings is a topological (semi)ring.
a topological semiring is a semiring R
where addition and multiplication are continuous.
We allow for non-unital and non-associative semirings as well.
The TopologicalSemiring
class should only be instantiated in the presence of a
NonUnitalNonAssocSemiring
instance; if there is an instance of NonUnitalNonAssocRing
,
then TopologicalRing
should be used. Note: in the presence of NonAssocRing
, these classes are
mathematically equivalent (see TopologicalSemiring.continuousNeg_of_mul
or
TopologicalSemiring.toTopologicalRing
).
Instances
A topological ring is a ring R
where addition, multiplication and negation are continuous.
If R
is a (unital) ring, then continuity of negation can be derived from continuity of
multiplication as it is multiplication with -1
. (See
TopologicalSemiring.continuousNeg_of_mul
and
topological_semiring.to_topological_add_group
)
Instances
If R
is a ring with a continuous multiplication, then negation is continuous as well since it
is just multiplication with -1
.
If R
is a ring which is a topological semiring, then it is automatically a topological
ring. This exists so that one can place a topological ring structure on R
without explicitly
proving continuous_neg
.
The (topological-space) closure of a subsemiring of a topological semiring is itself a subsemiring.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If a subsemiring of a topological semiring is commutative, then so is its topological closure.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The product topology on the cartesian product of two topological semirings makes the product into a topological semiring.
The product topology on the cartesian product of two topological rings makes the product into a topological ring.
Equations
- One or more equations did not get rendered due to their size.
In a topological semiring, the left-multiplication AddMonoidHom
is continuous.
In a topological semiring, the right-multiplication AddMonoidHom
is continuous.
The (topological-space) closure of a subring of a topological ring is itself a subring.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If a subring of a topological ring is commutative, then so is its topological closure.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lattice of ring topologies #
We define a type class RingTopology α
which endows a ring α
with a topology such that all ring
operations are continuous.
Ring topologies on a fixed ring α
are ordered, by reverse inclusion. They form a complete lattice,
with ⊥
the discrete topology and ⊤
the indiscrete topology.
Any function f : α → β
induces coinduced f : TopologicalSpace α → RingTopology β
.
A ring topology on a ring α
is a topology for which addition, negation and multiplication
are continuous.
Instances For
Equations
- RingTopology.inhabited = { default := let x := ⊤; { toTopologicalSpace := x, toTopologicalRing := (_ : TopologicalRing α) } }
The ordering on ring topologies on the ring α
.
t ≤ s
if every set open in s
is also open in t
(t
is finer than s
).
Equations
- RingTopology.instPartialOrderRingTopology = PartialOrder.lift RingTopology.toTopologicalSpace (_ : Function.Injective RingTopology.toTopologicalSpace)
Ring topologies on α
form a complete lattice, with ⊥
the discrete topology and ⊤
the
indiscrete topology.
The infimum of a collection of ring topologies is the topology generated by all their open sets (which is a ring topology).
The supremum of two ring topologies s
and t
is the infimum of the family of all ring topologies
contained in the intersection of s
and t
.
Equations
- One or more equations did not get rendered due to their size.
Equations
- RingTopology.instCompleteLatticeRingTopology = completeLatticeOfCompleteSemilatticeInf (RingTopology α)
Given f : α → β
and a topology on α
, the coinduced ring topology on β
is the finest
topology such that f
is continuous and β
is a topological ring.
Equations
- RingTopology.coinduced f = sInf {b | TopologicalSpace.coinduced f t ≤ b.toTopologicalSpace}
Instances For
The forgetful functor from ring topologies on a
to additive group topologies on a
.
Equations
- RingTopology.toAddGroupTopology t = { toTopologicalSpace := t.toTopologicalSpace, toTopologicalAddGroup := (_ : TopologicalAddGroup α) }
Instances For
The order embedding from ring topologies on a
to additive group topologies on a
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct an absolute value on a semiring T
from an absolute value on a semiring R
and an injective ring homomorphism f : T →+* R
Equations
- One or more equations did not get rendered due to their size.