agda / agda

Agda is a dependently typed programming language / interactive theorem prover.
https://wiki.portal.chalmers.se/agda/pmwiki.php
Other
2.41k stars 339 forks source link

Fix Mimer trying bad recursive calls #7195

Closed UlfNorell closed 3 months ago

UlfNorell commented 3 months ago

Fixes #7116

There were two problems:

The second problem is fixed by restricting variables in recursive calls to their original argument position. In the example above only foo _2 y would be considered a valid recursive call.

This PR also improves the debug logging of Mimer, introducing a mimer.trace debug level (between 10 and 60) that produces a human readable trace of what the proof search is doing.