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

Option --extra-module for including lemmas modules dynamically in kontrol prove #883

Merged
merged 10 commits into from
Nov 27, 2024

Conversation

ehildenb
Copy link
Member

@ehildenb ehildenb commented Nov 12, 2024

Blocked on: runtimeverification/k#4681
Blocked on: runtimeverification/evm-semantics#2654
Blocked on: #895

Part of: #149

This adds an option to kontrol prove called --extra-module <FILE_NAME>:<MODULE_NAME> which allow specifying an extra file with a module that contains new lemmas to be included in the proof context dynamically.

This will allow a user to, for example, remove a node corresponding to a spurious branch and re-run through that node with an additional body of lemmas to see if that body of lemmas allows pruning the branch without rebuilding the whole project.

Currently, this does add something like 40s to prove time to parse the additional module, which I guess is better than the overhead associated with kontrol build ... anyway.

src/kontrol/prove.py Outdated Show resolved Hide resolved
@palinatolmach palinatolmach self-requested a review November 26, 2024 21:26
@ehildenb ehildenb marked this pull request as ready for review November 27, 2024 16:49
@rv-jenkins rv-jenkins merged commit 564eef6 into master Nov 27, 2024
12 checks passed
@rv-jenkins rv-jenkins deleted the lemmas-in-prove branch November 27, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants