Topology on the natural numbers #
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
- nat.has_dist = {dist := λ (x y : ℕ), has_dist.dist ↑x ↑y}
@[simp, norm_cast]
@[protected, instance]
theorem
nat.preimage_closed_ball
(x : ℕ)
(r : ℝ) :
coe ⁻¹' metric.closed_ball ↑x r = metric.closed_ball x r