Image of a Finset α
under a partially defined function #
In this file we define Part.toFinset
and Finset.pimage
. We also prove some trivial lemmas about
these definitions.
Tags #
finite set, image, partial function
theorem
Finset.pimage_eq_image_filter
{α : Type u_1}
{β : Type u_2}
[DecidableEq β]
{f : α →. β}
[(x : α) → Decidable (f x).Dom]
{s : Finset α}
:
Rewrite s.pimage f
in terms of Finset.filter
, Finset.attach
, and Finset.image
.