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

Arithmetic simplification #2454

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Arithmetic simplification #2454

merged 2 commits into from
Oct 23, 2023

Conversation

lukaszcz
Copy link
Collaborator

Simplifies arithmetic expressions in the Core optimization phase, changing e.g. (x - 1) + 1 to x. Such expressions appear as a result of compiling pattern matching on natural numbers.

@lukaszcz lukaszcz added enhancement New feature or request core Related to JuvixCore optimization labels Oct 19, 2023
@lukaszcz lukaszcz added this to the 0.5.3 milestone Oct 19, 2023
@lukaszcz lukaszcz self-assigned this Oct 19, 2023
@lukaszcz lukaszcz marked this pull request as draft October 19, 2023 16:18
@lukaszcz lukaszcz marked this pull request as ready for review October 19, 2023 16:34
janmasrovira
janmasrovira previously approved these changes Oct 20, 2023
@lukaszcz lukaszcz merged commit cdfb35a into main Oct 23, 2023
4 checks passed
@lukaszcz lukaszcz deleted the arithmetic-optimization branch October 23, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to JuvixCore enhancement New feature or request optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants