Zulip Chat Archive
Stream: mathlib4
Topic: NoMaxOrder.infinite
Violeta Hernández (Oct 30 2024 at 04:41):
The docstring says this isn't an instance to avoid a cycle. But in Lean 4 this shouldn't be an issue anymore, right?
Violeta Hernández (Oct 30 2024 at 04:41):
Anne Baanen (Oct 30 2024 at 08:59):
Yes, in Lean 4 the rule is that cycles are allowed as long as literally the same thing appears when the cycle completes. So indeed Infinite α → Nontrivial α → Nonempty α → Infinite α
should be okay to add. But for example, we couldn't allow the implication Nonempty (α × β) → Nonempty α
as an instance.
Kevin Buzzard (Oct 30 2024 at 11:58):
Oh thank you for the loop explanation Anne! I remembered from years ago the claim that in lean 4 TC loops would be allowed, but sometimes when I'd tried them they had caused problems and I had incorrectly concluded that the original claim had been dropped somehow.
Violeta Hernández (Oct 30 2024 at 18:34):
Jireh Loreaux (Oct 30 2024 at 19:27):
Yes, this is very enlightening. Thanks!
Last updated: May 02 2025 at 03:31 UTC