Zulip Chat Archive

Stream: mathlib4

Topic: Splitting the LinearOrder instance on Nat


Jeremy Tan (Sep 01 2024 at 15:45):

In branch#nattwist I split the LinearOrder instance on Nat into its own file, splitting two files which partially depend on it and adjusting the imports.

It builds now, but is it a good idea? Is it wanted?

Yaël Dillies (Sep 01 2024 at 15:47):

This was already done and reverted by @Ruben Van de Velde, so probably "no"

Jeremy Tan (Sep 01 2024 at 15:48):

There are still two TODOs in master referring to #13092

Jeremy Tan (Sep 01 2024 at 15:48):

Which was why I did this shuffle privately in the first place

Jeremy Tan (Sep 01 2024 at 15:49):

https://github.com/leanprover-community/mathlib4/blob/06d443eab23c40af08453ebbcf97bd546f793a46/Mathlib/Data/Nat/Defs.lean#L62


Last updated: May 02 2025 at 03:31 UTC