feat(library/data/rat/order): define abs and sign for rat before migrate
This commit is contained in:
parent
d41e055d1c
commit
17c07cdb02
1 changed files with 12 additions and 11 deletions
|
@ -219,7 +219,8 @@ section
|
||||||
mul_pos := @mul_pos,
|
mul_pos := @mul_pos,
|
||||||
decidable_lt := @decidable_lt⦄
|
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
|
||||||
|
|
||||||
end rat
|
end rat
|
||||||
|
|
Loading…
Reference in a new issue