Skip to content
Snippets Groups Projects

Add scripts for proof state recording and interspersing

Merged Björn Brandenburg requested to merge proof-recorder into master

This MR adds two new scripts:

  • scripts/record-proof-state.py, which runs a .v file through coqtop and records the interactions as a JSON or YAML file, and
  • scripts/intersperse-proof-state.py, which annotates a .v file by injecting the recorded proof state as a comment after each step of a proof.

I believe this will be helpful for studying and teaching how to work with Coq/Prosa.

This MR also hooks this up with GitLab CI to auto-generate documentation with interspersed proof state. You may see an example here: rt.restructuring.analysis.edf.optimality.html

Here's the tree: http://prosa.mpi-sws.org/branches/proof-recorder/with-proofs-and-proof-state/tree.html

Please let me know if you have any comments or suggestions.

CC: @sophie @mlesourd @sbozhko @proux @borni @mmaida

Merge request reports

Pipeline #21347 passed

Pipeline passed for 8fa7605a on proof-recorder

Approval is optional

Merged by Björn BrandenburgBjörn Brandenburg 5 years ago (Nov 19, 2019 4:18pm UTC)

Merge details

  • Changes merged into master with 8fa7605a.
  • Deleted the source branch.

Pipeline #21351 passed

Pipeline passed for 8fa7605a on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading