Closed Kakadu closed 3 years ago
(apply
is a non-standard "Z3 extension" to allow you to specify the "tactics" you wish to use when solving -- you shouldn't (blindly) expect it to be supported by other solvers.
You can probably just remove this when solving with Boolector to get the outcome you want (as long as that outcome is sat/unsat).
@andrewvaughanj, in my case I want boolector to eliminate quantifiers in the formula. Is it possible to do this without diving into C?
"Quantifier elimination" is an "implementation specific" behaviour -- yes, you can ask Z3 upfront to eliminate quantifiers from the formula via Z3's SMTLIB extensions, but that doesn't mean that all SMT solvers that support SMTLIB will support that behaviour.
You can take a look at some of Boolector's options for quantifiers here:
It's sad that boolector doesn't support this out of box.
@Kakadu sorry if this is a silly question, but why do you care how an instance is solved as long as it is solved?
This is genuinely out of curiosity; as a user of Boolector, I only care about "knobs and switches" when things aren't going how I'd like -- for 99.99% of the rest of the time, I just treat it like a black-box.
It's Ph.D.-related. I have an approach which tends to synthesize short stuff (formulas in our case) earlier, and I want to apply it to quantifier elimination problem in the domain of bitvectors. (I hope it will work better then bitblasting) I tried Z3+SMTLIB, I know somebody who did it with boolector+C, maybe I will manage CVC4 to do it too.
If you have a good test suite for this kind of a problem somewherre, it will be appreciated.
@Kakadu sorry if this is a silly question, but why do you care how an instance is solved as long as it is solved?
This is genuinely out of curiosity; as a user of Boolector, I only care about "knobs and switches" when things aren't going how they'd like -- for 99.99% of the rest of the time, I just treat it like a black-box.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Boolector does not implement any quantifier elimination techniques and there are also no plans to add some in the future.
I have issues with running my example in SMTLIB format with boolector. I'm using version 3.2.1. Z3 works fin on this
Please, help!