The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Instances.Nat

14 declarations. Mathlib docs · Source

instance Nat.instDist E0 #

Dist ℕ

theorem Nat.dist_eq E0 #

∀ (x y : ℕ), dist x y = |↑x - ↑y|

theorem Nat.dist_coe_int E1 #

∀ (x y : ℕ), dist ↑x ↑y = dist x y

theorem Nat.dist_cast_real E0 #

∀ (x y : ℕ), dist ↑x ↑y = dist x y

theorem Nat.pairwise_one_le_dist E1 #

Pairwise fun m n ↦ 1 ≤ dist m n

theorem Nat.isUniformEmbedding_coe_real E1 #

IsUniformEmbedding Nat.cast

theorem Nat.isClosedEmbedding_coe_real E1 #

Topology.IsClosedEmbedding Nat.cast

instance Nat.instMetricSpace E0 #

MetricSpace ℕ

theorem Nat.preimage_ball E1 #

∀ (x : ℕ) (r : ℝ), Nat.cast ⁻¹' Metric.ball (↑x) r = Metric.ball x r

theorem Nat.preimage_closedBall E1 #

∀ (x : ℕ) (r : ℝ), Nat.cast ⁻¹' Metric.closedBall (↑x) r = Metric.closedBall x r

theorem Nat.closedBall_eq_Icc E1 #

∀ (x : ℕ) (r : ℝ), Metric.closedBall x r = Set.Icc ⌈↑x - r⌉₊ ⌊↑x + r⌋₊

instance Nat.instProperSpace E0 #

ProperSpace ℕ

instance Nat.instIsOrderBornology E0 #

IsOrderBornology ℕ

instance Nat.instNoncompactSpace E0 #

NoncompactSpace ℕ