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

Detect nested patterns as smaller in the termination checker #1524

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented Sep 7, 2022

Closes #1462.

Previous to this pr only nested variables were detected to be smaller than the pattern. So if a pattern was suc (suc n) the variable n were detected to be smaller. After this pr, suc n is also detected to be smaller.

@janmasrovira janmasrovira added this to the 0.2.5 milestone Sep 7, 2022
@janmasrovira janmasrovira self-assigned this Sep 7, 2022
@lukaszcz lukaszcz merged commit e3dbb30 into main Sep 12, 2022
@lukaszcz lukaszcz deleted the fix-termination branch September 12, 2022 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Juvix should understand Suc (suc n) is structurally larger than suc n.
4 participants