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

Eliminate parsing of proof scripts #21

Open
kiranandcode opened this issue Aug 4, 2022 · 1 comment
Open

Eliminate parsing of proof scripts #21

kiranandcode opened this issue Aug 4, 2022 · 1 comment
Labels
long-term Longer term requests

Comments

@kiranandcode
Copy link
Member

Currently the mechanism for handling old proofs is very ad-hoc - it involves parsing the old proof script using Coq, and then extracting the raw ast of any expressions in the proof script into our internal logical expression encoding.

This is problematic as it relies on the user adhering to particular proof styles, and is also very fragile - if the user defines additional notations, etc. we may misinterpret the resulting ast and waste time on ill-typed invariants.

A better approach would be to operate on the old proof term directly, analyze it and extract expressions from the proof term itself. This way, we are agnostic to the tactics and proof style and notations, and instead can observe exactly the expressions used by the user.

@kiranandcode
Copy link
Member Author

Shifting our analysis of the old proof from the script to the proof term would also pave the way towards more principaled analyses of old proofs.

@kiranandcode kiranandcode added the long-term Longer term requests label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-term Longer term requests
Projects
None yet
Development

No branches or pull requests

1 participant