Zulip Chat Archive

Stream: general

Topic: Moving order structures to mathlib


Yaël Dillies (Aug 20 2022 at 17:09):

Mario Carneiro said:

Oh, I just realized that one of the areas I was most looking forward to refactoring as a result of the move, the stuff on order structures, was not included as part of the big move. Have we looked at giving the same treatment to the preorder, partial_order, linear_order classes in core?

What's the plan now? Is it still in the realm of possibilities to move preorder, partial_order, linear_order to mathlib?

Johan Commelin (Aug 20 2022 at 17:10):

What are the cons and pros in your eyes?

Yaël Dillies (Aug 20 2022 at 17:16):

Pros:

  • Better flexibility for the very beginning of the order hierarchy
  • No need to have weird lists of "lemmas missing in core"

Cons:

  • Unknown amount to be pulled out of core/duplicated before that happens. I was tricked by docgen into thinking we were close, so I opened lean#629 a while back.

Last updated: Dec 20 2023 at 11:08 UTC