Zulip Chat Archive
Stream: Is there code for X?
Topic: Union of relations
Eric Wieser (Jul 25 2025 at 12:57):
Fabrizio Montesi said:
Giving an API and notation to
Function.Rel(I want union, ... etc.)
Union is already there via r ⊔ s
Fabrizio Montesi (Jul 25 2025 at 13:01):
Eric Wieser said:
Union is already there via
r ⊔ s
Where is it defined? It works but the docs is annoyingly not showing me any instances for Sup currently.
Eric Wieser (Jul 25 2025 at 13:01):
docs#Pi.sup_def is part of it
Fabrizio Montesi (Jul 25 2025 at 13:04):
Ah-ha! Thanks. And I see there's Inf as well.
Eric Wieser (Jul 25 2025 at 13:06):
docs#sup_Prop_eq is the other piece
Fabrizio Montesi (Jul 25 2025 at 13:10):
Skimming rapidly through it. IIUC, the latter file builds the expected lattice on Prop (and as join, or as meet), which can then be picked up by the former. Right?
Fabrizio Montesi (Jul 25 2025 at 13:11):
(Incidentially, order theory is one of the key reasons we depend on mathlib downstream in our research group. Great piece to have.)
Notification Bot (Jul 25 2025 at 13:11):
8 messages were moved here from #mathlib4 > Changing `Rel` to `Set (α × β)`, to help uniform spaces by Eric Wieser.
Last updated: Dec 20 2025 at 21:32 UTC