We need this improvement to be able to finish Section "Other goodies" described at https://github.com/leanprover/lean/wiki/Refactoring-structures Before this commit, Lean would not be able to solve constraints such as ```lean @has_add.add nat nat.has_add a b =?= @had_add.add ?A ?inst a b ``` The problem is that projections were being reduced eagerly, and the constraint would be reduced to ```lean nat.add a b =?= @had_add.add ?A ?inst a b ``` The new test proj_uniy.lean contains similar unification problems. |
||
|---|---|---|
| .. | ||
| lean | ||
| .gitignore | ||