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

Stratify options for smt2/eo, make numeral normalize option #66

Closed
wants to merge 4 commits into from

Conversation

ajreynol
Copy link
Member

No description provided.

@hansjoergschurr
Copy link
Contributor

hansjoergschurr commented Aug 21, 2024

What is the context for this?

@ajreynol
Copy link
Member Author

The main motivation is to have a way to handle reference checking in logics with reals but not integers. This permits a way to have the *.smt2 automatically convert the numerals to rationals (--smt2-normalize-num) without impacting how Eunoia is parsed. This then enables faithful reference checking for SMT-LIB compliant parsing for logics like QF_LRA.

There may be further cases where one wants to have 2 different policies for parsing *.eo vs. *.smt2.

@hansjoergschurr
Copy link
Contributor

I wonder whether it would be possible to just use the set-logic command to drive this. It is also not super clear to me whether we want to have the option to configure this for the parsing of eo files. Their semantics should be as fixed as possible imho.

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