[go: up one dir, main page]

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

Add rational parsing to RARE #11282

Merged
merged 11 commits into from
Oct 16, 2024
Merged

Add rational parsing to RARE #11282

merged 11 commits into from
Oct 16, 2024

Conversation

ajreynol
Copy link
Member
@ajreynol ajreynol commented Oct 15, 2024

Also adds a several initial rewrites that are possible now, and some basic support for transcendental elimination rules.

Note this PR also makes it so that cvc5_proof_rule.h is not automatically clang-formatted, since it breaks the documentation in that include file.

This PR also fixes our printer for RARE rules in Eunoia and removes several rules that are subsumed by ARITH_POLY_NORM and had usages of (- 1) which were not being translated to Eunoia properly.

This furthermore fixes an inconsistency with printArithLitToken which would print decimals for integral rationals whereas non-integral rationals would be printed as rationals; now both are printed as rationals.

This fills in 29 trusted proof steps in our regressions.

@ajreynol
Copy link
Member Author

FYI @Lachnitt

@ajreynol ajreynol changed the title Add rational parsing to RARE Add decimal parsing to RARE Oct 15, 2024
@ajreynol ajreynol changed the title Add decimal parsing to RARE Add rational parsing to RARE Oct 15, 2024
Copy link
Member
@abdoo8080 abdoo8080 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@abdoo8080 abdoo8080 added the do not merge Do not merge this PR if you are not the author label Oct 16, 2024
@ajreynol ajreynol added this pull request to the merge queue Oct 16, 2024
@ajreynol ajreynol removed the do not merge Do not merge this PR if you are not the author label Oct 16, 2024
Merged via the queue into cvc5:main with commit ad7ce61 Oct 16, 2024
11 checks passed
@ajreynol ajreynol deleted the rareRational branch October 16, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moderate Complexity normal Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants