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

Slicing for Correctness: Only emit slice warnings if statement can be sliced in all procs it occurs #51

Open
Philipp15b opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Philipp15b
Copy link
Collaborator

Some proof rules copy statements into multiple locations. For example, the k-induction rule copies the loop body, or the AST rule encoding generates multiple procs and coprocs with the loop body. If the slice solver determines that a statement can be sliced in one particular location, the corresponding message must only be emitted only if it can be sliced in every occurrence.

Note that the situation is not as annoying when slicing for errors: there we can just emit the message whenever the statement is part of at least one error.

@Philipp15b Philipp15b added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant