Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimize final proof script #105

Open
JasonGross opened this issue Jan 20, 2022 · 0 comments
Open

Minimize final proof script #105

JasonGross opened this issue Jan 20, 2022 · 0 comments

Comments

@JasonGross
Copy link
Owner

Indeed the minimizer is not great at minimizing errors which occur in the middle or towards the end of long proof scripts. Perhaps I should add a pass which, when the error is due to a proof script, attempts to replace the goal with an equivalent one generated by doing repeat match goal with H : _ |- _ => idtac H; revert H end. Set Printing All. Abort. Goal <printed goal>. intros <hyps>. <rest of the proof script>. and see if that generates an equivalent error. I guess I should also set evars in an attempt to mimic the goal more closely. And I guess we should default to doing this pass (always?), and add --no-minimize-final-proof-script to disable it.

Thanks for tagging me @Alizter !

Originally posted by @JasonGross in coq/coq#15517 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant