feat(library/data/rat/order): use 'trans-instance' to improve performance of migrate command

This commit is contained in:
Leonardo de Moura 2015-07-01 08:57:10 -07:00
parent 14f7e3de94
commit 0f64a6e545

View file

@ -306,8 +306,9 @@ section migrate_algebra
zero_lt_one := zero_lt_one,
add_lt_add_left := @add_lt_add_left⦄
local attribute rat.discrete_linear_ordered_field [trans-instance]
local attribute rat.discrete_field [instance]
local attribute rat.discrete_linear_ordered_field [instance]
definition min : := algebra.min
definition max : := algebra.max
definition abs : := algebra.abs