feat(library/data/rat/order): define abs and sign for rat before migrate

This commit is contained in:
Leonardo de Moura 2015-04-27 12:59:02 -07:00
parent d41e055d1c
commit 17c07cdb02

View file

@ -219,7 +219,8 @@ section
mul_pos := @mul_pos,
decidable_lt := @decidable_lt⦄
-- migrate from algebra with rat
definition abs (n : rat) : rat := algebra.abs n
definition sign (n : rat) : rat := algebra.sign n
migrate from algebra with rat replacing abs → abs, sign → sign
end
end rat