Lean library · module TopologyByExample.Spaces.NovakProducts

The non-pseudocompact square of Novák's space

Source file

The restricted involution graph is an infinite closed set of isolated points. Thus the square admits an unbounded continuous real-valued function.

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 infinite_graph

TopologyByExample.NovakSpace.infinite_graph

The restricted involution graph is infinite.

theorem infinite_graph : graph.Infinite
Proof
:= by
  intro h
  exact principals_infinite (image_graph ▸ h.image (fun z ↦ z.1.val))

theorem isOpen_singleton_of_mem_graph

TopologyByExample.NovakSpace.isOpen_singleton_of_mem_graph

Every point of the restricted involution graph is isolated in the square.

theorem isOpen_singleton_of_mem_graph {z : Carrier × Carrier} (hz : z ∈ graph) :
    IsOpen ({z} : Set (Carrier × Carrier))
Proof
:= by
  have hx : z.1.val ∈ principals := image_graph ▸ mem_image_of_mem _ hz
  obtain ⟨n, hn⟩ := hx
  have hfst : z.1 = nat n := Subtype.ext hn.symm
  have hsnd : z.2 = nat (swap n) := by
    apply Subtype.ext
    change z.2.val = pure (swap n)
    change extension z.1.val = z.2.val at hz
    rw [← hn, extension_pure] at hz
    exact hz.symm
  have hz' : z = (nat n, nat (swap n)) := Prod.ext hfst hsnd
  rw [hz', ← singleton_prod_singleton]
  exact (isOpen_singleton_nat n).prod (isOpen_singleton_nat (swap n))

theorem not_pseudocompactSpace_square

TopologyByExample.NovakSpace.not_pseudocompactSpace_square

Novák's square is not pseudocompact.

theorem not_pseudocompactSpace_square : ¬PseudocompactSpace (Carrier × Carrier)
Proof
:=
  not_pseudocompactSpace_of_isClosed_of_isOpen_singleton infinite_graph isClosed_graph
    (fun _ hz ↦ isOpen_singleton_of_mem_graph hz)

On this site: Novak space: The square is not pseudocompact