Lean library · module TopologyByExample.Spaces.HyperbolicRegionProperties

Separation and cardinality of the hyperbolic region

Source file

This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

definition verticalRay

TopologyByExample.HyperbolicRegion.verticalRay

The vertical ray above (1,1) lies in the region.

def verticalRay : Ici (1 : ℝ) → HyperbolicRegion
Definition
:=
  fun t ↦ ⟨(1, t.val), by
    change 1 ≤ 1 * t.val
    simpa only [one_mul, mem_Ici] using t.property⟩

theorem verticalRay_injective

TopologyByExample.HyperbolicRegion.verticalRay_injective

The vertical ray is injective.

theorem verticalRay_injective : Function.Injective verticalRay
Proof
:= by
  intro s t h
  apply Subtype.ext
  exact congrArg (fun p : HyperbolicRegion ↦ p.val.2) h

instance

The region is nonempty.

instance : Nonempty HyperbolicRegion
Proof
:= ⟨verticalRay ⟨1, le_rfl⟩⟩

instance

The region has at least two points.

instance : Nontrivial HyperbolicRegion
Proof
:= by
  let : Nontrivial (Ici (1 : ℝ)) := ⟨⟨⟨1, le_rfl⟩, ⟨2, by norm_num⟩, by
    intro h
    have := congrArg Subtype.val h
    norm_num at this⟩⟩
  exact verticalRay_injective.nontrivial

theorem not_preconnectedSpace

TopologyByExample.HyperbolicRegion.not_preconnectedSpace

The two hyperbolic branches form a disconnected space.

theorem not_preconnectedSpace : ¬ PreconnectedSpace HyperbolicRegion
Proof
:= by
  intro h
  have hp := (isPreconnected_iff_preconnectedSpace.mpr h).image Prod.fst
    continuous_fst.continuousOn
  rw [image_fst] at hp
  have hz := hp.Icc_subset (show (-1 : ℝ) ∈ ({0}ᶜ : Set ℝ) by norm_num)
    (show (1 : ℝ) ∈ ({0}ᶜ : Set ℝ) by norm_num)
    (show (0 : ℝ) ∈ Icc (-1) 1 by constructor <;> norm_num)
  exact hz rfl

On this site: The closed hyperbolic region is not connected

theorem not_hasIsolatedPoint

TopologyByExample.HyperbolicRegion.not_hasIsolatedPoint

No point of the region is isolated.

theorem not_hasIsolatedPoint : ¬ HasIsolatedPoint HyperbolicRegion
Proof
:= by
  intro h
  have ht := (Homeomorph.hasIsolatedPoint_iff productHomeomorph).mp h
  obtain ⟨p, hp⟩ := ht.exists_isOpen_singleton
  let : Nontrivial (Ici (1 : ℝ)) := ⟨⟨⟨1, le_rfl⟩, ⟨2, by norm_num⟩, by
    intro he
    have := congrArg Subtype.val he
    norm_num at this⟩⟩
  let : ConnectedSpace (Ici (1 : ℝ)) := isConnected_iff_connectedSpace.mp isConnected_Ici
  have hsing : IsOpen ({p.2} : Set (Ici (1 : ℝ))) := by
    convert hp.preimage (continuous_const.prodMk continuous_id :
      Continuous (fun t : Ici (1 : ℝ) ↦ (p.1, t))) using 1
    ext t
    change t = p.2 ↔ (p.1, t) = p
    exact ⟨fun he ↦ by rw [he], fun he ↦ congrArg Prod.snd he⟩
  exact not_isOpen_singleton p.2 hsing

On this site: The closed hyperbolic region has no isolated point

theorem cardinalityContinuum

TopologyByExample.HyperbolicRegion.cardinalityContinuum

The region has cardinality continuum.

theorem cardinalityContinuum : CardinalityContinuum HyperbolicRegion
Proof
:= by
  apply le_antisymm cardinal_mk_le_continuum_of_secondCountable_t0
  simpa only [mk_Ici_real] using mk_le_of_injective verticalRay_injective

On this site: The closed hyperbolic region has cardinality equal to \(\mathfrak{c}\)