Lemmas about List.Pairwise
and List.Nodup
. #
Pairwise and Nodup #
Pairwise #
theorem
List.Pairwise.filter
{α : Type u_1}
{R : α → α → Prop}
{l : List α}
(p : α → Bool)
:
Pairwise R l → Pairwise R (List.filter p l)
@[reducible, inline, deprecated List.pairwise_flatten (since := "2024-10-14")]