Zulip Chat Archive
Stream: Is there code for X?
Topic: List.eraseDups.Nodup
Snir Broshi (Feb 01 2026 at 16:25):
docs#List.eraseDups has almost no API, but I expected a Nodup theorem to at least exist.
Does anyone care about this def, or is there a replacement in Mathlib with more API?
Ruben Van de Velde (Feb 01 2026 at 18:09):
We recently had a discussion about this and... eraseDup? Is this the one that's kept?
Robin Arnez (Feb 01 2026 at 18:35):
docs#List.dedup has more API
Snir Broshi (Feb 01 2026 at 23:03):
Nice! Should we try to upstream some? What was the previous discussion?
Robin Arnez (Feb 01 2026 at 23:06):
#batteries > Where should List.mem_eraseDup and List.mem_eraseDups l...
Last updated: Feb 28 2026 at 14:05 UTC