Zulip Chat Archive

Stream: maths

Topic: Partial order on `FunLike`


Yury G. Kudryashov (Aug 05 2023 at 23:15):

What do you think about introducing a generic [FunLike F α β] [∀ a, PartialOrder (β a)] : PartialOrder F instance with f ≤ g defined as ∀ x, f x ≤ g x?

Yury G. Kudryashov (Aug 05 2023 at 23:15):

(more precisely, we'll need LE/Preorder/PartialOrder)

Yury G. Kudryashov (Aug 05 2023 at 23:16):

Is there a FunLike with a different order?

Yaël Dillies (Aug 06 2023 at 07:54):

I don't know of any other order, no.

Eric Wieser (Aug 06 2023 at 08:06):

Is Lex F (where F is FunLike) Funlike?

Yaël Dillies (Aug 06 2023 at 08:37):

Not yet, but it could be made to be

Antoine Chambert-Loir (Aug 06 2023 at 13:46):

Yaël Dillies said:

I don't know of any other order, no.

If alpha is Fin n, or the like, then there is also the lexicographic order with all its variants.

Anatole Dedecker (Aug 06 2023 at 21:09):

I don't know any case where that would cause a diamond in current mathlib, but instinctively that sounds like a bad idea :sweat_smile:


Last updated: Dec 20 2023 at 11:08 UTC