Finitely supported product of finsets #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file defines the finitely supported product of finsets as a finset (ι →₀ α)
.
Main declarations #
finset.finsupp
: Finitely supported product of finsets.s.finset t
is the product of thet i
over alli ∈ s
.finsupp.pi
:f.pi
is the finset offinsupp
s whosei
-th value lies inf i
. This is the special case offinset.finsupp
where we take the product of thef i
over the support off
.
Implementation notes #
We make heavy use of the fact that 0 : finset α
is {0}
. This scalar actions convention turns out
to be precisely what we want here too.