General helper lemmas #
Nothing in this file is about PDL. These are helper definitions and lemmas that are used in several places and might also be in (newer versions of) Mathlib.
theorem
List.toFinset_map_eq_image
{α : Type u_1}
{β : Type u_2}
[DecidableEq α]
[DecidableEq β]
(l : List α)
(f : α → β)
:
Turning a mapped list into a Finset is the image of the Finset.