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

Revise implementation of the forgetBranch cheatcode #943

Open
lucasmt opened this issue Jan 23, 2025 · 0 comments
Open

Revise implementation of the forgetBranch cheatcode #943

lucasmt opened this issue Jan 23, 2025 · 0 comments

Comments

@lucasmt
Copy link
Contributor

lucasmt commented Jan 23, 2025

We shoudn't be returning a Step here, because that indicates taking a rewrite step of depth 1. We should instead be returning an abstraction.

That makes me think, we could maybe integrate this into abstract_node, it's used here by the exploration: https://github.com/runtimeverification/k/blob/547e2cc337d08ba19820a3c22956091c0a9aebf8/pyk/src/pyk/kcfg/explore.py#L227. And KEVM's node abstractor is here: https://github.com/runtimeverification/evm-semantics/blob/b40fd7b09fd79dcb3fa13fc6d8f9a02451e8a475/kevm-pyk/src/kevm_pyk/kevm.py#L125.

So that could look for the correct pattern, and remove the appropriate constraints.

Originally posted by @ehildenb in #899 (comment)

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

No branches or pull requests

1 participant