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

Significant proof checking refactoring #46

Open
wants to merge 26 commits into
base: v2.3.1-dev
Choose a base branch
from

Conversation

K-dizzled
Copy link
Collaborator

The version increment is minor, yet the changes are significant. The main focus of this release was to improve interaction with the coq-lsp server. We now completely got rid of temporary files in the extension part of CoqPilot. This was done thanks to ejgallego and his improvements in coq-lsp. Now checking of proofs is done via the proof/goals request via command parameter, which is much more reliable and faster. Now a single lsp server is created for the plugin until being explicitly closed, and it tracks changes in the file. If you are using coq-lsp plugin itself, it will help you to always keep track of whether file is checked or not. When CoqPilot is ran on a completely checked file, it will not bring any significant overhead apart from requests to the Completion Services.

K-dizzled and others added 26 commits July 29, 2024 16:05
Refactored CoqLspClient and CoqProofChecker to use getGoals pretac to
check proofs instead of manually modifying the file.

ToDo: Get rid of temporary files at all, request completion only on the
current document. At least in the plugin iteslf (not in benchmarks)
Reference issue: JBRes-1857
Now it doesn't have a responsibility to manage opening/closing files,
the outer class calling it should be responsible for it. As we have
different scenarios of communication with LSP from Plugin/Becnhmark,
this is still in development. Get rid of Aux files.
Now it depends on the particular chosen Ranker. It is computed iff. ranker requires unwrapped notations.
…bort

Sketch aborting the completion generation through `AbortSignal`
@K-dizzled K-dizzled changed the base branch from main to v2.3.1-dev October 27, 2024 23:54
@K-dizzled K-dizzled changed the title Significant proof checking refoctoring Significant proof checking refactoring Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant