Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(init/algebra/order): remove decidable instances from linear_order #628

Closed
wants to merge 2 commits into from

Conversation

semorrison
Copy link
Contributor

I have not yet investigated what this does to mathlib!

@semorrison semorrison added the rfc label Oct 15, 2021
(decidable_eq : decidable_eq α := @decidable_eq_of_decidable_le _ _ decidable_le)
(decidable_lt : decidable_rel ((<) : α → α → Prop) :=
@decidable_lt_of_decidable_le _ _ decidable_le)
(max : α → α → α := @max_default α _ _)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should still keep max in linear_order (or maybe add a has_sup class) so that you can override it with a more efficient (or defeq) version.

@semorrison
Copy link
Contributor Author

@digama0 expressed some reservations about making this change on zulip: https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/move.20init.2Ealgebra.2Eorder.20from.20core.20to.20mathlib.3F

I'll close this for now unless someone has strong opinions to the contrary.

@semorrison semorrison closed this Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants