Target minimal changes in proof / goal outputs with --minimize-for-first-proof-diff
#252
Labels
big task
enhancement
help wanted
minimize more
Issues related to getting the minimizer to do more minimization
Extend the minimizer with a
--minimize-for-first-proof-diff
which can (a) insertShow.
between every statement in the proof, and (b) replace;
with. all:
. Then it can look for the first line where the goals differ, runSet Printing All.
and write an Ltac2 tactic to check that the goal and hyps match the succeeding version, and insert that tactic check in the code. Probably there can even be another pass that attempts to generalize over evars to ensure the behavior is not tied to some complicated issue with evars, shelve irrelevant goals, and then to look for the last evar-free goal before the error behavior, and write that out explicitly as aGoal
.Originally posted by @JasonGross in rocq-prover/rocq#20177 (comment)
The text was updated successfully, but these errors were encountered: