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 / V03. Sets, finite structures and big operators

Mathlib.Data.DFinsupp.FiniteInfinite

4 declarations. Mathlib docs · Source

instance DFinsupp.fintype E0 #

{ι : Type u_1} →
  {π : ι → Type u_2} →
    [DecidableEq ι] →
      [inst : (i : ι) → Zero (π i)] → [Fintype ι] → [(i : ι) → Fintype (π i)] → Fintype (Π₀ (i : ι), π i)

instance DFinsupp.infinite_of_left E0 #

∀ {ι : Type u_1} {π : ι → Type u_2} [∀ (i : ι), Nontrivial (π i)] [inst : (i : ι) → Zero (π i)] [Infinite ι],
  Infinite (Π₀ (i : ι), π i)

theorem DFinsupp.infinite_of_exists_right E1 #

∀ {ι : Type u_1} {π : ι → Type u_2} (i : ι) [Infinite (π i)] [inst : (i : ι) → Zero (π i)], Infinite (Π₀ (i : ι), π i)

See DFinsupp.infinite_of_right for this in instance form, with the drawback that it needs all π i to be infinite.

instance DFinsupp.infinite_of_right E0 #

∀ {ι : Type u_1} {π : ι → Type u_2} [∀ (i : ι), Infinite (π i)] [inst : (i : ι) → Zero (π i)] [Nonempty ι],
  Infinite (Π₀ (i : ι), π i)

See DFinsupp.infinite_of_exists_right for the case that only one π ι is infinite.