First indices under injective maps #
Mapping a list through an injective function does not move the first occurrence of any element.
Main results #
List.idxOf_map_of_injective:(l.map f).idxOf (f a) = l.idxOf afor injectivef.
Mapping a list through an injective function does not move the first occurrence of any element.
List.idxOf_map_of_injective: (l.map f).idxOf (f a) = l.idxOf a for injective f.