lean2/library/data/real
Jeremy Avigad 92af727daf fix(library/data/real/{basic,division,order}: use notation for 0 and 1
These changes were needed because e.g. real.add_zero was "x + zero = x", and rewrite
would not match it to a goal "t + 0".

The fix was a lot harder than I expected. At first, migrate failed with resource
errors. In the end, what worked was this: I defined the coercion from num to real
directly (rather than infer num -> nat -> int -> rat -> real).

I still don't understand what the issues are, though. There are subtle issues with
numerals and coercions and migrate.

(We are not alone. Isabelle also suffers from the fact that there are too many
"zero"s and "one"s.)
2015-09-01 14:47:19 -07:00
..
basic.lean fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
bigops.lean feat(library/data/{int,rat,real}/bigops): add bigops for int, rat, real 2015-08-08 17:20:23 -04:00
complete.lean refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
default.lean feat(library/data/{int,rat,real}/bigops): add bigops for int, rat, real 2015-08-08 17:20:23 -04:00
division.lean fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
order.lean fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
real.md feat(library/data/{int,rat,real}/bigops): add bigops for int, rat, real 2015-08-08 17:20:23 -04:00