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

Quantifier support for MathSAT #274

Open
PhilippWendler opened this issue Jun 27, 2022 · 2 comments
Open

Quantifier support for MathSAT #274

PhilippWendler opened this issue Jun 27, 2022 · 2 comments
Assignees
Labels

Comments

@PhilippWendler
Copy link
Member

The MathSAT API contains methods for quantifiers, but it seems that JavaSMT does not expose them. This should be added in order to not hide solver features from users of JavaSMT. We might also want to try the quantifier support in CPAchecker.

@kfriedberger
Copy link
Member

kfriedberger commented Jun 27, 2022

Quote from the official MathSAT website:

Release Notes for v5.6.0:
Added support for quantifiers in the front-end only. This means that it is now possible to use the MathSAT API to parse/create/manipulate/print formulas involving quantified variables. The solver still works only on quantifier-free input though. For more details, see the new API functions msat_make_exists, msat_make_forall, msat_make_variable, msat_existentially_quantify, msat_term_is_exists, msat_term_is_forall, msat_term_is_variable.

There has not yet been an official statement about backend support for quantifiers. Thus, I would not make too much promises here.
We can at least support building quantified formulas with a QuantifiedFormulaManager and then check solver support when solving the query.

@PhilippWendler
Copy link
Member Author

Ok, I wasn't aware of this. If one can do nothing with these formulas, I am not sure whether it is better to have the API or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants