Documentation

Mathlib.Topology.Instances.Int

Topology on the integers #

The structure of a metric space on โ„ค is introduced in this file, induced from โ„.

@[implicit_reducible]
instance Int.instDist :
Dist โ„ค
theorem Int.dist_eq (x y : โ„ค) :
dist x y = |โ†‘x - โ†‘y|
theorem Int.dist_eq' (m n : โ„ค) :
dist m n = โ†‘|m - n|
@[simp]
theorem Int.dist_cast_real (x y : โ„ค) :
dist โ†‘x โ†‘y = dist x y
@[implicit_reducible]
instance Int.instMetricSpace :
MetricSpace โ„ค
theorem Int.preimage_ball (x : โ„ค) (r : โ„) :
Int.cast โปยน' Metric.ball (โ†‘x) r = Metric.ball x r
theorem Int.ball_eq_Ioo (x : โ„ค) (r : โ„) :
Metric.ball x r = Set.Ioo โŒŠโ†‘x - rโŒ‹ โŒˆโ†‘x + rโŒ‰