Commit 2020-10-27 11:55 e0b153b2
View on Github →refactor(*): drop decidable_linear_order
, switch to Lean 3.22.0 (#4762)
The main non-bc change in Lean 3.22.0 is leanprover-community/lean#484 which merges linear_order
with decidable_linear_order
. This is the mathlib
part of this PR.
List of API changes
- All
*linear_order*
typeclasses now imply decidability of(≤)
,(<)
, and(=)
. - Drop
classical.DLO
. - Drop
discrete_linear_ordered_field
, uselinear_ordered_field
instead. - Drop
decidable_linear_ordered_semiring
, uselinear_ordered_semiring
instead. - Drop
decidable_linear_ordered_comm_ring
, uselinear_ordered_comm_ring
instead; - Rename
decidable_linear_ordered_cancel_add_comm_monoid
tolinear_ordered_cancel_add_comm_monoid
. - Rename
decidable_linear_ordered_add_comm_group
tolinear_ordered_add_comm_group
. - Modify some lemmas to use weaker typeclass assumptions.
- Add more lemmas about
ordering.compares
, includinglinear_order_of_compares
which constructs alinear_order
instance fromcmp
function.