Documentation

Mathlib.Topology.Instances.Int

Topology on the integers #

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

@[instance_reducible]
Equations
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
theorem Int.pairwise_one_le_dist :
Pairwise fun (m n : ℤ) => 1 ≤ dist m n
theorem Int.ball_eq_Ioo (x : ℤ) (r : ℝ) :
Metric.ball x r = Set.Ioo ⌊↑x - r⌋ ⌈↑x + r⌉
@[deprecated IsOrderBornology.cobounded_eq (since := "2026-04-07")]

Alias of IsOrderBornology.cobounded_eq.