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.Fintype.Powerset

11 declarations. Mathlib docs · Source

instance Finset.fintype E0 #

{α : Type u_1} → [Fintype α] → Fintype (Finset α)

theorem Fintype.card_finset E0 #

∀ {α : Type u_1} [inst : Fintype α], Fintype.card (Finset α) = 2 ^ Fintype.card α

theorem Finset.powerset_univ E0 #

∀ {α : Type u_1} [inst : Fintype α], Finset.univ.powerset = Finset.univ

theorem Finset.filter_subset_univ E1 #

∀ {α : Type u_1} [inst : Fintype α] [inst_1 : DecidableEq α] (s : Finset α), {t | t ⊆ s} = s.powerset

theorem Finset.powerset_eq_univ E0 #

∀ {α : Type u_1} [inst : Fintype α] {s : Finset α}, s.powerset = Finset.univ ↔ s = Finset.univ

theorem Finset.mem_powersetCard_univ E0 #

∀ {α : Type u_1} [inst : Fintype α] {s : Finset α} {k : ℕ}, s ∈ Finset.powersetCard k Finset.univ ↔ s.card = k

theorem Finset.univ_filter_card_eq E0 #

∀ (α : Type u_1) [inst : Fintype α] (k : ℕ), {s | s.card = k} = Finset.powersetCard k Finset.univ

theorem Fintype.card_finset_len E0 #

∀ {α : Type u_1} [inst : Fintype α] (k : ℕ), Fintype.card { s // s.card = k } = (Fintype.card α).choose k

instance Set.fintype E0 #

{α : Type u_1} → [Fintype α] → Fintype (Set α)

instance Set.instFinite E0 #

∀ {α : Type u_1} [Finite α], Finite (Set α)

theorem Fintype.card_set E0 #

∀ {α : Type u_1} [inst : Fintype α], Fintype.card (Set α) = 2 ^ Fintype.card α