Zulip Chat Archive
Stream: maths
Topic: Inf on ordinal
Sebastien Gouezel (Jul 17 2021 at 20:09):
I can't find an has_Inf
instance on ordinal.{u}
. Is there already a canonical way to talk of the smallest ordinal in a set of ordinals (which makes sense as this is well ordered)? @Mario Carneiro , maybe.
Mario Carneiro (Jul 18 2021 at 02:25):
@Sebastien Gouezel There is an indexed min
function, but it's not an instance of anything
Mario Carneiro (Jul 18 2021 at 02:26):
see docs#ordinal.min and docs#ordinal.omin
Mario Carneiro (Jul 18 2021 at 02:28):
I guess omin
could be a has_Inf
instance
Sebastien Gouezel (Jul 18 2021 at 06:51):
Thanks. I'll build a conditionally_complete_linear_order
instance with that.
Last updated: Dec 20 2023 at 11:08 UTC