Commit 2025-08-05 23:45 9845f69f
View on Github →feat: replace aesop_cat with a configurable discharger (#27938) This PR
- replaces
aesop_catwithcat_disch - by default,
cat_dischcalls the original implementation ofaesop_cat - but an option configures it to call
grindinstead - and adds logging options
To make further use of
grindin the category theory library:
- Turn on
set_option mathlib.tactic.category.log_aesop. - Run
lake build - In files that report they are using
aesopas the discharger, addset_option mathlib.tactic.category.grind true(and leave this set in your PR), and fix any problems. - Eventually, we can consider changing over the defaults.
I have a branch
grind_catwhich starts switching over to thegrindbased discharger. It can close many goals thataesop_catcan't. This looks like a huge PR, but besides the changes toMathlib/CategoryTheory/Category/Basic.leanandMathlib/CategoryTheory/Category/Init.lean, all other changes are search and replaceby aesop_cattoby cat_disch.