Commit 2025-08-05 23:45 9845f69f
View on Github →feat: replace aesop_cat with a configurable discharger (#27938) This PR
- replaces
aesop_cat
withcat_disch
- by default,
cat_disch
calls the original implementation ofaesop_cat
- but an option configures it to call
grind
instead - and adds logging options
To make further use of
grind
in the category theory library:
- Turn on
set_option mathlib.tactic.category.log_aesop
. - Run
lake build
- In files that report they are using
aesop
as 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_cat
which starts switching over to thegrind
based discharger. It can close many goals thataesop_cat
can't. This looks like a huge PR, but besides the changes toMathlib/CategoryTheory/Category/Basic.lean
andMathlib/CategoryTheory/Category/Init.lean
, all other changes are search and replaceby aesop_cat
toby cat_disch
.