Sections of a multiset #
The sections of a multiset of multisets s
consists of all those multisets
which can be put in bijection with s
, so each element is a member of the corresponding multiset.
Equations
- s.Sections = s.recOn {0} (fun (s : Multiset α) (x c : Multiset (Multiset α)) => s.bind fun (a : α) => Multiset.map (Multiset.cons a) c) ⋯