List duplicates #
Main definitions #
List.Duplicate x l : Prop
is an inductive property that holds whenx
is a duplicate inl
Implementation details #
In this file, x ∈+ l
notation is shorthand for List.Duplicate x l
.
Property that an element x : α
of l : List α
can be found in the list more than once.