Basic properties of metric spaces, and instances. #
Equations
- ⋯ = ⋯
A map between metric spaces is a uniform embedding if and only if the distance between f x
and f y
is controlled in terms of the distance between x
and y
and conversely.
Alias of Metric.isUniformEmbedding_iff'
.
A map between metric spaces is a uniform embedding if and only if the distance between f x
and f y
is controlled in terms of the distance between x
and y
and conversely.
If a PseudoMetricSpace
is a T₀ space, then it is a MetricSpace
.
Equations
Instances For
A metric space induces an emetric space
Equations
- MetricSpace.toEMetricSpace = EMetricSpace.ofT0PseudoEMetricSpace γ
If f : β → α
sends any two distinct points to points at distance at least ε > 0
, then
f
is a uniform embedding with respect to the discrete uniformity on β
.
Alias of Metric.isUniformEmbedding_bot_of_pairwise_le_dist
.
If f : β → α
sends any two distinct points to points at distance at least ε > 0
, then
f
is a uniform embedding with respect to the discrete uniformity on β
.
One gets a metric space from an emetric space if the edistance is everywhere finite, by pushing the edistance to reals. We set it up so that the edist and the uniformity are defeq in the metric space and the emetric space. In this definition, the distance is given separately, to be able to prescribe some expression which is not defeq to the push-forward of the edistance to reals.
Equations
- EMetricSpace.toMetricSpaceOfDist dist edist_ne_top h = MetricSpace.ofT0PseudoMetricSpace α
Instances For
One gets a metric space from an emetric space if the edistance is everywhere finite, by pushing the edistance to reals. We set it up so that the edist and the uniformity are defeq in the metric space and the emetric space.
Equations
- EMetricSpace.toMetricSpace h = EMetricSpace.toMetricSpaceOfDist (fun (x y : α) => (edist x y).toReal) h ⋯
Instances For
Metric space structure pulled back by an injective function. Injectivity is necessary to
ensure that dist x y = 0
only if x = y
.
Equations
- MetricSpace.induced f hf m = MetricSpace.mk ⋯
Instances For
Pull back a metric space structure by a uniform embedding. This is a version of
MetricSpace.induced
useful in case if the domain already has a UniformSpace
structure.
Equations
- IsUniformEmbedding.comapMetricSpace f h = (MetricSpace.induced f ⋯ m).replaceUniformity ⋯
Instances For
Alias of IsUniformEmbedding.comapMetricSpace
.
Pull back a metric space structure by a uniform embedding. This is a version of
MetricSpace.induced
useful in case if the domain already has a UniformSpace
structure.
Instances For
Pull back a metric space structure by an embedding. This is a version of
MetricSpace.induced
useful in case if the domain already has a TopologicalSpace
structure.
Equations
- Embedding.comapMetricSpace f h = (MetricSpace.induced f ⋯ m).replaceTopology ⋯
Instances For
Equations
- Subtype.metricSpace = MetricSpace.induced Subtype.val ⋯ inst
Equations
- instMetricSpaceAddOpposite = MetricSpace.induced AddOpposite.unop ⋯ inst
Equations
- instMetricSpaceMulOpposite = MetricSpace.induced MulOpposite.unop ⋯ inst
Instantiate the reals as a metric space.
Equations
- instMetricSpaceNNReal = Subtype.metricSpace
Equations
- instMetricSpaceULift = MetricSpace.induced ULift.down ⋯ inst
Equations
- Prod.metricSpaceMax = MetricSpace.ofT0PseudoMetricSpace (γ × β)
A finite product of metric spaces is a metric space, with the sup distance.
Equations
- metricSpacePi = MetricSpace.ofT0PseudoMetricSpace ((b : β) → π b)
A metric space is second countable if one can reconstruct up to any ε>0
any element of the
space from countably many data.
Equations
- SeparationQuotient.instDist = { dist := SeparationQuotient.lift₂ dist ⋯ }
Equations
- SeparationQuotient.instMetricSpace = EMetricSpace.toMetricSpaceOfDist dist ⋯ ⋯
Additive
, Multiplicative
#
The distance on those type synonyms is inherited without change.
Equations
- instMetricSpaceAdditive_1 = inst
Equations
- instMetricSpaceMultiplicative_1 = inst
Equations
- MulOpposite.instMetricSpace = MetricSpace.induced MulOpposite.unop ⋯ inst
Order dual #
The distance on this type synonym is inherited without change.
Equations
- instMetricSpaceOrderDual_1 = inst