Zulip Chat Archive
Stream: mathlib4
Topic: tactic combinator to require that a tactic changes the goal?
Scott Morrison (Jun 07 2023 at 00:22):
Some tactics (annoyingly!) don't fail if they don't make any changes. I recall at some point there being a combinator that checked that an enclosed tactic block did something, and failed otherwise. Can anyone point me to this?
Scott Morrison (Jun 07 2023 at 00:24):
fail_if_no_progress
(the shame of having to ask motivated me to look harder, sorry :-)
Thomas Murrills (Jun 07 2023 at 00:55):
Just in case it’s relevant, if you need config options, I hope to put a WIP PR which adds a bunch of them out for review soon…feel free to make feature requests :)
Last updated: Dec 20 2023 at 11:08 UTC