Zulip Chat Archive
Stream: general
Topic: case bash tactic
Johan Commelin (Oct 19 2018 at 18:04):
@Scott Morrison I incorrectly assumed that your case_bash
tactic was related to the fin
-bashing tactic. Nevertheless I wonder if there is place for a mechanism as follows:
case_bash
goes intotactics/
tidy
takes an optional list of tactics to apply (besides thelocal [attribute]
thing that we use nowadays)- So we can prove thing with
tidy [case_bash]
or something like that.
Does that make sense?
Scott Morrison (Oct 19 2018 at 21:21):
I think you can already override the list of tactics: tidy { tactics := tactic.tidy.default_tactics ++ [foo] }
, although foo
has to be a tactic string
for this to work.
Scott Morrison (Oct 19 2018 at 21:21):
Certainly that can be given nicer syntax, and use some reflection to allow passing more complicated things than just a tactic string
.
Scott Morrison (Oct 19 2018 at 21:21):
(e.g. a tactic A
for any A, a function with arguments that have default values, etc.)
Last updated: Dec 20 2023 at 11:08 UTC