List.matchSize returns two equal lists iff the two lists agree at every index i : Nat
(extended by unit if necessary).
List.dropWhile but starting from the last element. Performed by dropWhile on the reversed
list, followed by a reversal.
Instances For
theorem
List.Nodup.pairwise_ne_map
{α : Type u}
{β : Type v}
{l : List α}
{f : α → β}
(hf : Function.Injective f)
(hl : l.Nodup)
:
An injective f separates the elements of a duplicate-free list pairwise.
This is List.Nodup.map transported along List.pairwise_map, stated in the unmapped form that
Std.ExtTreeMap.getElem_ofList_of_mem and friends ask for.