Results about "big operations" over a Fintype, and consequent
results about cardinalities of certain types.
Implementation note #
This content had previously been in Data.Fintype.Basic, but was moved here to avoid
requiring Algebra.BigOperators (and hence many other imports) as a
dependency of Fintype.
However many of the results here really belong in Algebra.BigOperators.Basic
and should be moved at some point.
If a sum of a Finset of a subsingleton type has a given
value, so do the terms in that sum.
If a product of a Finset of a subsingleton type has a given
value, so do the terms in that product.
It is equivalent to sum a function over fin n or finset.range n.
It is equivalent to compute the product of a function over Fin n or Finset.range n.
An uncurried version of Finset.sum_prod_type
An uncurried version of Finset.prod_prod_type.
An uncurried version of Finset.sum_prod_type_right
An uncurried version of Finset.prod_prod_type_right.