Lean library · module TopologyByExample.Theorems.NaturalsPowerMetacompact
Countable metacompactness of uncountable discrete powers
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 X
TopologyByExample.NaturalsPowerMetacompact.X
The omega-one power of the discrete naturals.
abbrev X
:= OmegaOne → ℕ
definition Partial
TopologyByExample.NaturalsPowerMetacompact.Partial
A finite set of coordinate-value requirements.
abbrev Partial
:= Finset (OmegaOne × ℕ)
definition cylinder
TopologyByExample.NaturalsPowerMetacompact.cylinder
The functions satisfying a finite set of requirements.
def cylinder (p : Partial) : Set X
:= {x | ∀ a ∈ p, x a.1 = a.2}
definition dom
TopologyByExample.NaturalsPowerMetacompact.dom
The coordinates mentioned by a finite set of requirements.
def dom (p : Partial) : Finset OmegaOne
:= p.image Prod.fst
definition good
TopologyByExample.NaturalsPowerMetacompact.good
A realizable finite requirement with no repeated values at distinct coordinates.
def good (p : Partial) : Prop
:=
(cylinder p).Nonempty ∧ ∀ a ∈ p, ∀ b ∈ p, a.2 = b.2 → a.1 = b.1
definition smallFibres
TopologyByExample.NaturalsPowerMetacompact.smallFibres
Functions whose values at most n occur at most once.
def smallFibres (n : ℕ) : Set X
:=
{f | ∀ a b, f a ≤ n → f a = f b → a = b}
lemma cylinder_antitone
TopologyByExample.NaturalsPowerMetacompact.cylinder_antitone
Adding requirements shrinks a cylinder.
lemma cylinder_antitone {p q : Partial} (hpq : p ⊆ q) : cylinder q ⊆ cylinder p
Proof
:=
fun _ hx a ha ↦ hx a (hpq ha)
lemma graph_mem_dom
TopologyByExample.NaturalsPowerMetacompact.graph_mem_dom
A coordinate in the domain has a prescribed value.
lemma graph_mem_dom {p : Partial} {a : OmegaOne} (ha : a ∈ dom p) :
∃ n, (a, n) ∈ p
Proof
:= by
obtain ⟨⟨b, n⟩, hp, he⟩ := Finset.mem_image.mp ha
exact ⟨n, he ▸ hp⟩
lemma extend_good
TopologyByExample.NaturalsPowerMetacompact.extend_good
Injective finite requirements extend injectively over a prescribed countable segment.
lemma extend_good (p : Partial) (hp : good p) (α : OmegaOne) (n : ℕ) :
∃ f ∈ cylinder p, f ∈ smallFibres n ∧ Set.InjOn f (Iic α)
Proof
:= by
classical
obtain ⟨x, hx⟩ := hp.1
let : Countable (Iic α) := (OmegaOne.countable_Iic α).to_subtype
obtain ⟨e, he⟩ := exists_injective_nat (Iic α)
let K := n + (dom p).sup x + 1
let f : X := fun a ↦ if a ∈ dom p then x a else
if h : a ≤ α then K + e ⟨a, h⟩ else K
have hK : n < K := by dsimp [K]; omega
have hxK : ∀ a ∈ dom p, x a < K := by
intro a ha
have hh := Finset.le_sup ha (f := x)
dsimp [K]
omega
have hfix : ∀ a ∈ dom p, f a = x a := fun a ha ↦ by simp [f, ha]
have hlarge : ∀ a ∉ dom p, K ≤ f a := by
intro a ha
simp only [f, ite_eq_right ha]
split_ifs <;> omega
have hinj : Set.InjOn x (dom p) := by
intro a ha b hb hab
obtain ⟨i, hi⟩ := graph_mem_dom ha
obtain ⟨j, hj⟩ := graph_mem_dom hb
exact hp.2 (a, i) hi (b, j) hj ((hx _ hi).symm.trans (hab.trans (hx _ hj)))
refine ⟨f, ?_, ?_, ?_⟩
· intro a ha
rw [hfix a.1 (Finset.mem_image_of_mem Prod.fst ha)]
exact hx a ha
· intro a b hsmall hab
have ha : a ∈ dom p := by
by_contra h
have := hlarge a h
omega
have hb : b ∈ dom p := by
by_contra h
have := hlarge b h
omega
exact hinj ha hb (by simpa only [hfix a ha, hfix b hb] using hab)
· intro a ha b hb hab
by_cases hap : a ∈ dom p
· by_cases hbp : b ∈ dom p
· exact hinj hap hbp (by simpa only [hfix a hap, hfix b hbp] using hab)
· have h1 := hxK a hap
have h2 := hlarge b hbp
rw [hfix a hap] at hab
omega
· by_cases hbp : b ∈ dom p
· have h1 := hxK b hbp
have h2 := hlarge a hap
rw [hfix b hbp] at hab
omega
· have heq : e ⟨a, ha⟩ = e ⟨b, hb⟩ := by
simpa [f, hap, hbp, show a ≤ α from ha, show b ≤ α from hb] using hab
exact congrArg Subtype.val (he heq)
lemma choose_cylinder
TopologyByExample.NaturalsPowerMetacompact.choose_cylinder
An open neighbourhood contains a cylinder extending prescribed finite requirements.
lemma choose_cylinder {U : Set X} (hU : IsOpen U) {x : X} (hx : x ∈ U)
(p : Partial) (hxp : x ∈ cylinder p) :
∃ q : Partial, p ⊆ q ∧ x ∈ cylinder q ∧ cylinder q ⊆ U
Proof
:= by
classical
obtain ⟨F, A, hA, hsub⟩ := isOpen_pi_iff.mp hU x hx
refine ⟨p ∪ F.image (fun a ↦ (a, x a)), Finset.subset_union_left, ?_, ?_⟩
· intro a ha
rcases Finset.mem_union.mp ha with ha | ha
· exact hxp a ha
· obtain ⟨b, _, rfl⟩ := Finset.mem_image.mp ha
rfl
· intro y hy
apply hsub
intro a ha
have he := hy (a, x a) (Finset.mem_union_right _ (Finset.mem_image_of_mem _ ha))
rw [he]
exact (hA a ha).2
lemma kernel_step
TopologyByExample.NaturalsPowerMetacompact.kernel_step
Open supersets of small-fibre sets have injective kernels with countably avoidable petals.
lemma kernel_step (p : Partial) (hp : good p) (n : ℕ) (U : Set X)
(hU : IsOpen U) (hnU : smallFibres n ⊆ U) :
∃ r : Partial, good r ∧ p ⊆ r ∧ ∀ C : Set OmegaOne, C.Countable →
∃ q : Partial, r ⊆ q ∧ cylinder q ⊆ U ∧ (cylinder q).Nonempty ∧
∀ a ∈ q, a.1 ∈ C → a ∈ r
Proof
:= by
classical
choose f hfp hfn hfi using fun α ↦ extend_good p hp α n
choose q hpq hfq hqU using fun α ↦ choose_cylinder hU (hnU (hfn α)) p (hfp α)
obtain ⟨r, hr⟩ := finiteSupportKernel Set.univ (not_countable_univ) q
have hpR : p ⊆ r := by
obtain ⟨α, _, _, hRq, havoid⟩ := hr ∅ countable_empty p p.countable_toSet
exact fun a ha ↦ havoid a (hpq α ha) ha
have hgood : good r := by
obtain ⟨β, hβ⟩ := (dom r).finite_toSet.bddAbove
obtain ⟨α, _, hα, hRq, _⟩ := hr (Iic β) (OmegaOne.countable_Iic β)
∅ countable_empty
refine ⟨⟨f α, cylinder_antitone hRq (hfq α)⟩, ?_⟩
intro a ha b hb hab
have haa : a.1 ≤ α := (hβ (Finset.mem_image_of_mem Prod.fst ha)).trans
(lt_of_not_ge hα).le
have hba : b.1 ≤ α := (hβ (Finset.mem_image_of_mem Prod.fst hb)).trans
(lt_of_not_ge hα).le
exact hfi α haa hba ((hfq α a (hRq ha)).trans (hab.trans (hfq α b (hRq hb)).symm))
refine ⟨r, hgood, hpR, fun C hC ↦ ?_⟩
obtain ⟨α, _, _, hRq, havoid⟩ := hr ∅ countable_empty (C ×ˢ (Set.univ : Set ℕ))
(hC.prod (countable_univ))
exact ⟨q α, hRq, hqU α, ⟨f α, hfq α⟩, fun a ha hC ↦ havoid a ha ⟨hC, mem_univ _⟩⟩
definition consistent
TopologyByExample.NaturalsPowerMetacompact.consistent
Requirements are consistent when equal coordinates have equal values.
def consistent (s : Set (OmegaOne × ℕ)) : Prop
:=
∀ a ∈ s, ∀ b ∈ s, a.1 = b.1 → a.2 = b.2
lemma exists_extension
TopologyByExample.NaturalsPowerMetacompact.exists_extension
Consistent requirements admit a total extension.
lemma exists_extension {s : Set (OmegaOne × ℕ)} (hs : consistent s) :
∃ f : X, ∀ a ∈ s, f a.1 = a.2
Proof
:= by
classical
let f : X := fun i ↦ if h : ∃ n, (i, n) ∈ s then h.choose else 0
refine ⟨f, fun a ha ↦ ?_⟩
have hex : ∃ n, (a.1, n) ∈ s := ⟨a.2, ha⟩
simp only [f, dite_eq_left hex]
exact hs (a.1, hex.choose) hex.choose_spec a ha rfl
lemma consistent_of_nonempty
TopologyByExample.NaturalsPowerMetacompact.consistent_of_nonempty
A realizable finite requirement is consistent.
lemma consistent_of_nonempty {p : Partial} (hp : (cylinder p).Nonempty) :
consistent p
Proof
:= by
obtain ⟨x, hx⟩ := hp
intro a ha b hb he
exact (hx a ha).symm.trans ((congrArg x he).trans (hx b hb))
lemma open_supersets_inter_nonempty
TopologyByExample.NaturalsPowerMetacompact.open_supersets_inter_nonempty
Countable open supersets of the small-fibre sets have nonempty intersection.
lemma open_supersets_inter_nonempty (U : ℕ → Set X) (hU : ∀ n, IsOpen (U n))
(hF : ∀ n, smallFibres n ⊆ U n) : (⋂ n, U n).Nonempty
Proof
:= by
classical
let P := {p : Partial // good p}
have hstep (n : ℕ) (p : P) : ∃ r : P, p.val ⊆ r.val ∧
∀ C : Set OmegaOne, C.Countable → ∃ q : Partial,
r.val ⊆ q ∧ cylinder q ⊆ U n ∧ (cylinder q).Nonempty ∧
∀ a ∈ q, a.1 ∈ C → a ∈ r.val := by
obtain ⟨r, hr, hpr, hrest⟩ := kernel_step p.val p.property n (U n) (hU n) (hF n)
exact ⟨⟨r, hr⟩, hpr, hrest⟩
choose next hnext using hstep
have hempty : good ∅ := ⟨⟨fun _ ↦ 0, by simp [cylinder]⟩, by simp⟩
let R : ℕ → P := Nat.rec ⟨∅, hempty⟩ (fun n p ↦ next n p)
have hRstep (n : ℕ) : (R n).val ⊆ (R (n + 1)).val := (hnext n (R n)).1
have hRmono : Monotone (fun n ↦ (R n).val) := monotone_nat_of_le_succ hRstep
let H : Set (OmegaOne × ℕ) := ⋃ n, ((R n).val : Set (OmegaOne × ℕ))
have hHcount : H.Countable := countable_iUnion fun n ↦ (R n).val.countable_toSet
have hH : consistent H := by
intro a ha b hb hab
obtain ⟨m, hm⟩ := mem_iUnion.mp ha
obtain ⟨n, hn⟩ := mem_iUnion.mp hb
exact consistent_of_nonempty (R (max m n)).property.1 a
(hRmono (le_max_left _ _) hm) b (hRmono (le_max_right _ _) hn) hab
let compatible (p : Partial) : Prop :=
∀ a ∈ p, ∀ b ∈ H, a.1 = b.1 → a.2 = b.2
let S := {p : Partial // consistent p ∧ compatible p}
have hemptyS : consistent (∅ : Partial) ∧ compatible ∅ := by
constructor <;> intro a ha <;> simp at ha
have step (n : ℕ) (s : S) : ∃ t : S,
s.val ⊆ t.val ∧ cylinder t.val ⊆ U n := by
let C : Set OmegaOne := Prod.fst '' H ∪ dom s.val
have hC : C.Countable := (hHcount.image Prod.fst).union (dom s.val).countable_toSet
obtain ⟨q, hrq, hqU, hqne, havoid⟩ := (hnext n (R n)).2 C hC
have hqH : compatible q := by
intro a ha b hb hab
have har : a ∈ (R (n + 1)).val := havoid a ha (Or.inl ⟨b, hb, hab.symm⟩)
exact hH a (mem_iUnion.mpr ⟨n + 1, har⟩) b hb hab
have hcross : ∀ a ∈ s.val, ∀ b ∈ q, a.1 = b.1 → a.2 = b.2 := by
intro a ha b hb hab
have hbr : b ∈ (R (n + 1)).val := havoid b hb
(Or.inr (hab ▸ Finset.mem_image_of_mem Prod.fst ha))
exact s.property.2 a ha b (mem_iUnion.mpr ⟨n + 1, hbr⟩) hab
have ht : consistent (s.val ∪ q : Partial) ∧ compatible (s.val ∪ q) := by
constructor
· intro a ha b hb hab
rcases Finset.mem_union.mp ha with ha | ha <;>
rcases Finset.mem_union.mp hb with hb | hb
· exact s.property.1 a ha b hb hab
· exact hcross a ha b hb hab
· exact (hcross b hb a ha hab.symm).symm
· exact consistent_of_nonempty hqne a ha b hb hab
· intro a ha b hb hab
rcases Finset.mem_union.mp ha with ha | ha
· exact s.property.2 a ha b hb hab
· exact hqH a ha b hb hab
exact ⟨⟨s.val ∪ q, ht⟩, Finset.subset_union_left,
(cylinder_antitone Finset.subset_union_right).trans hqU⟩
choose nextS hnextS using step
let T : ℕ → S := Nat.rec ⟨∅, hemptyS⟩ (fun n s ↦ nextS n s)
have hTmono : Monotone (fun n ↦ (T n).val) :=
monotone_nat_of_le_succ fun n ↦ (hnextS n (T n)).1
have hTall : consistent (⋃ n, ((T n).val : Set (OmegaOne × ℕ))) := by
intro a ha b hb hab
obtain ⟨m, hm⟩ := mem_iUnion.mp ha
obtain ⟨n, hn⟩ := mem_iUnion.mp hb
exact (T (max m n)).property.1 a (hTmono (le_max_left _ _) hm)
b (hTmono (le_max_right _ _) hn) hab
obtain ⟨f, hf⟩ := exists_extension hTall
refine ⟨f, mem_iInter.mpr fun n ↦ (hnextS n (T n)).2 ?_⟩
exact fun a ha ↦ hf a (mem_iUnion.mpr ⟨n + 1, ha⟩)
lemma isClosed_smallFibres
TopologyByExample.NaturalsPowerMetacompact.isClosed_smallFibres
The small-fibre condition is closed.
lemma isClosed_smallFibres (n : ℕ) : IsClosed (smallFibres n)
Proof
:= by
have hc (a b : OmegaOne) : Continuous (fun f : X ↦ (f a, f b)) :=
(continuous_apply a).prodMk (continuous_apply b)
have hh (a b : OmegaOne) : IsClosed {f : X | f a ≤ n → f a = f b → a = b} :=
(isClosed_discrete {v : ℕ × ℕ | v.1 ≤ n → v.1 = v.2 → a = b}).preimage (hc a b)
simpa only [smallFibres, ofPred_forall] using isClosed_iInter fun a ↦ isClosed_iInter (hh a)
theorem not_countablyMetacompactSpace
TopologyByExample.NaturalsPowerMetacompact.not_countablyMetacompactSpace
An uncountable power of the discrete naturals is not countably metacompact.
theorem not_countablyMetacompactSpace : ¬CountablyMetacompactSpace X
Proof
:= by
intro h
have hanti : Antitone smallFibres := fun n m hnm f hf a b hfa hab ↦
hf a b (hfa.trans hnm) hab
have hempty : ⋂ n, smallFibres n = ∅ := by
apply eq_empty_iff_forall_notMem.mpr
intro f hf
have hinj : Function.Injective f := fun a b hab ↦ mem_iInter.mp hf (f a) a b le_rfl hab
exact not_countable (α := OmegaOne) hinj.countable
obtain ⟨U, hU, hF, hbad⟩ := exists_open_supersets_of_countablyMetacompactSpace
smallFibres isClosed_smallFibres hanti hempty
exact (open_supersets_inter_nonempty U hU hF).ne_empty hbad
theorem not_countablyMetacompactSpace_of_embedding
TopologyByExample.NaturalsPowerMetacompact.not_countablyMetacompactSpace_of_embedding
A discrete power indexed by a set containing omega one cannot be countably metacompact.
theorem not_countablyMetacompactSpace_of_embedding {ι : Type*} (e : OmegaOne ↪ ι) :
¬CountablyMetacompactSpace (ι → ℕ)
Proof
:= by
classical
intro h
let r : (ι → ℕ) → X := fun f a ↦ f (e a)
let s : X → (ι → ℕ) := fun f i ↦ if h : ∃ a, e a = i then f h.choose else 0
have hs : Continuous s := by
apply continuous_pi
intro i
dsimp [s]
split_ifs
· exact continuous_apply _
· exact continuous_const
have hr : Continuous r := continuous_pi fun a ↦ continuous_apply (e a)
have hrs : Function.LeftInverse r s := by
intro f
funext a
have he : ∃ b, e b = e a := ⟨a, rfl⟩
simp only [r, s, dite_eq_left he]
exact congrArg f (e.injective he.choose_spec)
exact not_countablyMetacompactSpace (countablyMetacompactSpace_of_retract hs hr hrs)
On this site: Theorem: Uncountable powers of the discrete naturals are not countably metacompact
theorem not_countablyMetacompactContinuum
TopologyByExample.NaturalsPowerMetacompact.not_countablyMetacompactContinuum
The continuum power of the naturals is not countably metacompact.
theorem not_countablyMetacompactContinuum :
¬CountablyMetacompactSpace NaturalsContinuumPower
Proof
:= by
have hΩ : Cardinal.mk OmegaOne = Cardinal.aleph 1 := by
change Cardinal.mk ((Ordinal.omega 1 : Ordinal.{0}).ToType) = _
rw [Cardinal.mk_toType, Ordinal.card_omega]
have hle : Cardinal.mk OmegaOne ≤ Cardinal.mk unitInterval := by
rw [hΩ, Cardinal.mk_unitInterval]
exact Cardinal.aleph_one_le_continuum
obtain ⟨e⟩ := (Cardinal.le_def _ _).mp hle
exact not_countablyMetacompactSpace_of_embedding e
On this site: The continuum power of the discrete naturals is not countably metacompact