Zulip Chat Archive
Stream: Is there code for X?
Topic: Direct product of posets
Violeta Hernández (Dec 04 2021 at 03:44):
As the title says
Violeta Hernández (Dec 04 2021 at 03:44):
There's lexicographic ordering, which is the default, but I can't find the direct product
Violeta Hernández (Dec 04 2021 at 03:44):
Just as recap: the direct product on α × β
is such that (a, b) ≤ (c, d)
iff a ≤ c
and b ≤ d
Violeta Hernández (Dec 04 2021 at 03:47):
(in symbols, λ a b : α × β, a.fst ≤ b.fst ∧ a.snd ≤ b.snd
)
Kyle Miller (Dec 04 2021 at 04:14):
I believe that's the default, actually. docs#prod.partial_order
If you want the lexicographic ordering, you have to use lex α β
(docs#lex)
Last updated: Dec 20 2023 at 11:08 UTC