Lean library · module TopologyByExample.Spaces.BingCylinders
An infinite compatible family of binary cylinders
Among infinitely many finite binary specifications with a common bound on the numbers of coordinates, infinitely many have a simultaneous solution. Consequently an uncountable family of finite-coordinate cylinders at Bing's principal points cannot be point-finite.
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.
theorem disjoint_sequence
TopologyByExample.BingExampleG.disjoint_sequence
private theorem disjoint_sequence {ι α : Type*} {s : Set ι} (hs : s.Infinite) (f : ι → Finset α)
(h : ∀ q, ({i ∈ s | q ∈ f i}).Finite) :
∃ g : ℕ → ι, (∀ n, g n ∈ s) ∧ Function.Injective g ∧
∀ m n, m ≠ n → Disjoint (f (g m)) (f (g n))
Proof
:= by
classical
let R := fun i j ↦ i ≠ j ∧ Disjoint (f i) (f j)
have hR (t : Finset ι) (_ : ∀ i ∈ t, i ∈ s) : ∃ j ∈ s, ∀ i ∈ t, R i j := by
let B := ⋃ i ∈ (t : Set ι), ⋃ q ∈ (f i : Set α), {j ∈ s | q ∈ f j}
have hB : B.Finite := t.finite_toSet.biUnion fun i _ ↦ (f i).finite_toSet.biUnion fun q _ ↦ h q
obtain ⟨j, hj, hj'⟩ := hs.exists_notMem_finite (t.finite_toSet.union hB)
refine ⟨j, hj, fun i hi ↦ ⟨fun he ↦ hj' (Or.inl (he ▸ hi)), ?_⟩⟩
exact Finset.disjoint_left.2 fun q hqi hqj ↦ hj'
(Or.inr (mem_iUnion₂.2 ⟨i, hi, mem_iUnion₂.2 ⟨q, hqi, hj, hqj⟩⟩))
obtain ⟨g, hg, hrel⟩ := exists_seq_of_forall_finset_exists (· ∈ s) R hR
have hp {m n : ℕ} (hmn : m ≠ n) : R (g m) (g n) := by
rcases hmn.lt_or_gt with hlt | hgt
· exact hrel m n hlt
· exact ⟨(hrel n m hgt).1.symm, (hrel n m hgt).2.symm⟩
exact ⟨g, hg, fun _ _ he ↦ by_contra fun hn ↦ (hp hn).1 he, fun _ _ hn ↦ (hp hn).2⟩
theorem compatible_of_bounded
TopologyByExample.BingExampleG.compatible_of_bounded
Infinitely many binary specifications of bounded finite size admit a common extension.
theorem compatible_of_bounded {ι α : Type*} (a : ι → Set α) (n : ℕ) {s : Set ι}
(hs : s.Infinite) (f : ι → Finset α) (hf : ∀ i ∈ s, (f i).card ≤ n) :
∃ x : Set α, {i ∈ s | ∀ q ∈ f i, q ∈ x ↔ q ∈ a i}.Infinite
Proof
:= by
classical
induction n generalizing s f with
| zero =>
refine ⟨∅, hs.mono fun i hi ↦ ⟨hi, ?_⟩⟩
have he := Finset.card_eq_zero.1 (Nat.le_zero.mp (hf i hi))
simp [he]
| succ n ih =>
by_cases h : ∃ q, ({i ∈ s | q ∈ f i}).Infinite
· obtain ⟨q, hq⟩ := h
let W := {i ∈ s | q ∈ f i}
let P := {i | q ∈ a i}
have H : (W ∩ P).Infinite ∨ (W \ P).Infinite := infinite_union.1
(show ((W ∩ P) ∪ (W \ P)).Infinite by simpa [inter_union_sdiff] using hq)
suffices step : ∀ T : Set ι, T.Infinite → T ⊆ W →
(∀ i ∈ T, q ∈ a i) ∨ (∀ i ∈ T, q ∉ a i) →
∃ x : Set α, {i ∈ s | ∀ p ∈ f i, p ∈ x ↔ p ∈ a i}.Infinite by
rcases H with H | H
· exact step _ H inter_subset_left (Or.inl fun _ hi ↦ hi.2)
· exact step _ H sdiff_subset (Or.inr fun _ hi ↦ hi.2)
intro T hT hTW hc
obtain ⟨y, hy⟩ := ih hT (fun i ↦ (f i).erase q) fun i hi ↦ by
have he := Finset.card_erase_add_one (hTW hi).2
have hn := hf i (hTW hi).1
omega
rcases hc with hc | hc
· refine ⟨insert q y, Set.Infinite.mono
(s := {i ∈ T | ∀ p ∈ (f i).erase q, p ∈ y ↔ p ∈ a i}) ?_ hy⟩
intro i hi
refine ⟨(hTW hi.1).1, fun p hp ↦ ?_⟩
by_cases he : p = q
· subst p
simp [hc i hi.1]
· simpa [he] using hi.2 p (Finset.mem_erase.2 ⟨he, hp⟩)
· refine ⟨y \ {q}, Set.Infinite.mono
(s := {i ∈ T | ∀ p ∈ (f i).erase q, p ∈ y ↔ p ∈ a i}) ?_ hy⟩
intro i hi
refine ⟨(hTW hi.1).1, fun p hp ↦ ?_⟩
by_cases he : p = q
· subst p
simp [hc i hi.1]
· simpa [he] using hi.2 p (Finset.mem_erase.2 ⟨he, hp⟩)
· push Not at h
obtain ⟨g, hg, hgi, hgd⟩ := disjoint_sequence hs f h
let x := {q | ∃ k : ℕ, q ∈ f (g k) ∧ q ∈ a (g k)}
refine ⟨x, (infinite_range_of_injective hgi).mono ?_⟩
rintro _ ⟨k, rfl⟩
refine ⟨hg k, fun q hq ↦ ⟨?_, fun h ↦ ⟨k, hq, h⟩⟩⟩
rintro ⟨l, hl, ha⟩
by_cases he : k = l
· exact he ▸ ha
· exact (Finset.disjoint_left.1 (hgd k l he) hq hl).elim
On this site: Theorem: Infinitely many bounded finite binary specifications have a common extension
theorem infinite_cylinders
TopologyByExample.BingExampleG.infinite_cylinders
Some vector belongs to infinitely many of the chosen cylinders at principal points.
theorem infinite_cylinders (f : ℝ → Finset Coord) :
∃ x : Space, {r | x ∈ cyl (point r) (f r)}.Infinite
Proof
:= by
classical
obtain ⟨n, hn⟩ : ∃ n : ℕ, ({r | (f r).card = n}).Infinite := by
by_contra! h
have hc := countable_iUnion fun n ↦ (h n).countable
apply not_countable_univ (α := ℝ)
exact hc.mono fun r _ ↦ mem_iUnion.2 ⟨(f r).card, rfl⟩
obtain ⟨x, hx⟩ := compatible_of_bounded (fun r ↦ (point r).support) n hn f
(fun _ h ↦ le_of_eq h)
refine ⟨⟨x⟩, Set.Infinite.mono (s := {r | (f r).card = n ∧
∀ q ∈ f r, q ∈ x ↔ q ∈ (point r).support}) ?_ hx⟩
exact fun _ h ↦ h.2
On this site: Bing's Example G: Infinitely many assigned cylinders have a common point