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.Algebra.Order.ArchimedeanDiscrete

12 declarations and 8 deprecated aliases. Mathlib docs · Source

instance Subgroup.instDiscreteTopologyZMultiples E0 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] (g : G), DiscreteTopology ↥(Subgroup.zpowers g)

In a linearly ordered group with the order topology, the powers of a single element form a discrete subgroup.

instance AddSubgroup.instDiscreteTopologyZMultiples E0 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] (g : G), DiscreteTopology ↥(AddSubgroup.zmultiples g)

In a linearly ordered additive group with the order topology, the multiples of a single element form a discrete subgroup.

instance Subgroup.instIsCyclicOfDiscreteTopology E0 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [MulArchimedean G] [DiscreteTopology G], IsCyclic G

instance AddSubgroup.instIsAddCyclicOfDiscreteTopology E0 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [Archimedean G] [DiscreteTopology G], IsAddCyclic G

theorem Subgroup.dense_or_isCyclic E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [MulArchimedean G] (H : Subgroup G), Dense ↑H ∨ IsCyclic ↥H

A subgroup of an archimedean linear ordered multiplicative commutative group G with order topology either is dense in G or is a cyclic subgroup.

theorem AddSubgroup.dense_or_isCyclic E3 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [Archimedean G] (H : AddSubgroup G), Dense ↑H ∨ IsAddCyclic ↥H

An additive subgroup of an archimedean linear ordered additive commutative group G with order topology either is dense in G or is a cyclic subgroup.

theorem Subgroup.dense_xor_isCyclic E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [MulArchimedean G] [Nontrivial G] [DenselyOrdered G] (H : Subgroup G), Xor (Dense ↑H) (IsCyclic ↥H)

In a nontrivial densely linear ordered archimedean topological multiplicative group, a subgroup is either dense or is cyclic, but not both.

For a non-exclusive Or version with weaker assumptions, see Subgroup.dense_or_cyclic above.

theorem AddSubgroup.dense_xor_isAddCyclic E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [Archimedean G] [Nontrivial G] [DenselyOrdered G] (H : AddSubgroup G),
  Xor (Dense ↑H) (IsAddCyclic ↥H)

In a nontrivial densely linear ordered archimedean topological additive group, a subgroup is either dense or is cyclic, but not both.

For a non-exclusive Or version with weaker assumptions, see AddSubgroup.dense_or_cyclic above.

theorem AddSubgroup.dense_iff_not_isAddCyclic E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [Archimedean G] [Nontrivial G] [DenselyOrdered G] {H : AddSubgroup G}, Dense ↑H ↔ ¬IsAddCyclic ↥H

theorem Subgroup.dense_iff_not_isCyclic E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [MulArchimedean G] [Nontrivial G] [DenselyOrdered G] {H : Subgroup G}, Dense ↑H ↔ ¬IsCyclic ↥H

theorem Subgroup.isCyclic_iff_discreteTopology E1 #

∀ {G : Type u_1} [inst : CommGroup G] [inst_1 : LinearOrder G] [IsOrderedMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [MulArchimedean G] {H : Subgroup G}, IsCyclic ↥H ↔ DiscreteTopology ↥H

In an Archimedean linearly ordered group (with the order topology), a subgroup is discrete iff it is cyclic.

theorem AddSubgroup.isAddCyclic_iff_discreteTopology E1 #

∀ {G : Type u_1} [inst : AddCommGroup G] [inst_1 : LinearOrder G] [IsOrderedAddMonoid G] [inst_3 : TopologicalSpace G]
  [OrderTopology G] [Archimedean G] {H : AddSubgroup G}, IsAddCyclic ↥H ↔ DiscreteTopology ↥H

In an Archimedean linearly ordered additive group (with the order topology), a subgroup is discrete iff it is cyclic.

Deprecated aliases

NameNew nameSince
AddSubgroup.dense_iff_ne_zmultiplesAddSubgroup.dense_iff_not_isAddCyclic2026-08-30
AddSubgroup.dense_or_cyclicAddSubgroup.dense_or_isCyclic2026-08-30
AddSubgroup.dense_xor_cyclicAddSubgroup.dense_xor_isAddCyclic2026-08-30
AddSubgroup.discrete_iff_addCyclicAddSubgroup.isAddCyclic_iff_discreteTopology2026-08-30
Subgroup.dense_iff_ne_zpowersSubgroup.dense_iff_not_isCyclic2026-08-30
Subgroup.dense_or_cyclicSubgroup.dense_or_isCyclic2026-08-30
Subgroup.dense_xor_cyclicSubgroup.dense_xor_isCyclic2026-08-30
Subgroup.discrete_iff_cyclicSubgroup.isCyclic_iff_discreteTopology2026-08-30