Zulip Chat Archive

Stream: mathlib4

Topic: Deprecating `Order.Nat`


Jeremy Tan (May 18 2025 at 00:19):

I repurposed #16408 to deprecate Order.Nat. @Yaël Dillies was against this PR.

But I don't agree, and I still want this PR to go through.

Andrew Yang (May 18 2025 at 00:27):

I personally don't think OrderBot ℕ and NoMaxOrder ℕ should live in Mathlib/Order/BoundedOrder/Basic.lean and it should be in a separate file.

Jireh Loreaux (May 18 2025 at 04:47):

I agree with Yaël here.

Yury G. Kudryashov (May 20 2025 at 01:02):

On github, I've said that I have no opinion here. After reading more, I agree with Yael. Nat.find finds the least element of a nonempty set, so it make sense that this fact lives in Order.Nat.

Yury G. Kudryashov (May 20 2025 at 01:52):

If no maintainer voices support for this change in 72h, then I'm going to close this PR.


Last updated: Dec 20 2025 at 21:32 UTC