leanprover-community / aesop

White-box automation for Lean 4
Apache License 2.0
155 stars 25 forks source link

Fatal rules #109

Open JLimperg opened 4 months ago

JLimperg commented 4 months ago

Geoffrey Irving asks on Zulip:

Is there some way to report error messages from inside Aesop, if I run a tactic and I know its failure means the rest of the search has to fail? I think if I fail out of a RuleTac it'll bury any error message in the search, but possibly there is a way out of that.

We could allow rules to report a 'fatal failure' which immediately terminates the search.