92af727daf
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.) |
||
---|---|---|
.. | ||
algebra | ||
data | ||
examples | ||
init | ||
logic | ||
theories | ||
tools | ||
.gitignore | ||
.project | ||
library.md | ||
standard.lean |