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.Order.Filter.CountableInter

45 declarations and 8 deprecated aliases. Mathlib docs · Source

ctor Filter.CountableGenerateSets.below.univ E0 #

∀ {α : Type u_2} {g : Set (Set α)} {motive : (a : Set α) → Filter.CountableGenerateSets g a → Prop},
  Filter.CountableGenerateSets.below ⋯

ctor Filter.CountableGenerateSets.below.superset E0 #

∀ {α : Type u_2} {g : Set (Set α)} {motive : (a : Set α) → Filter.CountableGenerateSets g a → Prop} {s t : Set α}
  (a : Filter.CountableGenerateSets g s) (a_1 : s ⊆ t),
  Filter.CountableGenerateSets.below a → motive s a → Filter.CountableGenerateSets.below ⋯

ctor Filter.CountableGenerateSets.below.sInter E0 #

∀ {α : Type u_2} {g : Set (Set α)} {motive : (a : Set α) → Filter.CountableGenerateSets g a → Prop} {S : Set (Set α)}
  (a : S.Countable) (a_1 : ∀ s ∈ S, Filter.CountableGenerateSets g s),
  (∀ (s : Set α) (a : s ∈ S), Filter.CountableGenerateSets.below ⋯) →
    (∀ (s : Set α) (a : s ∈ S), motive s ⋯) → Filter.CountableGenerateSets.below ⋯

ctor Filter.CountableGenerateSets.below.basic E0 #

∀ {α : Type u_2} {g : Set (Set α)} {motive : (a : Set α) → Filter.CountableGenerateSets g a → Prop} {s : Set α}
  (a : s ∈ g), Filter.CountableGenerateSets.below ⋯

class CountableInterFilter E3 #

{α : Type u_2} → Filter α → Prop

A filter l has the countable intersection property if for any countable collection of sets s ∈ l their intersection belongs to l as well.

ctor CountableInterFilter.mk E0 #

∀ {α : Type u_2} {l : Filter α},
  (∀ (S : Set (Set α)), S.Countable → (∀ s ∈ S, s ∈ l) → ⋂₀ S ∈ l) → CountableInterFilter l

theorem CountableInterFilter.countable_sInter_mem E1 #

∀ {α : Type u_2} {l : Filter α} [self : CountableInterFilter l] (S : Set (Set α)),
  S.Countable → (∀ s ∈ S, s ∈ l) → ⋂₀ S ∈ l

For a countable collection of sets s ∈ l, their intersection belongs to l as well.

theorem countable_sInter_mem E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {S : Set (Set α)}, S.Countable → (⋂₀ S ∈ l ↔ ∀ s ∈ S, s ∈ l)

theorem countable_iInter_mem E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {s : ι → Set α},
  ⋂ i, s i ∈ l ↔ ∀ (i : ι), s i ∈ l

theorem countable_bInter_mem E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable → ∀ {s : (i : ι) → i ∈ S → Set α}, ⋂ i, ⋂ (hi : i ∈ S), s i hi ∈ l ↔ ∀ (i : ι) (hi : i ∈ S), s i hi ∈ l

theorem eventually_countable_forall E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {p : α → ι → Prop},
  (∀ᶠ (x : α) in l, ∀ (i : ι), p x i) ↔ ∀ (i : ι), ∀ᶠ (x : α) in l, p x i

theorem eventually_countable_ball E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable →
    ∀ {p : α → (i : ι) → i ∈ S → Prop},
      (∀ᶠ (x : α) in l, ∀ (i : ι) (hi : i ∈ S), p x i hi) ↔ ∀ (i : ι) (hi : i ∈ S), ∀ᶠ (x : α) in l, p x i hi

theorem eventually_finset_ball E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Finset ι} {p : α → (i : ι) → i ∈ S → Prop},
  (∀ᶠ (x : α) in l, ∀ (i : ι) (hi : i ∈ S), p x i hi) ↔ ∀ (i : ι) (hi : i ∈ S), ∀ᶠ (x : α) in l, p x i hi

theorem Filter.EventuallySubset.countable_iUnion E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {s t : ι → Set α},
  (∀ (i : ι), s i ≤ᶠ[l] t i) → ⋃ i, s i ≤ᶠ[l] ⋃ i, t i

theorem Filter.EventuallyEqSet.countable_iUnion E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {s t : ι → Set α},
  (∀ (i : ι), s i =ᶠ[l] t i) → ⋃ i, s i =ᶠ[l] ⋃ i, t i

theorem Filter.EventuallySubset.countable_bUnion E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable →
    ∀ {s t : (i : ι) → i ∈ S → Set α},
      (∀ (i : ι) (hi : i ∈ S), s i hi ≤ᶠ[l] t i hi) → ⋃ i, ⋃ (h : i ∈ S), s i h ≤ᶠ[l] ⋃ i, ⋃ (h : i ∈ S), t i h

theorem Filter.EventuallyEqSet.countable_bUnion E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable →
    ∀ {s t : (i : ι) → i ∈ S → Set α},
      (∀ (i : ι) (hi : i ∈ S), s i hi =ᶠ[l] t i hi) → ⋃ i, ⋃ (h : i ∈ S), s i h =ᶠ[l] ⋃ i, ⋃ (h : i ∈ S), t i h

theorem Filter.EventuallySubset.countable_iInter E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {s t : ι → Set α},
  (∀ (i : ι), s i ≤ᶠ[l] t i) → ⋂ i, s i ≤ᶠ[l] ⋂ i, t i

theorem Filter.EventuallyEqSet.countable_iInter E1 #

∀ {ι : Sort u_1} {α : Type u_2} {l : Filter α} [CountableInterFilter l] [Countable ι] {s t : ι → Set α},
  (∀ (i : ι), s i =ᶠ[l] t i) → ⋂ i, s i =ᶠ[l] ⋂ i, t i

theorem Filter.EventuallySubset.countable_bInter E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable →
    ∀ {s t : (i : ι) → i ∈ S → Set α},
      (∀ (i : ι) (hi : i ∈ S), s i hi ≤ᶠ[l] t i hi) → ⋂ i, ⋂ (h : i ∈ S), s i h ≤ᶠ[l] ⋂ i, ⋂ (h : i ∈ S), t i h

theorem Filter.EventuallyEqSet.countable_bInter E1 #

∀ {α : Type u_2} {l : Filter α} [CountableInterFilter l] {ι : Type u_4} {S : Set ι},
  S.Countable →
    ∀ {s t : (i : ι) → i ∈ S → Set α},
      (∀ (i : ι) (hi : i ∈ S), s i hi =ᶠ[l] t i hi) → ⋂ i, ⋂ (h : i ∈ S), s i h =ᶠ[l] ⋂ i, ⋂ (h : i ∈ S), t i h

def Filter.ofCountableInter E1 #

{α : Type u_2} →
  (l : Set (Set α)) →
    (∀ (S : Set (Set α)), S.Countable → S ⊆ l → ⋂₀ S ∈ l) → (∀ (s t : Set α), s ∈ l → s ⊆ t → t ∈ l) → Filter α

Construct a filter with countable intersection property. This constructor deduces Filter.univ_sets and Filter.inter_sets from the countable intersection property.

instance Filter.countableInter_ofCountableInter E0 #

∀ {α : Type u_2} (l : Set (Set α)) (hl : ∀ (S : Set (Set α)), S.Countable → S ⊆ l → ⋂₀ S ∈ l)
  (h_mono : ∀ (s t : Set α), s ∈ l → s ⊆ t → t ∈ l), CountableInterFilter (Filter.ofCountableInter l hl h_mono)

theorem Filter.mem_ofCountableInter E0 #

∀ {α : Type u_2} {l : Set (Set α)} (hl : ∀ (S : Set (Set α)), S.Countable → S ⊆ l → ⋂₀ S ∈ l)
  (h_mono : ∀ (s t : Set α), s ∈ l → s ⊆ t → t ∈ l) {s : Set α}, s ∈ Filter.ofCountableInter l hl h_mono ↔ s ∈ l

def Filter.ofCountableUnion E1 #

{α : Type u_2} →
  (l : Set (Set α)) →
    (∀ (S : Set (Set α)), S.Countable → (∀ s ∈ S, s ∈ l) → ⋃₀ S ∈ l) → (∀ t ∈ l, ∀ s ⊆ t, s ∈ l) → Filter α

Construct a filter with countable intersection property. Similarly to Filter.comk, a set belongs to this filter if its complement satisfies the property. Similarly to Filter.ofCountableInter, this constructor deduces some properties from the countable intersection property which becomes the countable union property because we take complements of all sets.

instance Filter.countableInter_ofCountableUnion E0 #

∀ {α : Type u_2} (l : Set (Set α)) (h₁ : ∀ (S : Set (Set α)), S.Countable → (∀ s ∈ S, s ∈ l) → ⋃₀ S ∈ l)
  (h₂ : ∀ t ∈ l, ∀ s ⊆ t, s ∈ l), CountableInterFilter (Filter.ofCountableUnion l h₁ h₂)

theorem Filter.mem_ofCountableUnion E0 #

∀ {α : Type u_2} {l : Set (Set α)} {hunion : ∀ (S : Set (Set α)), S.Countable → (∀ s ∈ S, s ∈ l) → ⋃₀ S ∈ l}
  {hmono : ∀ t ∈ l, ∀ s ⊆ t, s ∈ l} {s : Set α}, s ∈ Filter.ofCountableUnion l hunion hmono ↔ sᶜ ∈ l

instance countableInterFilter_principal E0 #

∀ {α : Type u_2} (s : Set α), CountableInterFilter (Filter.principal s)

instance countableInterFilter_bot E0 #

∀ {α : Type u_2}, CountableInterFilter ⊥

instance countableInterFilter_top E0 #

∀ {α : Type u_2}, CountableInterFilter ⊤

instance instCountableInterFilterComap E0 #

∀ {α : Type u_2} {β : Type u_3} (l : Filter β) [CountableInterFilter l] (f : α → β),
  CountableInterFilter (Filter.comap f l)

instance instCountableInterFilterMap E0 #

∀ {α : Type u_2} {β : Type u_3} (l : Filter α) [CountableInterFilter l] (f : α → β),
  CountableInterFilter (Filter.map f l)

instance countableInterFilter_inf E0 #

∀ {α : Type u_2} (l₁ l₂ : Filter α) [CountableInterFilter l₁] [CountableInterFilter l₂], CountableInterFilter (l₁ ⊓ l₂)

Infimum of two CountableInterFilters is a CountableInterFilter. This is useful, e.g., to automatically get an instance for residual α ⊓ 𝓟 s.

instance countableInterFilter_sup E0 #

∀ {α : Type u_2} (l₁ l₂ : Filter α) [CountableInterFilter l₁] [CountableInterFilter l₂], CountableInterFilter (l₁ ⊔ l₂)

Supremum of two CountableInterFilters is a CountableInterFilter.

instance CountableInterFilter.curry E0 #

∀ {α : Type u_4} {β : Type u_5} {l : Filter α} {m : Filter β} [CountableInterFilter l] [CountableInterFilter m],
  CountableInterFilter (l.curry m)

inductive Filter.CountableGenerateSets E1 #

{α : Type u_2} → Set (Set α) → Set α → Prop

Filter.CountableGenerateSets g is the (sets of the) greatest countableInterFilter containing g.

ctor Filter.CountableGenerateSets.basic E0 #

∀ {α : Type u_2} {g : Set (Set α)} {s : Set α}, s ∈ g → Filter.CountableGenerateSets g s

ctor Filter.CountableGenerateSets.univ E0 #

∀ {α : Type u_2} {g : Set (Set α)}, Filter.CountableGenerateSets g Set.univ

ctor Filter.CountableGenerateSets.superset E0 #

∀ {α : Type u_2} {g : Set (Set α)} {s t : Set α},
  Filter.CountableGenerateSets g s → s ⊆ t → Filter.CountableGenerateSets g t

ctor Filter.CountableGenerateSets.sInter E0 #

∀ {α : Type u_2} {g S : Set (Set α)},
  S.Countable → (∀ s ∈ S, Filter.CountableGenerateSets g s) → Filter.CountableGenerateSets g (⋂₀ S)

def Filter.countableGenerate E1 #

{α : Type u_2} → Set (Set α) → Filter α

Filter.countableGenerate g is the greatest countableInterFilter containing g.

instance Filter.instCountableInterFilterCountableGenerate E0 #

∀ {α : Type u_1} (g : Set (Set α)), CountableInterFilter (Filter.countableGenerate g)

theorem Filter.mem_countableGenerate_iff E0 #

∀ {α : Type u_2} {g : Set (Set α)} {s : Set α}, s ∈ Filter.countableGenerate g ↔ ∃ S ⊆ g, S.Countable ∧ ⋂₀ S ⊆ s

A set is in the countableInterFilter generated by g if and only if it contains a countable intersection of elements of g.

theorem Filter.le_countableGenerate_iff_of_countableInterFilter E1 #

∀ {α : Type u_2} {g : Set (Set α)} {f : Filter α} [CountableInterFilter f], f ≤ Filter.countableGenerate g ↔ g ⊆ f.sets

theorem Filter.countableGenerate_isGreatest E1 #

∀ {α : Type u_2} (g : Set (Set α)), IsGreatest {f | CountableInterFilter f ∧ g ⊆ f.sets} (Filter.countableGenerate g)

countableGenerate g is the greatest countableInterFilter containing g.

Deprecated aliases

NameNew nameSince
Filter.EventuallyEq.countable_bInterFilter.EventuallyEqSet.countable_bInter2026-08-14
Filter.EventuallyEq.countable_bUnionFilter.EventuallyEqSet.countable_bUnion2026-08-14
Filter.EventuallyEq.countable_iInterFilter.EventuallyEqSet.countable_iInter2026-08-14
Filter.EventuallyEq.countable_iUnionFilter.EventuallyEqSet.countable_iUnion2026-08-14
Filter.EventuallyLE.countable_bInterFilter.EventuallySubset.countable_bInter2026-08-14
Filter.EventuallyLE.countable_bUnionFilter.EventuallySubset.countable_bUnion2026-08-14
Filter.EventuallyLE.countable_iInterFilter.EventuallySubset.countable_iInter2026-08-14
Filter.EventuallyLE.countable_iUnionFilter.EventuallySubset.countable_iUnion2026-08-14