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

Update/generalize option to include lemmas at prove time #979

Merged
merged 10 commits into from
Apr 1, 2025

Conversation

ehildenb
Copy link
Member

@ehildenb ehildenb commented Mar 7, 2025

Blocked on: runtimeverification/k#4771
Blocked on: runtimeverification/evm-semantics#2722

Part of: #977

This PR generalizes the mechanism for including lemmas at prove time in the following ways:

  • The routine for parsing/loading a lemmas file is factored out into its own function.
  • All commands that use rpc_args are allowed to use --lemmas option, which specifies a file/module to include new lemmas from, not just kontrol prove ....
  • The option --extra-module (specific to kontrol prove ...) now gives a warning message that users should use --lemmas, and re-routes the option to that one.
  • Inlines KGenOptions into BuildOptions, as it's the only place it's used now (since command kontrol solc-to-k ... was removed).

@ehildenb ehildenb self-assigned this Mar 7, 2025
automergerpr-permission-manager bot pushed a commit to runtimeverification/k that referenced this pull request Mar 14, 2025
This PR factors out the ability to add KAST level modules to the RPC
server via `CTermSymbolic`, so that the user doesn't need to manually do
the conversions needed for adding such modules. The `APRProver` is
refactored to use this new `CTermSymbolic.add_module` as well.

This is part of
runtimeverification/kontrol#977, and blocking
runtimeverification/kontrol#979.
@ehildenb ehildenb force-pushed the remove-build-lemmas branch from 80471c3 to b6490c4 Compare March 20, 2025 15:16
@ehildenb ehildenb force-pushed the remove-build-lemmas branch from b6490c4 to d23ee0d Compare March 31, 2025 20:54
@ehildenb ehildenb changed the title Remove option to include lemmas at build time Update/generalize option to include lemmas at prove time Mar 31, 2025
@ehildenb ehildenb marked this pull request as ready for review March 31, 2025 23:05
@automergerpr-permission-manager automergerpr-permission-manager bot merged commit 69e12db into master Apr 1, 2025
11 checks passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the remove-build-lemmas branch April 1, 2025 13:09
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