-
Notifications
You must be signed in to change notification settings - Fork 162
pyk: context-aware sort-parameter inference in add_sort_params (port of Java AddSortInjections) #4915
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
Draft
ehildenb
wants to merge
25
commits into
develop
Choose a base branch
from
sort-handling-improvements
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+773
−36
Draft
pyk: context-aware sort-parameter inference in add_sort_params (port of Java AddSortInjections) #4915
Changes from 6 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2d302c6
test_definition: add unit tests for KDefinition sort(), resolve_sorts…
ehildenb 2c635f2
test_definition: convert to pytest parametrization, add extra test cases
ehildenb bcc2dfc
test_definition: add unit tests for add_cell_map_items guard
ehildenb e8671f1
outer: sort() handles KAs and unfilled KApply; resolve_sorts() recurs…
ehildenb f6a136f
outer: add_sort_params() handles nested sort params and ML pred resul…
ehildenb f4a7648
outer: add_cell_map_items wraps only when parent expects cell map sort
ehildenb 1182496
outer: assert at most one unbound sort param when using ML pred sentinel
ehildenb 3bd229b
Merge remote-tracking branch 'upstream/develop' into sort-handling-im…
ehildenb a53e362
outer, test_definition: replace assert with NotImplementedError for m…
ehildenb c9a4210
outer, test_definition: warn when user-defined label has unresolvable…
ehildenb 5ff5f45
outer, test_definition: port Java AddSortInjections direct sort param…
ehildenb 01efa88
Merge remote-tracking branch 'upstream/develop' into sort-handling-im…
ehildenb 69a35ff
outer, test_definition: infer_sort_params returns (bindings, inferred…
ehildenb 0c936a7
outer: fix _resolve_sort_partial docstring for pydocstyle
ehildenb 3bfecf2
Merge remote-tracking branch 'upstream/develop' into sort-handling-im…
ehildenb de7cd27
test_definition: add regression tests for sort-inference bugs (infer_…
ehildenb b282078
outer: report ML-predicate sort conflicts in add_sort_params instead …
ehildenb 26bbeb4
outer: fix infer_sort_params matchExpected to test declared argument …
ehildenb 4c59f1b
outer: add set-based least_upper_bound, use it for infer_sort_params …
ehildenb 78c766f
prelude/k, konvert/_kast_to_kore, outer: fail clearly on #SortParam s…
ehildenb 0cae626
pyk/docs: date-prefix pipeline, regression-triage filenames for chron…
ehildenb a35b570
inner, outer, test_{inner,definition}: replace _sort_contains helper …
ehildenb 0c28054
outer, test_definition: rewrite add_sort_params as top-down/bottom-up…
ehildenb 5411b3f
outer, test_definition: drop dead infer_sort_params/_resolve_sort_par…
ehildenb a443801
Merge remote-tracking branch 'upstream/develop' into sort-handling-im…
ehildenb 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
Some comments aren't visible on the classic Files Changed page.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.