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.Discrete

6 declarations. Mathlib docs · Source

Instances related to the discrete topology

We prove that the discrete topology is

  • first-countable,
  • second-countable for an encodable type,
  • equal to the order topology in linear orders which are also PredOrder and SuccOrder,
  • metrizable.

When importing this file and Order.SuccPred.Nat, the instances SecondCountableTopology ℕ and OrderTopology ℕ become available.

instance DiscreteTopology.firstCountableTopology E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [DiscreteTopology α], FirstCountableTopology α

instance DiscreteTopology.secondCountableTopology_of_countable E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [hd : DiscreteTopology α] [Countable α], SecondCountableTopology α

theorem LinearOrder.bot_topologicalSpace_eq_preorderTopology E1 #

∀ {α : Type u_2} [inst : LinearOrder α] [PredOrder α] [SuccOrder α], ⊥ = Preorder.topology α

theorem discreteTopology_iff_orderTopology_of_pred_succ E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : LinearOrder α] [PredOrder α] [SuccOrder α],
  DiscreteTopology α ↔ OrderTopology α

instance OrderTopology.of_discreteTopology E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : LinearOrder α] [PredOrder α] [SuccOrder α] [DiscreteTopology α],
  OrderTopology α

instance OrderTopology.of_linearLocallyFinite E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : LinearOrder α] [LocallyFiniteOrder α] [DiscreteTopology α],
  OrderTopology α