The powerset of a finset #
powerset #
Number of Subsets of a Set
For predicate p decidable on subsets, it is decidable whether p holds for any subset.
Equations
- One or more equations did not get rendered due to their size.
For predicate p decidable on subsets, it is decidable whether p holds for every subset.
Equations
- One or more equations did not get rendered due to their size.
A version of Finset.decidableExistsOfDecidableSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Equations
- Finset.decidableExistsOfDecidableSubsets' hu = Finset.decidableExistsOfDecidableSubsets
Instances For
A version of Finset.decidableForallOfDecidableSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Equations
- Finset.decidableForallOfDecidableSubsets' hu = Finset.decidableForallOfDecidableSubsets
Instances For
For s a finset, s.ssubsets is the finset comprising strict subsets of s.
Equations
- Finset.ssubsets s = Finset.erase (Finset.powerset s) s
Instances For
For predicate p decidable on ssubsets, it is decidable whether p holds for any ssubset.
Equations
- One or more equations did not get rendered due to their size.
For predicate p decidable on ssubsets, it is decidable whether p holds for every ssubset.
Equations
- One or more equations did not get rendered due to their size.
A version of Finset.decidableExistsOfDecidableSSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Equations
- Finset.decidableExistsOfDecidableSSubsets' hu = Finset.decidableExistsOfDecidableSSubsets
Instances For
A version of Finset.decidableForallOfDecidableSSubsets with a non-dependent p.
Typeclass inference cannot find hu here, so this is not an instance.
Equations
- Finset.decidableForallOfDecidableSSubsets' hu = Finset.decidableForallOfDecidableSSubsets
Instances For
Given an integer n and a finset s, then powersetCard n s is the finset of subsets of s
of cardinality n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formula for the Number of Combinations