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.List

5 declarations. Mathlib docs · Source

def Multiset.lists E1 #

{α : Type u_1} → Multiset α → Multiset (List α)

Given a m : Multiset α, we form the Multiset of l : List α with the property ⟦l⟧ = m.

theorem Multiset.lists_coe E0 #

∀ {α : Type u_1} (l : List α), (↑l).lists = ↑l.permutations

theorem Multiset.lists_nodup_finset E0 #

∀ {α : Type u_1} (l : Finset α), l.val.lists.Nodup

theorem Multiset.mem_lists_iff E0 #

∀ {α : Type u_1} (s : Multiset α) (l : List α), l ∈ s.lists ↔ s = ⟦l⟧

instance fintypeNodupList E0 #

{α : Type u_1} → [Fintype α] → Fintype { l // l.Nodup }