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
|
||
|---|---|---|
| .. | ||
| basic.lean | ||
| default.lean | ||
| int.md | ||
| order.lean | ||