Lean library · module TopologyByExample.Spaces.ClosedHalfPlane

The closed upper half-plane

Source file

The product ℝ × [0, 1) of the real line and the half-open interval. Every value of its properties follows from those of its factors through the product theorems, so this file holds only its own theory: the product is homeomorphic to the closed upper half-plane {(x, y) ∈ ℝ² : y ≥ 0}, a closed subset of the plane.

Main statements

Tags

half-plane, product, homeomorphism

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

Imports

theorem isClosed_upper

TopologyByExample.ClosedHalfPlane.isClosed_upper

The closed upper half-plane {(x, y) : y ≥ 0} is closed in the plane.

theorem isClosed_upper : IsClosed {p : ℝ × ℝ | 0 ≤ p.2}
Proof
:=
  isClosed_le continuous_const continuous_snd

definition homeomorphUpper

TopologyByExample.ClosedHalfPlane.homeomorphUpper

The homeomorphism of ℝ × [0, 1) onto the closed upper half-plane, (x, t) ↦ (x, t / (1 - t)): the identity on the first factor and HalfOpenInterval.homeomorphIci on the second.

noncomputable def homeomorphUpper : ℝ × Ico (0 : ℝ) 1 ≃ₜ {p : ℝ × ℝ | 0 ≤ p.2}
Definition
:=
  ((Homeomorph.refl ℝ).prodCongr HalfOpenInterval.homeomorphIci).trans <|
    ((Homeomorph.Set.univ ℝ).symm.prodCongr (Homeomorph.refl _)).trans <|
      (Homeomorph.Set.prod univ (Ici (0 : ℝ))).symm.trans <|
        Homeomorph.setCongr (by ext p; simp)

theorem isClosed_and_nonempty_homeomorph

TopologyByExample.ClosedHalfPlane.isClosed_and_nonempty_homeomorph

The space ℝ × [0, 1) is homeomorphic to the closed upper half-plane {(x, y) ∈ ℝ² : y ≥ 0}, which is closed in the plane.

theorem isClosed_and_nonempty_homeomorph :
    IsClosed {p : ℝ × ℝ | 0 ≤ p.2} ∧ Nonempty (ℝ × Ico (0 : ℝ) 1 ≃ₜ {p : ℝ × ℝ | 0 ≤ p.2})
Proof
:=
  ⟨isClosed_upper, ⟨homeomorphUpper⟩⟩

On this site: Closed upper half-plane: Homeomorphic to a closed half-plane

On this site: Space: Closed upper half-plane