Documentation

Mathlib.Topology.Instances.Nat

Topology on the natural numbers #

The structure of a metric space on ℕ is introduced in this file, induced from ℝ.

@[implicit_reducible]
noncomputable instance Nat.instDist :
Equations
theorem Nat.dist_eq (x y : ℕ) :
dist x y = |↑x - ↑y|
theorem Nat.dist_coe_int (x y : ℕ) :
dist ↑x ↑y = dist x y
@[simp]
theorem Nat.dist_cast_real (x y : ℕ) :
dist ↑x ↑y = dist x y
theorem Nat.pairwise_one_le_dist :
Pairwise fun (m n : ℕ) => 1 ≤ dist m n