The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.LocallyFinite

32 declarations. Mathlib docs · Source

Locally finite families of sets

We say that a family of sets in a topological space is locally finite if at every point x : X, there is a neighborhood of x which meets only finitely many sets in the family.

In this file we give the definition and prove basic properties of locally finite families of sets.

def LocallyFinite E1 #

{ι : Type u_1} → {X : Type u_4} → [TopologicalSpace X] → (ι → Set X) → Prop

A family of sets in Set X is locally finite if at every point x : X, there is a neighborhood of x which meets only finitely many sets in the family.

theorem locallyFinite_of_finite E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] [Finite ι] (f : ι → Set X), LocallyFinite f

theorem LocallyFinite.point_finite E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → ∀ (x : X), {b | x ∈ f b}.Finite

theorem LocallyFinite.subset E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f g : ι → Set X},
  LocallyFinite f → (∀ (i : ι), g i ⊆ f i) → LocallyFinite g

theorem LocallyFinite.comp_injOn E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} {g : ι' → ι},
  LocallyFinite f → Set.InjOn g {i | (f (g i)).Nonempty} → LocallyFinite (f ∘ g)

theorem LocallyFinite.comp_injective E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} {g : ι' → ι},
  LocallyFinite f → Function.Injective g → LocallyFinite (f ∘ g)

theorem LocallyFinite.of_comp_surjective E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} {g : ι' → ι},
  Function.Surjective g → LocallyFinite (f ∘ g) → LocallyFinite f

theorem LocallyFinite.on_range E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X}, LocallyFinite f → LocallyFinite Subtype.val

theorem locallyFinite_iff_smallSets E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f ↔ ∀ (x : X), ∀ᶠ (s : Set X) in (nhds x).smallSets, {i | (f i ∩ s).Nonempty}.Finite

theorem LocallyFinite.eventually_smallSets E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → ∀ (x : X), ∀ᶠ (s : Set X) in (nhds x).smallSets, {i | (f i ∩ s).Nonempty}.Finite

theorem LocallyFinite.exists_mem_basis E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} {ι' : Sort u_6},
  LocallyFinite f →
    ∀ {p : ι' → Prop} {s : ι' → Set X} {x : X}, (nhds x).HasBasis p s → ∃ i, p i ∧ {j | (f j ∩ s i).Nonempty}.Finite

theorem LocallyFinite.nhdsWithin_iUnion E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → ∀ (a : X), nhdsWithin a (⋃ i, f i) = ⨆ i, nhdsWithin a (f i)

theorem LocallyFinite.continuousOn_iUnion' E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : ι → Set X}
  {g : X → Y},
  LocallyFinite f → (∀ (i : ι), ∀ x ∈ closure (f i), ContinuousWithinAt g (f i) x) → ContinuousOn g (⋃ i, f i)

theorem LocallyFinite.continuousOn_iUnion E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : ι → Set X}
  {g : X → Y},
  LocallyFinite f → (∀ (i : ι), IsClosed (f i)) → (∀ (i : ι), ContinuousOn g (f i)) → ContinuousOn g (⋃ i, f i)

theorem LocallyFinite.continuous' E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : ι → Set X}
  {g : X → Y},
  LocallyFinite f → ⋃ i, f i = Set.univ → (∀ (i : ι), ∀ x ∈ closure (f i), ContinuousWithinAt g (f i) x) → Continuous g

theorem LocallyFinite.continuous E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : ι → Set X}
  {g : X → Y},
  LocallyFinite f → ⋃ i, f i = Set.univ → (∀ (i : ι), IsClosed (f i)) → (∀ (i : ι), ContinuousOn g (f i)) → Continuous g

theorem LocallyFinite.closure E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → LocallyFinite fun i ↦ closure (f i)

theorem LocallyFinite.closure_iUnion E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → closure (⋃ i, f i) = ⋃ i, closure (f i)

theorem LocallyFinite.isClosed_iUnion E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → (∀ (i : ι), IsClosed (f i)) → IsClosed (⋃ i, f i)

theorem LocallyFinite.iInter_compl_mem_nhds E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → (∀ (i : ι), IsClosed (f i)) → ∀ (x : X), ⋂ i, ⋂ (_ : x ∉ f i), (f i)ᶜ ∈ nhds x

If f : β → Set α is a locally finite family of closed sets, then for any x : α, the intersection of the complements to f i, x ∉ f i, is a neighbourhood of x.

theorem LocallyFinite.exists_forall_eventually_eq_prod E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] {π : X → Sort u_6} {f : ℕ → (x : X) → π x},
  (LocallyFinite fun n ↦ {x | f (n + 1) x ≠ f n x}) →
    ∃ F, ∀ (x : X), ∀ᶠ (p : ℕ × X) in Filter.atTop ×ˢ nhds x, f p.1 p.2 = F p.2

Let f : ℕ → Π a, β a be a sequence of (dependent) functions on a topological space. Suppose that the family of sets s n = {x | f (n + 1) x ≠ f n x} is locally finite. Then there exists a function F : Π a, β a such that for any x, we have f n x = F x on the product of an infinite interval [N, +∞) and a neighbourhood of x.

We formulate the conclusion in terms of the product of filter Filter.atTop and 𝓝 x.

theorem LocallyFinite.exists_forall_eventually_atTop_eventually_eq' E1 #

∀ {X : Type u_4} [inst : TopologicalSpace X] {π : X → Sort u_6} {f : ℕ → (x : X) → π x},
  (LocallyFinite fun n ↦ {x | f (n + 1) x ≠ f n x}) →
    ∃ F, ∀ (x : X), ∀ᶠ (n : ℕ) in Filter.atTop, ∀ᶠ (y : X) in nhds x, f n y = F y

Let f : ℕ → Π a, β a be a sequence of (dependent) functions on a topological space. Suppose that the family of sets s n = {x | f (n + 1) x ≠ f n x} is locally finite. Then there exists a function F : Π a, β a such that for any x, for sufficiently large values of n, we have f n y = F y in a neighbourhood of x.

theorem LocallyFinite.exists_forall_eventually_atTop_eventuallyEq E1 #

∀ {α : Type u_3} {X : Type u_4} [inst : TopologicalSpace X] {f : ℕ → X → α},
  (LocallyFinite fun n ↦ {x | f (n + 1) x ≠ f n x}) → ∃ F, ∀ (x : X), ∀ᶠ (n : ℕ) in Filter.atTop, f n =ᶠ[nhds x] F

Let f : ℕ → α → β be a sequence of functions on a topological space. Suppose that the family of sets s n = {x | f (n + 1) x ≠ f n x} is locally finite. Then there exists a function F : α → β such that for any x, for sufficiently large values of n, we have f n =ᶠ[𝓝 x] F.

theorem LocallyFinite.preimage_continuous E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : ι → Set X}
  {g : Y → X}, LocallyFinite f → Continuous g → LocallyFinite fun x ↦ g ⁻¹' f x

theorem LocallyFinite.prod_right E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  {f : ι → Set X}, LocallyFinite f → ∀ (g : ι → Set Y), LocallyFinite fun i ↦ f i ×ˢ g i

theorem LocallyFinite.prod_left E1 #

∀ {ι : Type u_1} {X : Type u_4} {Y : Type u_5} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  {g : ι → Set Y}, LocallyFinite g → ∀ (f : ι → Set X), LocallyFinite fun i ↦ f i ×ˢ g i

theorem Equiv.locallyFinite_comp_iff E0 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} (e : ι' ≃ ι),
  LocallyFinite (f ∘ ⇑e) ↔ LocallyFinite f

theorem locallyFinite_sum E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι ⊕ ι' → Set X},
  LocallyFinite f ↔ LocallyFinite (f ∘ Sum.inl) ∧ LocallyFinite (f ∘ Sum.inr)

theorem LocallyFinite.sumElim E1 #

∀ {ι : Type u_1} {ι' : Type u_2} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X} {g : ι' → Set X},
  LocallyFinite f → LocallyFinite g → LocallyFinite (Sum.elim f g)

theorem locallyFinite_option E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : Option ι → Set X},
  LocallyFinite f ↔ LocallyFinite (f ∘ some)

theorem LocallyFinite.option_elim' E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {f : ι → Set X},
  LocallyFinite f → ∀ (s : Set X), LocallyFinite (Option.elim' s f)

theorem LocallyFinite.eventually_subset E1 #

∀ {ι : Type u_1} {X : Type u_4} [inst : TopologicalSpace X] {s : ι → Set X},
  LocallyFinite s → (∀ (i : ι), IsClosed (s i)) → ∀ (x : X), ∀ᶠ (y : X) in nhds x, {i | y ∈ s i} ⊆ {i | x ∈ s i}