mathlib3 documentation

topology.algebra.ring.basic

Topological (semi)rings #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

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 #

@[class]

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 topological_semiring class should only be instantiated in the presence of a non_unital_non_assoc_semiring instance; if there is an instance of non_unital_non_assoc_ring, then topological_ring should be used. Note: in the presence of non_assoc_ring, these classes are mathematically equivalent (see topological_semiring.has_continuous_neg_of_mul or topological_semiring.to_topological_ring).

Instances of this typeclass

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
@[protected, instance]

The product topology on the cartesian product of two topological semirings makes the product into a topological semiring.

@[protected, instance]

The product topology on the cartesian product of two topological rings makes the product into a topological ring.

@[protected, instance]
def pi.topological_semiring {β : Type u_1} {C : β Type u_2} [Π (b : β), topological_space (C b)] [Π (b : β), non_unital_non_assoc_semiring (C b)] [ (b : β), topological_semiring (C b)] :
topological_semiring (Π (b : β), C b)
@[protected, instance]
def pi.topological_ring {β : Type u_1} {C : β Type u_2} [Π (b : β), topological_space (C b)] [Π (b : β), non_unital_non_assoc_ring (C b)] [ (b : β), topological_ring (C b)] :
topological_ring (Π (b : β), C b)
theorem topological_ring.of_add_group_of_nhds_zero {R : Type u_2} [non_unital_non_assoc_ring R] [topological_space R] [topological_add_group R] (hmul : filter.tendsto (function.uncurry has_mul.mul) ((nhds 0).prod (nhds 0)) (nhds 0)) (hmul_left : (x₀ : R), filter.tendsto (λ (x : R), x₀ * x) (nhds 0) (nhds 0)) (hmul_right : (x₀ : R), filter.tendsto (λ (x : R), x * x₀) (nhds 0) (nhds 0)) :
theorem topological_ring.of_nhds_zero {R : Type u_2} [non_unital_non_assoc_ring R] [topological_space R] (hadd : filter.tendsto (function.uncurry has_add.add) ((nhds 0).prod (nhds 0)) (nhds 0)) (hneg : filter.tendsto (λ (x : R), -x) (nhds 0) (nhds 0)) (hmul : filter.tendsto (function.uncurry has_mul.mul) ((nhds 0).prod (nhds 0)) (nhds 0)) (hmul_left : (x₀ : R), filter.tendsto (λ (x : R), x₀ * x) (nhds 0) (nhds 0)) (hmul_right : (x₀ : R), filter.tendsto (λ (x : R), x * x₀) (nhds 0) (nhds 0)) (hleft : (x₀ : R), nhds x₀ = filter.map (λ (x : R), x₀ + x) (nhds 0)) :

In a topological semiring, the left-multiplication add_monoid_hom is continuous.

In a topological semiring, the right-multiplication add_monoid_hom is continuous.

@[protected, instance]

The (topological-space) closure of a subring of a topological ring is itself a subring.

Equations
theorem subring.topological_closure_minimal {α : Type u_1} [topological_space α] [ring α] [topological_ring α] (s : subring α) {t : subring α} (h : s t) (ht : is_closed t) :

Lattice of ring topologies #

We define a type class ring_topology α 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 : topological_space α → ring_topology β.

theorem ring_topology.ext_iff {α : Type u} {_inst_1 : ring α} (x y : ring_topology α) :
@[ext]
structure ring_topology (α : Type u) [ring α] :

A ring topology on a ring α is a topology for which addition, negation and multiplication are continuous.

Instances for ring_topology
theorem ring_topology.ext {α : Type u} {_inst_1 : ring α} (x y : ring_topology α) (h : x.to_topological_space = y.to_topological_space) :
x = y
@[ext]
@[protected, instance]

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
@[protected, instance]

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
def ring_topology.coinduced {α : Type u_1} {β : Type u_2} [t : topological_space α] [ring β] (f : α β) :

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
theorem ring_topology.coinduced_continuous {α : Type u_1} {β : Type u_2} [t : topological_space α] [ring β] (f : α β) :

The forgetful functor from ring topologies on a to additive group topologies on a.

Equations

The order embedding from ring topologies on a to additive group topologies on a.

Equations
def absolute_value.comp {R : Type u_1} {S : Type u_2} {T : Type u_3} [semiring T] [semiring R] [ordered_semiring S] (v : absolute_value R S) {f : T →+* R} (hf : function.injective f) :

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