uniformity_dist_of_mem_uniformity

Characterizing uniformities associated to a (generalized) distance function D in terms of the elements of the uniformity.

uniform_space_of_edist

Creating a uniform space from an extended distance.

emetric_space

Extended metric spaces, with an extended distance edist possibly taking the value ∞

Each emetric space induces a canonical uniform_space and hence a canonical topological_space. This is enforced in the type class definition, by extending the uniform_space structure. When instantiating an emetric_space structure, the uniformity fields are not necessary, they will be filled in by default. There is a default value for the uniformity, that can be substituted in cases of interest, for instance when instantiating an emetric_space structure on a product.

Continuity of edist is finally proving in topology.instances.ennreal

edist_eq_zero

Characterize the equality of points by the vanishing of their extended distance

edist_triangle_left

Triangle inequality for the extended distance

eq_of_forall_edist_le

Two points coincide if their distance is < ε for all positive ε

uniformity_edist'

Reformulation of the uniform structure in terms of the extended distance

uniformity_edist''

Reformulation of the uniform structure in terms of the extended distance on a subtype

mem_uniformity_edist

Characterization of the elements of the uniformity in terms of the extended distance

edist_mem_uniformity

Fixed size neighborhoods of the diagonal belong to the uniform structure

emetric.uniform_continuous_iff

ε-δ characterization of uniform continuity on emetric spaces

emetric.uniform_embedding_iff

ε-δ characterization of uniform embeddings on emetric spaces

emetric.cauchy_iff

ε-δ characterization of Cauchy sequences on emetric spaces

to_separated

An emetric space is separated

emetric_space.replace_uniformity

Auxiliary function to replace the uniformity on an emetric space with a uniformity which is equal to the original one, but maybe not defeq. This is useful if one wants to construct an emetric space with a specified uniformity.

emetric_space.induced

The extended metric induced by an injective function taking values in an emetric space.

subtype.emetric_space

Emetric space instance on subsets of emetric spaces

subtype.edist_eq

The extended distance on a subset of an emetric space is the restriction of the original distance, by definition

prod.emetric_space_max

The product of two emetric spaces, with the max distance, is an extended metric spaces. We make sure that the uniform structure thus constructed is the one corresponding to the product of uniform spaces, to avoid diamond problems.

emetric_space_pi

The product of a finite number of emetric spaces, with the max distance, is still an emetric space. This construction would also work for infinite products, but it would not give rise to the product topology. Hence, we only formalize it in the good situation of finitely many spaces.

emetric.ball

emetric.ball x ε is the set of all points y with edist y x < ε

emetric.closed_ball

emetric.closed_ball x ε is the set of all points y with edist y x ε

emetric.mem_closure_iff'

ε-characterization of the closure in emetric spaces

emetric.cauchy_seq_iff

In an emetric space, Cauchy sequences are characterized by the fact that, eventually, the edistance between its elements is arbitrarily small

emetric.cauchy_seq_iff'

A variation around the emetric characterization of Cauchy sequences

emetric.countable_closure_of_compact

A compact set in an emetric space is separable, i.e., it is the closure of a countable set

emetric.second_countable_of_separable

A separable emetric space is second countable: one obtains a countable basis by taking the balls centered at points in a dense subset, and with rational radii. We do not register this as an instance, as there is already an instance going in the other direction from second countable spaces to separable spaces, and we want to avoid loops.

emetric.diam

The diameter of a set in an emetric space, named emetric.diam

emetric.edist_le_diam_of_mem

If two points belong to some set, their edistance is bounded by the diameter of the set

emetric.diam_le_of_forall_edist_le

If the distance between any two points in a set is bounded by some constant, this constant bounds the diameter.

emetric.diam_empty

The diameter of the empty set vanishes

emetric.diam_singleton

The diameter of a singleton vanishes

emetric.diam_mono

The diameter is monotonous with respect to inclusion

emetric.diam_union

The diameter of a union is controlled by the diameter of the sets, and the edistance between two points in the sets.