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.NhdsSet

48 declarations. Mathlib docs Β· Source

Neighborhoods of a set

In this file we define the filter 𝓝˒ s or nhdsSet s consisting of all neighborhoods of a set s.

Main Properties

There are a couple different notions equivalent to s ∈ 𝓝˒ t:

  • s βŠ† interior t using subset_interior_iff_mem_nhdsSet
  • βˆ€ x : X, x ∈ t β†’ s ∈ 𝓝 x using mem_nhdsSet_iff_forall
  • βˆƒ U : Set X, IsOpen U ∧ t βŠ† U ∧ U βŠ† s using mem_nhdsSet_iff_exists

Furthermore, we have the following results:

  • monotone_nhdsSet: 𝓝˒ is monotone
  • In T₁-spaces, 𝓝˒ is strictly monotone and hence injective: strict_mono_nhdsSet/injective_nhdsSet. These results are in Mathlib/Topology/Separation/Basic.lean.

theorem nhdsSet_diagonal E1 #

βˆ€ (X : Type u_4) [inst : TopologicalSpace (X Γ— X)], nhdsSet (Set.diagonal X) = ⨆ x, nhds (x, x)

theorem mem_nhdsSet_iff_forall E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, s ∈ nhdsSet t ↔ βˆ€ x ∈ t, s ∈ nhds x

theorem nhdsSet_le E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {f : Filter X} {s : Set X}, nhdsSet s ≀ f ↔ βˆ€ x ∈ s, nhds x ≀ f

theorem bUnion_mem_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {t : X β†’ Set X},
  (βˆ€ x ∈ s, t x ∈ nhds x) β†’ ⋃ x ∈ s, t x ∈ nhdsSet s

theorem subset_interior_iff_mem_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, s βŠ† interior t ↔ t ∈ nhdsSet s

theorem disjoint_principal_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X},
  Disjoint (Filter.principal s) (nhdsSet t) ↔ Disjoint (closure s) t

theorem disjoint_nhdsSet_principal E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X},
  Disjoint (nhdsSet s) (Filter.principal t) ↔ Disjoint s (closure t)

theorem mem_nhdsSet_iff_exists E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, s ∈ nhdsSet t ↔ βˆƒ U, IsOpen U ∧ t βŠ† U ∧ U βŠ† s

theorem eventually_nhdsSet_iff_exists E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {p : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet s, p x) ↔ βˆƒ t, IsOpen t ∧ s βŠ† t ∧ βˆ€ x ∈ t, p x

A proposition is true on a set neighborhood of s iff it is true on a larger open set

theorem eventually_nhdsSet_iff_forall E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {p : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet s, p x) ↔ βˆ€ x ∈ s, βˆ€αΆ  (y : X) in nhds x, p y

A proposition is true on a set neighborhood of s iff it is eventually true near each point in the set.

theorem hasBasis_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s : Set X), (nhdsSet s).HasBasis (fun U ↦ IsOpen U ∧ s βŠ† U) fun U ↦ U

theorem lift'_nhdsSet_interior E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s : Set X), (nhdsSet s).lift' interior = nhdsSet s

theorem Filter.HasBasis.nhdsSet_interior E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {ΞΉ : Sort u_4} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} {t : Set X},
  (nhdsSet t).HasBasis p s β†’ (nhdsSet t).HasBasis p fun x ↦ interior (s x)

theorem IsOpen.mem_nhdsSet E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, IsOpen s β†’ (s ∈ nhdsSet t ↔ t βŠ† s)

theorem IsOpen.mem_nhdsSet_self E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, IsOpen s β†’ s ∈ nhdsSet s

An open set belongs to its own set neighborhoods filter.

theorem principal_le_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, Filter.principal s ≀ nhdsSet s

theorem subset_of_mem_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, t ∈ nhdsSet s β†’ s βŠ† t

theorem Filter.Eventually.self_of_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {p : X β†’ Prop}, (βˆ€αΆ  (x : X) in nhdsSet s, p x) β†’ βˆ€ x ∈ s, p x

theorem Filter.EventuallyEq.self_of_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {Y : Type u_4} {f g : X β†’ Y},
  f =αΆ [nhdsSet s] g β†’ Set.EqOn f g s

theorem nhdsSet_eq_principal_iff E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, nhdsSet s = Filter.principal s ↔ IsOpen s

theorem IsOpen.nhdsSet_eq E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, IsOpen s β†’ nhdsSet s = Filter.principal s

Alias of the reverse direction of nhdsSet_eq_principal_iff.

theorem nhdsSet_interior E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, nhdsSet (interior s) = Filter.principal (interior s)

theorem nhdsSet_singleton E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {x : X}, nhdsSet {x} = nhds x

theorem mem_nhdsSet_interior E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, s ∈ nhdsSet (interior s)

theorem nhdsSet_empty E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X], nhdsSet βˆ… = βŠ₯

theorem mem_nhdsSet_empty E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X}, s ∈ nhdsSet βˆ…

theorem nhdsSet_eq_bot_iff E0 #

βˆ€ {Ξ± : Type u_4} [inst : TopologicalSpace Ξ±] {s : Set Ξ±}, nhdsSet s = βŠ₯ ↔ s = βˆ…

theorem nhdsSet_neBot_iff E0 #

βˆ€ {Ξ± : Type u_4} [inst : TopologicalSpace Ξ±] {s : Set Ξ±}, (nhdsSet s).NeBot ↔ s.Nonempty

theorem Set.Nonempty.nhdsSet_neBot E1 #

βˆ€ {Ξ± : Type u_4} [inst : TopologicalSpace Ξ±] {s : Set Ξ±}, (nhdsSet s).NeBot β†’ s.Nonempty

Alias of the forward direction of nhdsSet_neBot_iff.

theorem nhdsSet_univ E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X], nhdsSet Set.univ = ⊀

theorem nhdsSet_mono E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X}, s βŠ† t β†’ nhdsSet s ≀ nhdsSet t

theorem monotone_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X], Monotone nhdsSet

theorem nhds_le_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {x : X}, x ∈ s β†’ nhds x ≀ nhdsSet s

theorem tendsto_nhdsSet_of_tendsto_nhds E1 #

βˆ€ {Ξ± : Type u_1} {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {f : Ξ± β†’ X} {l : Filter Ξ±} {x : X},
  x ∈ s β†’ Filter.Tendsto f l (nhds x) β†’ Filter.Tendsto f l (nhdsSet s)

theorem nhdsSet_union E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s t : Set X), nhdsSet (s βˆͺ t) = nhdsSet s βŠ” nhdsSet t

theorem union_mem_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s₁ sβ‚‚ t₁ tβ‚‚ : Set X},
  s₁ ∈ nhdsSet t₁ β†’ sβ‚‚ ∈ nhdsSet tβ‚‚ β†’ s₁ βˆͺ sβ‚‚ ∈ nhdsSet (t₁ βˆͺ tβ‚‚)

theorem nhdsSet_insert E0 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (x : X) (s : Set X), nhdsSet (insert x s) = nhds x βŠ” nhdsSet s

theorem nhdsSet_inter_le E2 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s t : Set X), nhdsSet (s ∩ t) ≀ nhdsSet s βŠ“ nhdsSet t

This inequality cannot be improved to an equality. For instance, if X has two elements and the coarse topology and s and t are distinct singletons then 𝓝˒ (s ∩ t) = βŠ₯ while 𝓝˒ s βŠ“ 𝓝˒ t = ⊀ and those are different.

theorem nhdsSet_iInter_le E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {ΞΉ : Sort u_4} (s : ΞΉ β†’ Set X), nhdsSet (β‹‚ i, s i) ≀ β¨… i, nhdsSet (s i)

theorem nhdsSet_sInter_le E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s : Set (Set X)), nhdsSet (β‹‚β‚€ s) ≀ β¨… x ∈ s, nhdsSet x

theorem IsClosed.nhdsSet_le_sup E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s : Set X) {t : Set X},
  IsClosed t β†’ nhdsSet s ≀ nhdsSet (s ∩ t) βŠ” Filter.principal tᢜ

theorem IsClosed.nhdsSet_le_sup' E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] (s : Set X) {t : Set X},
  IsClosed t β†’ nhdsSet s ≀ nhdsSet (t ∩ s) βŠ” Filter.principal tᢜ

theorem Filter.Eventually.eventually_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s : Set X} {p : X β†’ Prop},
  (βˆ€αΆ  (y : X) in nhdsSet s, p y) β†’ βˆ€αΆ  (y : X) in nhdsSet s, βˆ€αΆ  (x : X) in nhds y, p x

theorem Filter.Eventually.union_nhdsSet E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X} {p : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet (s βˆͺ t), p x) ↔ (βˆ€αΆ  (x : X) in nhdsSet s, p x) ∧ βˆ€αΆ  (x : X) in nhdsSet t, p x

theorem Filter.Eventually.union E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {s t : Set X} {p : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet s, p x) β†’ (βˆ€αΆ  (x : X) in nhdsSet t, p x) β†’ βˆ€αΆ  (x : X) in nhdsSet (s βˆͺ t), p x

theorem nhdsSet_iUnion E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {ΞΉ : Sort u_4} (s : ΞΉ β†’ Set X), nhdsSet (⋃ i, s i) = ⨆ i, nhdsSet (s i)

theorem eventually_nhdsSet_iUnionβ‚‚ E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {ΞΉ : Sort u_4} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} {P : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet (⋃ i, ⋃ (_ : p i), s i), P x) ↔ βˆ€ (i : ΞΉ), p i β†’ βˆ€αΆ  (x : X) in nhdsSet (s i), P x

theorem eventually_nhdsSet_iUnion E1 #

βˆ€ {X : Type u_2} [inst : TopologicalSpace X] {ΞΉ : Sort u_4} {s : ΞΉ β†’ Set X} {P : X β†’ Prop},
  (βˆ€αΆ  (x : X) in nhdsSet (⋃ i, s i), P x) ↔ βˆ€ (i : ΞΉ), βˆ€αΆ  (x : X) in nhdsSet (s i), P x