-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Matching
List
s with opaque rests (#3751)
Fixes #3749 We change the pattern matching algorithm, implemented by `Kore.Rewrite.Axiom.Matcher.patternMatch'`, in two ways: * list concatenation symbols are handled separately from all other symbol applications * lists are allowed to match when both pattern and subject have an opaque rest Minor clean-up: * `Builtin.IndexedModule.MetadataTools.sortAttributes` is made total, the original partial version renamed to `unsafeSortAttributes` * same goes for `getSortAttributes` The PR is ready for review, but the following is left to be done before we can merge: - [x] add the K definition from #3749 as a test for `kore-rpc`
- Loading branch information
Showing
19 changed files
with
2,916 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Simplifying a list concatenation expression | ||
|
||
The rewrite rule in `test.k` introduces a symbolic list expression into the path condition, that is immediately simplified to `true` by the `simplify-size` simplification. | ||
|
||
See the original issue for context: https://github.com/runtimeverification/haskell-backend/issues/3749 |
Oops, something went wrong.