Building finitely supported functions off finsets #
This file defines Finsupp.indicator
to help create finsupps from finsets.
Main declarations #
Finsupp.indicator
: Turns a map from aFinset
into aFinsupp
from the entire type.
theorem
Finsupp.indicator_injective
{ι : Type u_1}
{α : Type u_2}
[Zero α]
(s : Finset ι)
:
Function.Injective fun (f : (i : ι) → i ∈ s → α) => indicator s f