The powerset of a finset #
powerset #
When s is a finset, s.powerset is the finset of all subsets of s (seen as finsets).
Instances For
Number of Subsets of a Set
For predicate p decidable on subsets, it is decidable whether p holds for any subset.
For predicate p decidable on subsets, it is decidable whether p holds for every subset.
For s a finset, s.ssubsets is the finset comprising strict subsets of s.
Instances For
For predicate p decidable on ssubsets, it is decidable whether p holds for any ssubset.
Instances For
For predicate p decidable on ssubsets, it is decidable whether p holds for every ssubset.
Instances For
A version of Finset.decidableExistsOfDecidableSSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Instances For
A version of Finset.decidableForallOfDecidableSSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Instances For
Given an integer n and a finset s, then powersetCard n s is the finset of subsets of s
of cardinality n.
Instances For
Formula for the Number of Combinations
Alias of the reverse direction of Finset.powersetCard_nonempty.