Zulip Chat Archive
Stream: Is there code for X?
Topic: Monotone.lt_of_lt
Violeta Hernández (Aug 22 2025 at 20:14):
Really simple lemma (with a really simple proof): if f is a monotone function between linear orders, then f x < f y implies x < y.
Violeta Hernández (Aug 22 2025 at 20:15):
Oh wait I found it through some quick loogling, it's docs#Monotone.reflect_lt
Violeta Hernández (Aug 22 2025 at 20:15):
Not the name I would have expected
Antoine Chambert-Loir (Aug 22 2025 at 21:58):
It likely comes from category theory where the concept of reflecting isomorphisms is important.
Junyan Xu (Aug 22 2025 at 22:34):
There is docs#PosMulReflectLT, docs#MulLeftReflectLE etc. too. Interestingly the former uses extends while the latter is an abbrev (of ContravariantClass); I'd guess this is either for performance reasons or an oversight from some refactor ...
Last updated: Dec 20 2025 at 21:32 UTC