I also had to mark the coercions as reducible.
Otherwise, given the constraint
?M (int.of_num 0) =?= (int.of_nat (nat.to_nat 0))
the unifier will not generate the solution
?M := fun x, x
|
||
|---|---|---|
| .. | ||
| algebra | ||
| data | ||
| hott | ||
| logic | ||
| tools | ||
| .gitignore | ||
| .project | ||
| classical.lean | ||
| general_notation.lean | ||
| library.md | ||
| Makefile | ||
| priority.lean | ||
| standard.lean | ||