Zulip Chat Archive
Stream: mathlib4
Topic: mem_pair
Dan Velleman (Feb 07 2024 at 17:24):
Is there a reason why mathlib has List.mem_pair
and ZFSet.mem_pair
, but not Set.mem_pair
?
Kyle Miller (Feb 07 2024 at 17:39):
Here's recent discussion about this: https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/More.20API.20for.20pair.20sets.3F/near/418521695 (I'm didn't read all of it, so I'm not sure what sort of conclusion was reached.)
Eric Rodriguez (Feb 07 2024 at 19:31):
I think it'd be really good for definitions that have fancy non-obvious syntax like this to have much better hovers. (I'm thinking Finsupp.single & update too, which have a really pretty notation, but unless you know what they're formed of, sometimes it's hard to prove things about it)
Last updated: May 02 2025 at 03:31 UTC