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

Use calculateCuts in elim to ignore cyclic constraints instead of crashing #674

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

K9-guardian
Copy link

@K9-guardian K9-guardian commented Jan 16, 2024

Currently Language.Fixpoint.Horn.Transformations.elim crashes the program if the constraint contains cycles. As outlined in ICFP2017, the intended behavior should be to ignore the cyclic constraints and use predicate abstraction to solve them. This change uses calculateCuts to remove the set of refinement variables that cause the constraint to be cyclic before running the elimination algorithm.

@ranjitjhala
Copy link
Member

Thanks @K9-guardian !! I’m traveling atm but have started the CI … will take a closer look and merge when back in town tomorrow!

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.

2 participants