Zulip Chat Archive

Stream: new members

Topic: sub_lt_self_iff


Liam O'Connor (Sep 09 2021 at 05:04):

I'm trying to use the theorem sub_lt_self from algebra.ordered_group
https://leanprover-community.github.io/mathlib_docs/algebra/ordered_group.html#sub_lt_self
Yet lean can't seem to find it. I imported algebra.ordered_group. What am I doing wrong?

Mario Carneiro (Sep 09 2021 at 05:12):

Do you have an old version of mathlib? If you ctrl-click on import algebra.ordered_group, can you find sub_lt_self in the file?

Liam O'Connor (Sep 09 2021 at 06:05):

Yes, I can see it there

Kevin Buzzard (Sep 09 2021 at 08:54):

Maybe you can try minimising and post a #mwe


Last updated: Dec 20 2023 at 11:08 UTC