company-coq
company-coq copied to clipboard
Feature Request: autoreplacing [intuition]
There is the following procedure for speeding up Coq developments and making them more robust to changes which is crying out for automation. I'm not sure if company-coq is the right level to implement the automation at, but you might know better than me.
-
Find an instance of
intuition
-
Replace it with
intuition debug auto with *
, and execute the line -
Take only the lines with
(* success *)
in the debug output -
For each of these rules:
a. Search the output of
Print Hint *
for the rule (harder with external hints, but probably doable) b. Search upwards from each occurrence to the first instance of^In the database \(.*\):
-
Take all of the database names, sort them, and deduplicate them
-
replace
intuition debug auto with *
withintuition auto with <list of databases>
Nice idea. Remember to look for core and use nocore if no core hints are used!
Also, it's not just intuition - the other tactics that are implicitly "auto with *" are dintuition and firstorder.