Lean library · module TopologyByExample.Spaces.LambdaPseudocompact

Pseudocompactness of Λ

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

theorem exists_closed_unbounded_sequence

TopologyByExample.exists_closed_unbounded_sequence

An unbounded continuous real function grows on a closed sequence avoiding a countable set.

theorem exists_closed_unbounded_sequence {f : ℝ → ℝ} (hf : Continuous f)
    (hu : ¬BddAbove (range f)) {D : Set ℝ} (hD : D.Countable) :
    ∃ x : ℕ → ℝ, IsClosed (range x) ∧ Disjoint (range x) D ∧ ∀ n : ℕ, (n : ℝ) < f (x n)
Proof
:= by
  have hdense : Dense Dᶜ := hD.dense_compl ℝ
  have hex (n : ℕ) : ∃ x, x ∉ D ∧ (n : ℝ) < f x := by
    obtain ⟨_, ⟨a, rfl⟩, ha⟩ := not_bddAbove_iff.1 hu (n : ℝ)
    obtain ⟨x, hx, hxn⟩ := hdense.inter_open_nonempty {x | (n : ℝ) < f x}
      (isOpen_lt continuous_const hf) ⟨a, ha⟩
    exact ⟨x, hxn, hx⟩
  choose x hx hxn using hex
  refine ⟨x, ?_, ?_, hxn⟩
  · apply isClosed_range_of_not_tendsto
    intro l φ hφ hc
    have hn : Tendsto (fun n ↦ (φ n : ℝ)) atTop atTop :=
      tendsto_natCast_atTop_atTop.comp hφ.tendsto_atTop
    have hlarge : Tendsto (fun n ↦ f (x (φ n))) atTop atTop :=
      tendsto_atTop_mono (fun n ↦ (hxn (φ n)).le) hn
    exact not_tendsto_atTop_of_tendsto_nhds (hf.continuousAt.tendsto.comp hc) hlarge
  · apply disjoint_left.2
    rintro _ ⟨n, rfl⟩ hn
    exact hx n hn

theorem not_bddAbove_real_restriction

TopologyByExample.GillmanJerisonLambda.not_bddAbove_real_restriction

A continuous function unbounded above on Λ is already unbounded on its real subspace.

theorem not_bddAbove_real_restriction {f : GillmanJerisonLambda → ℝ} (hf : Continuous f)
    (hu : ¬BddAbove (range f)) : ¬BddAbove (range (f ∘ real))
Proof
:= by
  rintro ⟨M, hM⟩
  apply hu
  refine ⟨M, ?_⟩
  rintro _ ⟨x, rfl⟩
  exact denseRange_real.induction_on x (isClosed_le hf continuous_const)
    (fun y ↦ hM ⟨y, rfl⟩)

theorem bddAbove_range

TopologyByExample.GillmanJerisonLambda.bddAbove_range

Every continuous real function on Λ is bounded above.

theorem bddAbove_range {f : GillmanJerisonLambda → ℝ} (hf : Continuous f) :
    BddAbove (range f)
Proof
:= by
  by_contra hu
  obtain ⟨x, hxclosed, hxdis, hxlarge⟩ := exists_closed_unbounded_sequence
    (hf.comp continuous_real) (not_bddAbove_real_restriction hf hu)
    (countable_range (Nat.cast : ℕ → ℝ))
  obtain ⟨M, hM⟩ := (isCompact_lifted_hull hxclosed hxdis).bddAbove_image hf.continuousOn
  obtain ⟨n, hn⟩ := exists_nat_gt M
  have hle : f (real (x n)) ≤ M :=
    hM ⟨real (x n), real_mem_lifted_hull (mem_range_self n), rfl⟩
  have hgt : (n : ℝ) < f (real (x n)) := hxlarge n
  exact (hn.trans hgt).not_ge hle

theorem bddBelow_range

TopologyByExample.GillmanJerisonLambda.bddBelow_range

Every continuous real function on Λ is bounded below.

theorem bddBelow_range {f : GillmanJerisonLambda → ℝ} (hf : Continuous f) :
    BddBelow (range f)
Proof
:= by
  obtain ⟨M, hM⟩ := bddAbove_range hf.neg
  refine ⟨-M, ?_⟩
  rintro _ ⟨x, rfl⟩
  have h : -f x ≤ M := hM ⟨x, rfl⟩
  linarith

instance

instance : PseudocompactSpace GillmanJerisonLambda
Proof
where
  bddAbove_and_bddBelow_range f := ⟨bddAbove_range f.continuous, bddBelow_range f.continuous⟩

theorem not_normalSpace

TopologyByExample.GillmanJerisonLambda.not_normalSpace

Λ is not normal.

theorem not_normalSpace : ¬NormalSpace GillmanJerisonLambda
Proof
:= by
  intro h
  let := h
  exact not_countablyCompactSpace (countablyCompactSpace_of_limitPointCompact
    limitPointCompact_of_normalSpace_of_pseudocompactSpace)

theorem not_realcompactSpace

TopologyByExample.GillmanJerisonLambda.not_realcompactSpace

Λ is not realcompact.

theorem not_realcompactSpace : ¬RealcompactSpace GillmanJerisonLambda
Proof
:= by
  intro h
  let := h
  let : CompactSpace GillmanJerisonLambda := RealcompactSpace.compactSpace
  exact not_countablyCompactSpace inferInstance

theorem not_exists_natural_unbounded_extension

TopologyByExample.GillmanJerisonLambda.not_exists_natural_unbounded_extension

The function n ↦ n on the closed natural-number subspace has no continuous extension.

theorem not_exists_natural_unbounded_extension :
    ¬∃ g : GillmanJerisonLambda → ℝ, Continuous g ∧ ∀ n : ℕ, g (natural n) = n
Proof
:= by
  rintro ⟨g, hg, he⟩
  obtain ⟨M, hM⟩ := bddAbove_range hg
  obtain ⟨n, hn⟩ := exists_nat_gt M
  have hle := hM (mem_range_self (natural n))
  rw [he n] at hle
  exact hn.not_ge hle

On this site: Gillman–Jerison’s Λ: An unextendible natural-number function