/-
Copyright (c) 2022 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
module
public import Mathlib.Algebra.Group.Subgroup.ZPowers.Basic
public import Mathlib.GroupTheory.Archimedean
public import Mathlib.Topology.Algebra.Order.Group
/-!
# Topology on archimedean groups and fields
In this file we prove the following theorems:
- `Rat.denseRange_cast`: the coercion from `ℚ` to a linear ordered archimedean field has dense
range;
- `AddSubgroup.dense_of_not_isolated_zero`, `AddSubgroup.dense_of_no_min`: two sufficient conditions
for a subgroup of an archimedean linear ordered additive commutative group to be dense;
- `AddSubgroup.dense_or_cyclic`: 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.
-/
public section
open Set
/-- Rational numbers are dense in a linear ordered archimedean field. -/
theorem Rat.denseRange_cast {} [Field ] [LinearOrder ] [IsStrictOrderedRing ]
[TopologicalSpace ] [OrderTopology ]
[Archimedean ] : DenseRange ((↑) : ℚ → ) :=
dense_of_exists_between fun _ _ h => Set.exists_range_iff.2 <| exists_rat_btwn h
namespace Subgroup
variable {G : Type*} [CommGroup G] [LinearOrder G] [IsOrderedMonoid G]
[TopologicalSpace G] [OrderTopology G]
[MulArchimedean G]
/-- A subgroup of an archimedean linear ordered multiplicative commutative group with order
topology is dense provided that for all `ε > 1` there exists an element of the subgroup
that belongs to `(1, ε)`. -/
@[to_additive /-- An additive subgroup of an archimedean linear ordered additive commutative group
with order topology is dense provided that for all positive `ε` there exists a positive element of
the subgroup that is less than `ε`. -/]
theorem dense_of_not_isolated_one (S : Subgroup G) (hS : ∀ ε > 1, ∃ g ∈ S, g ∈ Ioo 1 ε) :
Dense (S : Set G) := by
cases subsingleton_or_nontrivial G
· refine fun x => _root_.subset_closure ?_
rw [Subsingleton.elim x 1]
exact one_mem S
refine dense_of_exists_between fun a b hlt => ?_
rcases hS (b / a) (one_lt_div'.2 hlt) with ⟨g, hgS, hg0, hg⟩
rcases (existsUnique_add_zpow_mem_Ioc hg0 1 a).exists with ⟨m, hm⟩
rw [one_mul] at hm
refine ⟨g ^ m, zpow_mem hgS _, hm.1, hm.2.trans_lt ?_⟩
rwa [lt_div_iff_mul_lt'] at hg
/-- Let `S` be a nontrivial subgroup in an archimedean linear ordered multiplicative commutative
group `G` with order topology. If the set of elements of `S` that are greater than one
does not have a minimal element, then `S` is dense `G`. -/
@[to_additive /-- Let `S` be a nontrivial additive subgroup in an archimedean linear ordered
additive commutative group `G` with order topology. If the set of positive elements of `S` does not
have a minimal element, then `S` is dense `G`. -/]
theorem dense_of_no_min (S : Subgroup G) (hbot : S ≠ ⊥)
(H : ¬∃ a : G, IsLeast { g : G | g ∈ S ∧ 1 < g } a) : Dense (S : Set G) := by
refine S.dense_of_not_isolated_one fun ε ε1 => ?_
contrapose! H
exact exists_isLeast_one_lt hbot ε1 (disjoint_left.2 H)
end Subgroup
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland