-
Notifications
You must be signed in to change notification settings - Fork 44
Simplify side conditions #2393
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
Merged
Merged
Simplify side conditions #2393
Changes from 10 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6279d8b
Add side condition simplifier
ana-pantilie e2712ad
Do not simplify conditions with themselves as the side condition
ana-pantilie 019ece4
Move SideCondition simplification to Pattern simplifier
ana-pantilie 10a3da1
Remove unused import
ana-pantilie 827bc7e
Remove unused instance
ana-pantilie 3772fc7
Use condition simplifier in side condition simplifier
ana-pantilie e8e9b03
Add integration test from frontend suite
ana-pantilie 39391a3
Move side condition simplifier to pattern simplifier
ana-pantilie d270511
Add simple tests for simplifySideCondition
ana-pantilie 4f6745b
Add export
ana-pantilie 13b511a
New pattern condition is simplified side condition; add unit test
ana-pantilie 0aa413a
Side condition simplifier simplifies Conditions
ana-pantilie 4b59413
Move to Condition simplifier, mark final conjunction as simplified
ana-pantilie 2baa22a
Fix unit tests
ana-pantilie d7a6535
Temp: some clean-up with debugging traces
ana-pantilie 610243c
TermLike.simplify: assertion only checks for Fully simplified, ignore…
ana-pantilie a24c331
Integration test changes
ana-pantilie c577433
Some clean-up
ana-pantilie c662a65
Merge remote-tracking branch 'origin/master' into side-condition-simp…
ana-pantilie d07845f
General clean-up
ana-pantilie 68062ca
Add simple unit tests
ana-pantilie 70d955b
Add documentation
ana-pantilie ed69643
Update kore/src/Kore/Attribute/Pattern/Simplified.hs
ana-pantilie fe45338
Review: rename isSimplified... functions
ana-pantilie 494bb21
Merge branch 'master' into side-condition-simplification
ana-pantilie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me make sure I understand this correctly: The
SideCondition
comprised of all simplifiedPredicate
s is held in theState
. At each step, we combine that with theSideCondition
from all (other) un-simplifiedPredicate
s, and use the combination to simplify the currentPredicate
. Then we update the storedSideCondition
. Is that right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right.