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 :
Dist โ„•
theorem Nat.dist_eq (x y : โ„•) :
Dist.dist x y = |โ†‘x - โ†‘y|
theorem Nat.dist_coe_int (x y : โ„•) :
Dist.dist โ†‘x โ†‘y = Dist.dist x y
@[simp]
theorem Nat.dist_cast_real (x y : โ„•) :
Dist.dist โ†‘x โ†‘y = Dist.dist x y
@[implicit_reducible]
theorem Nat.preimage_ball (x : โ„•) (r : โ„) :
Nat.cast โปยน' Metric.ball (โ†‘x) r = Metric.ball x r