Skip to content

Disallow asserting expressions in axioms#858

Merged
marcoeilers merged 1 commit into
masterfrom
meilers_disallow_asserting_in_axioms
Mar 19, 2025
Merged

Disallow asserting expressions in axioms#858
marcoeilers merged 1 commit into
masterfrom
meilers_disallow_asserting_in_axioms

Conversation

@marcoeilers

Copy link
Copy Markdown
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
@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