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 / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.InfiniteSum.SummationFilter

49 declarations and 1 deprecated aliases. Mathlib docs · Source

Summation filters

We define a SummationFilter on β to be a filter on the finite subsets of β. These are used in defining summability: if L is a summation filter, we define the L-sum of f to be the limit along L of the sums over finsets (if this limit exists). This file only develops the basic machinery of summation filters - the key definitions HasSum, tsum and summable (and their product variants) are in the file Mathlib/Topology/Algebra/InfiniteSum/Defs.lean.

Examples of summation filters

theorem SummationFilter.mk.injEq E0 #

∀ {β : Type u_4} (filter filter_1 : Filter (Finset β)),
  ({ filter := filter } = { filter := filter_1 }) = (filter = filter_1)

theorem SummationFilter.mk.inj E1 #

∀ {β : Type u_4} {filter filter_1 : Filter (Finset β)},
  { filter := filter } = { filter := filter_1 } → filter = filter_1

def SummationFilter.ctorIdx E1 #

{β : Type u_4} → SummationFilter β → ℕ

structure SummationFilter E1 #

Type u_4 → Type u_4

A filter on the set of finite subsets of a type β. (Used for defining infinite topological sums and products, as limits along the given filter of partial sums / products over finsets.)

ctor SummationFilter.mk E0 #

{β : Type u_4} → Filter (Finset β) → SummationFilter β

abbrev SummationFilter.filter E1 #

{β : Type u_4} → SummationFilter β → Filter (Finset β)

The filter

class SummationFilter.LeAtTop E1 #

{β : Type u_2} → SummationFilter β → Prop

Typeclass asserting that a summation filter L is consistent with unconditional summation, so that any unconditionally-summable function is L-summable with the same sum.

ctor SummationFilter.LeAtTop.mk E0 #

∀ {β : Type u_2} {L : SummationFilter β}, L.filter ≤ Filter.atTop → L.LeAtTop

theorem SummationFilter.LeAtTop.le_atTop E1 #

∀ {β : Type u_2} {L : SummationFilter β} [self : L.LeAtTop], L.filter ≤ Filter.atTop

class SummationFilter.NeBot E1 #

{β : Type u_2} → SummationFilter β → Prop

Typeclass asserting that a summation filter is non-vacuous (if this is not satisfied, then every function is summable with every possible sum simultaneously).

ctor SummationFilter.NeBot.mk E0 #

∀ {β : Type u_2} {L : SummationFilter β}, L.filter.NeBot → L.NeBot

theorem SummationFilter.NeBot.ne_bot E1 #

∀ {β : Type u_2} {L : SummationFilter β} [self : L.NeBot], L.filter.NeBot

instance SummationFilter.instNeBotFinsetFilterOfNeBot E0 #

∀ {β : Type u_2} (L : SummationFilter β) [L.NeBot], L.filter.NeBot

Makes the NeBot instance visible to the typeclass machinery.

theorem SummationFilter.neBot_or_eq_bot E1 #

∀ {β : Type u_2} (L : SummationFilter β), L.NeBot ∨ L.filter = ⊥

def SummationFilter.support E1 #

{β : Type u_2} → SummationFilter β → Set β

The support of a summation filter (its lim inf, considered as a filter of sets).

theorem SummationFilter.support_eq_limsInf E1 #

∀ {β : Type u_2} (L : SummationFilter β), L.support = (Filter.map SetLike.coe L.filter).limsInf

theorem SummationFilter.support_eq_univ_iff E0 #

∀ {β : Type u_2} {L : SummationFilter β}, L.support = Set.univ ↔ L.filter ≤ Filter.atTop

theorem SummationFilter.support_eq_univ E0 #

∀ {β : Type u_2} (L : SummationFilter β) [L.LeAtTop], L.support = Set.univ

instance SummationFilter.instLeAtTopOfIsEmpty E0 #

∀ {β : Type u_2} [IsEmpty β] (L : SummationFilter β), L.LeAtTop

theorem SummationFilter.leAtTop_of_not_NeBot E1 #

∀ {β : Type u_2} (L : SummationFilter β), ¬L.NeBot → L.LeAtTop

instance SummationFilter.instDecidablePredMemSetSupportOfLeAtTop E0 #

{β : Type u_2} → (L : SummationFilter β) → [L.LeAtTop] → DecidablePred fun x ↦ x ∈ L.support

Decidability instance: useful when working with Finset sums / products.

class SummationFilter.HasSupport E1 #

{β : Type u_2} → SummationFilter β → Prop

Typeclass asserting that the sets in L.filter are eventually contained in L.support. This is a sufficient condition for L-summation to behave well on finitely-supported functions: every finitely-supported f is L-summable with the sum ∑ᶠ x ∈ L.support, f x (and similarly for products).

ctor SummationFilter.HasSupport.mk E0 #

∀ {β : Type u_2} {L : SummationFilter β}, (∀ᶠ (s : Finset β) in L.filter, ↑s ⊆ L.support) → L.HasSupport

theorem SummationFilter.HasSupport.eventually_le_support E1 #

∀ {β : Type u_2} {L : SummationFilter β} [self : L.HasSupport], ∀ᶠ (s : Finset β) in L.filter, ↑s ⊆ L.support

instance SummationFilter.instHasSupportOfLeAtTop E0 #

∀ {β : Type u_2} (L : SummationFilter β) [L.LeAtTop], L.HasSupport

theorem SummationFilter.eventually_mem_or_notMem E1 #

∀ {β : Type u_2} (L : SummationFilter β) [L.HasSupport] (b : β),
  (∀ᶠ (s : Finset β) in L.filter, b ∈ s) ∨ ∀ᶠ (s : Finset β) in L.filter, b ∉ s

def SummationFilter.map E1 #

{β : Type u_2} → {γ : Type u_3} → SummationFilter β → (β ↪ γ) → SummationFilter γ

Pushforward of a summation filter along an embedding.

(We define this only for embeddings, rather than arbitrary maps, since this is the only case needed for the intended applications, and this avoids requiring a DecidableEq instance on γ.)

theorem SummationFilter.map_filter E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) (f : β ↪ γ),
  (L.map f).filter = Filter.map (Finset.map f) L.filter

theorem SummationFilter.support_map E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) [L.NeBot] (f : β ↪ γ), (L.map f).support = ⇑f '' L.support

instance SummationFilter.instHasSupportMap E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) [L.HasSupport] (f : β ↪ γ), (L.map f).HasSupport

If L has well-defined support, then so does its map along an embedding.

def SummationFilter.comap E1 #

{β : Type u_2} → {γ : Type u_3} → SummationFilter β → (γ ↪ β) → SummationFilter γ

Pullback of a summation filter along an embedding.

theorem SummationFilter.comap_filter E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) (f : γ ↪ β),
  (L.comap f).filter = Filter.map (fun s ↦ s.preimage ⇑f ⋯) L.filter

theorem SummationFilter.support_comap E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) (f : γ ↪ β), (L.comap f).support = ⇑f ⁻¹' L.support

instance SummationFilter.instHasSupportComap E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) [L.HasSupport] (f : γ ↪ β), (L.comap f).HasSupport

If L has well-defined support, then so does its comap along an embedding.

instance SummationFilter.instLeAtTopComap E0 #

∀ {β : Type u_2} {γ : Type u_3} (L : SummationFilter β) [L.LeAtTop] (f : γ ↪ β), (L.comap f).LeAtTop

def SummationFilter.unconditional E1 #

(β : Type u_2) → SummationFilter β

Unconditional summation: a function on β is said to be unconditionally summable if its partial sums over finite subsets converge with respect to the atTop filter.

theorem SummationFilter.unconditional_filter E0 #

∀ (β : Type u_2), (SummationFilter.unconditional β).filter = Filter.atTop

instance SummationFilter.instLeAtTopUnconditional E0 #

∀ (β : Type u_2), (SummationFilter.unconditional β).LeAtTop

instance SummationFilter.instNeBotUnconditional E0 #

∀ (β : Type u_2), (SummationFilter.unconditional β).NeBot

instance SummationFilter.instIsCountablyGeneratedFinsetFilterUnconditionalOfCountable E0 #

∀ (β : Type u_2) [Countable β], (SummationFilter.unconditional β).filter.IsCountablyGenerated

This instance is useful for some measure-theoretic statements.

theorem SummationFilter.comap_unconditional E0 #

∀ {γ : Type u_3} {β : Type u_4} (f : γ ↪ β), (SummationFilter.unconditional β).comap f = SummationFilter.unconditional γ

The unconditional filter is preserved by comaps.

def SummationFilter.conditional E1 #

(β : Type u_2) → [inst : Preorder β] → [LocallyFiniteOrder β] → SummationFilter β

Conditional summation, for ordered types β such that closed intervals [x, y] are finite: this corresponds to limits of finite sums over larger and larger intervals.

theorem SummationFilter.conditional_filter E0 #

∀ (β : Type u_2) [inst : Preorder β] [inst_1 : LocallyFiniteOrder β],
  (SummationFilter.conditional β).filter = Filter.map (fun p ↦ Finset.Icc p.1 p.2) (Filter.atBot ×ˢ Filter.atTop)

instance SummationFilter.instLeAtTopConditional E0 #

∀ (β : Type u_2) [inst : Preorder β] [inst_1 : LocallyFiniteOrder β], (SummationFilter.conditional β).LeAtTop

instance SummationFilter.instNeBotConditionalOfNonemptyOfIsDirectedOrderOfIsCodirectedOrder E0 #

∀ (β : Type u_2) [inst : Preorder β] [inst_1 : LocallyFiniteOrder β] [Nonempty β] [IsDirectedOrder β]
  [IsCodirectedOrder β], (SummationFilter.conditional β).NeBot

instance SummationFilter.instIsCountablyGeneratedFinsetFilterConditionalOfAtTopOfAtBot E0 #

∀ (β : Type u_2) [inst : Preorder β] [inst_1 : LocallyFiniteOrder β] [Filter.atTop.IsCountablyGenerated]
  [Filter.atBot.IsCountablyGenerated], (SummationFilter.conditional β).filter.IsCountablyGenerated

theorem SummationFilter.conditional_filter_eq_map_Iic E0 #

∀ {γ : Type u_4} [inst : PartialOrder γ] [inst_1 : LocallyFiniteOrder γ] [inst_2 : OrderBot γ],
  (SummationFilter.conditional γ).filter = Filter.map Finset.Iic Filter.atTop

When β has a bottom element, conditional β is given by limits over finite intervals {y | y ≤ x} as x → atTop.

theorem SummationFilter.conditional_filter_eq_map_Ici E0 #

∀ {γ : Type u_4} [inst : PartialOrder γ] [inst_1 : LocallyFiniteOrder γ] [inst_2 : OrderTop γ],
  (SummationFilter.conditional γ).filter = Filter.map Finset.Ici Filter.atBot

When β has a top element, conditional β is given by limits over finite intervals {y | x ≤ y} as x → atBot.

theorem SummationFilter.conditional_filter_eq_map_range E0 #

(SummationFilter.conditional ℕ).filter = Filter.map Finset.range Filter.atTop

Conditional summation over ℕ is given by limits of sums over Finset.range n as n → ∞.

Deprecated aliases

NameNew nameSince
SummationFilter.eventually_mem_or_not_memSummationFilter.eventually_mem_or_notMem2026-09-28