Documentation

Mathlib.Topology.Instances.Int

Topology on the integers #

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

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.preimage_ball (x : ℤ) (r : ℝ) :
Int.cast ⁻¹' Metric.ball (↑x) r = Metric.ball x r
theorem Int.ball_eq_Ioo (x : ℤ) (r : ℝ) :
Metric.ball x r = Set.Ioo ⌊↑x - r⌋ ⌈↑x + r⌉
@[simp]
theorem Int.cocompact_eq :
Filter.cocompact ℤ = Filter.atBot ⊔ Filter.atTop
@[simp]
theorem Int.cofinite_eq :
Filter.cofinite = Filter.atBot ⊔ Filter.atTop