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

Disallow asserting expressions in axioms #858

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

marcoeilers
Copy link
Contributor

Since axioms are not checked for well-definedness, there is no point in using asserting expressions in axioms; the assertion would never be checked. Thus, this PR introduces a consistency check that forbids asserting-expressions in axioms.

This indirectly fixes viperproject/silicon#911.

@marcoeilers marcoeilers enabled auto-merge (squash) March 19, 2025 16:44
@marcoeilers marcoeilers merged commit 0fc6017 into master Mar 19, 2025
5 checks passed
@marcoeilers marcoeilers deleted the meilers_disallow_asserting_in_axioms branch March 19, 2025 17:05
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

Successfully merging this pull request may close these issues.

Missing case in ExpressionTranslator
1 participant