Topology on the integers #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
The structure of a metric space on ℤ
is introduced in this file, induced from ℝ
.
@[protected, instance]
Equations
- int.has_dist = {dist := λ (x y : ℤ), has_dist.dist ↑x ↑y}
@[simp, norm_cast]
@[protected, instance]
theorem
int.preimage_closed_ball
(x : ℤ)
(r : ℝ) :
coe ⁻¹' metric.closed_ball ↑x r = metric.closed_ball x r