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.
The elements of a finite set, as a list of elements together with membership proofs.
This is the Finset analogue of List.attach. It is noncomputable because we have no
linear order on the elements, but the order of the list is irrelevant for our purposes.
Instances For
@[simp]
@[simp]