Theorems · Theorem · combinatorics
List.Pairwise.destutter_eq_dedup
∀ {α : Type u_1} [inst : DecidableEq α] {r : α → α → Prop} [Std.Antisymm r] {l : List α},
List.Pairwise r l → List.destutter (fun x1 x2 => x1 ≠ x2) l = l.dedupIf the elements of a list l are related pairwise by an antisymmetric relation r, then
destuttering l by disequality produces the same result as deduplicating l.
This is most useful when r is a strict or weak ordering.
- Defined in
- Mathlib.Data.List.Destutter
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 22 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidableEqStd.Antisymm
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites2
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- List.dedupstatement · cited by 47
- List.destutterstatement · cited by 25
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.