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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Order.Archimedean.IndicatorCard

3 declarations. Mathlib docs · Source

theorem Set.sum_indicator_eventually_eq_card E1 #

∀ {α : Type u_1} [inst : AddCommMonoid α] (a : α) {s : Set ℕ},
  s.Finite → ∀ᶠ (n : ℕ) in Filter.atTop, ∑ k ∈ Finset.range n, s.indicator (fun x ↦ a) k = Nat.card ↑s • a

theorem Set.infinite_iff_tendsto_sum_indicator_atTop E1 #

∀ {R : Type u_1} [inst : AddCommMonoid R] [inst_1 : PartialOrder R] [IsOrderedAddMonoid R] [AddLeftStrictMono R]
  [Archimedean R] {r : R},
  0 < r →
    ∀ {s : Set ℕ},
      s.Infinite ↔ Filter.Tendsto (fun n ↦ ∑ k ∈ Finset.range n, s.indicator (fun x ↦ r) k) Filter.atTop Filter.atTop

theorem Set.limsup_eq_tendsto_sum_indicator_atTop E1 #

∀ {α : Type u_1} {R : Type u_2} [inst : AddCommMonoid R] [inst_1 : PartialOrder R] [IsOrderedAddMonoid R]
  [AddLeftStrictMono R] [Archimedean R] {r : R},
  0 < r →
    ∀ (s : ℕ → Set α),
      Filter.limsup s Filter.atTop =
        {ω | Filter.Tendsto (fun n ↦ ∑ k ∈ Finset.range n, (s k).indicator (fun x ↦ r) ω) Filter.atTop Filter.atTop}