Zulip Chat Archive

Stream: Is there code for X?

Topic: sum.lex and prod.lex as rel_embeddings


Violeta Hernández (Jul 14 2022 at 13:32):

Specifically, the obvious embeddings r ↪r sum.lex r s, s ↪r sum.lex r s, and the embeddings r ↪r prod.lex r s and s ↪r prod.lex r s given an element in the other type

Violeta Hernández (Jul 14 2022 at 13:33):

Would also be nice to have things like s ↪r t → sum.lex r s ↪r sum.lex r t

Violeta Hernández (Jul 14 2022 at 13:34):

We could lift a lot of these into initial segments, and use them to golf the basic ordinal API

Eric Wieser (Jul 14 2022 at 13:48):

Do we have these for the specialization to ≤?

Violeta Hernández (Jul 14 2022 at 14:21):

I doubt it, we don't have any special way to write sum.lex (≤) (≤)

Violeta Hernández (Jul 14 2022 at 14:21):

As far as I'm aware

Yaël Dillies (Jul 14 2022 at 14:22):

docs#sum.lex.preorder

Yaël Dillies (Jul 14 2022 at 14:23):

The special way to write sum.lex (≤) (≤) is (≤).

Violeta Hernández (Jul 14 2022 at 14:28):

Well, there's a few lemmas about order isomorphisms but I can't see anything about relation embeddings

Eric Wieser (Jul 14 2022 at 14:58):

Yaël Dillies said:

The special way to write sum.lex (≤) (≤) is (≤).

No it's not, it's (≤) on to_lex

Eric Wieser (Jul 14 2022 at 15:00):

docs#sum.lex.to_lex_mono is the statement I'm thinking of, I guess we don't have the bundling. Maybe we have the bundled sum.inl for docs#sum.preorder

Eric Wieser (Jul 14 2022 at 15:01):

Again no bundling, but we have src#sum.lex.inl_mono

Violeta Hernández (Jul 14 2022 at 15:04):

I guess I could prove the bundled versions on arbitrary relations and then use those to golf these theorems

Eric Wieser (Jul 14 2022 at 15:07):

src#sum.lex.to_lex_mono isn't exactly in need of further golfing

Violeta Hernández (Jul 14 2022 at 15:15):

Wait a second

Violeta Hernández (Jul 14 2022 at 15:15):

That doesn't seem right

Violeta Hernández (Jul 14 2022 at 15:16):

docs#order_iso.sum_comm

Violeta Hernández (Jul 14 2022 at 15:17):

Oh wait nevermind, that's not the same relation

Violeta Hernández (Jul 14 2022 at 16:07):

#15355


Last updated: Dec 20 2023 at 11:08 UTC