According to the SMTLib doc here, we can check sat using check-sat-assuming
and then one can determine the unsatisfiable assumptions using get-unsat-assumptions
.
Reflecting that on Z3 in JavaAPI, I can see checkAssuming
API doing the same thing as thecheck-sat-assuming
but I can't seem to find anything that is doing something similar to get-unsat-assumptions
, all I can find is getUnsatCore
api.
So my question is, is there anyway that I can get unsat assumptions in Z3 using JavaAPI?
Much appreciated!