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

Hotfix sortk equality issue #4074

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Hotfix sortk equality issue #4074

merged 2 commits into from
Nov 22, 2024

Conversation

jberthold
Copy link
Member

Several errors were reported on slack which involve an erroneous injection inj{SortK, SortKItem}(_).

The reason was within the internalisation of \equals by booster: equals(A:SortK, B:SortK) was internalised to inj{SortK,SortKItem}(A) ~> .K ==K inj{SortK,SortKItem}(B) ~> .K instead of simply A ==K B.

In the investigated case, the problem surfaced when a fallback returned #Not (#Equals (_:SortK, _: SortK)), which then caused a failure when re-internalising the result to do further execution steps. The added integration tests do not fully reproduce this crash but cause ill-sorted output which will be detected if the error is reintroduced.

@jberthold jberthold requested a review from geo2a November 22, 2024 06:47
@jberthold jberthold marked this pull request as ready for review November 22, 2024 06:50
@jberthold jberthold merged commit 74322a5 into master Nov 22, 2024
6 checks passed
@jberthold jberthold deleted the HOTFIX-sortk-equality-issue branch November 22, 2024 21:45
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