Keeping track of correlated pieces of code in annotations and generated Rocq files #14
Labels
No labels
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Blocks
#13 Complete code lenses to jump to proofs
code2rocq/imp2rocq
Reference
code2rocq/imp2rocq#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So in our generated proof skeleton, some lines/strings correlate exactly to a string in our Imp annotations/comments. Initially they will be exactly the same. We need some smart system/data structure to keep track of pieces of the generated file that depends on the Imp comment for keeping them in sync. And vice versa we need to be able to translate back from the proof skeleton to the position in the comment for propagating diagnostics from the vsrocq lsp.