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

Make SM definitions non-global if necessary #840

Merged
merged 4 commits into from
May 5, 2024

Conversation

marcoeilers
Copy link
Contributor

It seems to be necessary if their definition refers to quantified variables.

Before this change, definitions of snapshot maps that were defined during the evaluation of a quantifier were marked as global even if they referred to quantified variables. Thus, after the quantifier body was evaluated and auxiliary definitions were emitted, said quantified variables were not actually quantified over, and thus the definitions still refer to the arbitrary-but-fixed value of the quantified variable used during the evaluation of the quantifier body, when instead the maps should be defined for all values of the quantified variables.

This fixes #832 and #311.

@marcoeilers marcoeilers enabled auto-merge (squash) May 5, 2024 11:06
@marcoeilers marcoeilers merged commit c254ba5 into master May 5, 2024
4 checks passed
@marcoeilers marcoeilers deleted the meilers_make_sm_defs_non_global_if_necessary branch July 1, 2024 13:32
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.

Quantifier with predicates/predicates with quantifiers interfere with each other
1 participant