Definition and basic properties of List.offDiag #
In this file we define List.offDiag l to be the product l.product l
with the diagonal removed.
The actual definition is more complicated to avoid assuming that equality on α is decidable.
List.offDiag l is the product l.product l with the diagonal removed.
Instances For
@[simp]
List.offDiag l has no duplicates iff the original list has no duplicates.