Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void messageIncoming(@NonNull Pipe pipe, @NonNull String msg) throws IOEx
if (msg.contains("unsat")) {
sc.setFinalResult(SMTSolverResult.createValidResult(getName()));
sc.setState(FINISH);
pipe.sendMessage("(get-unsat-core)");
pipe.sendMessage("(exit)");
// pipe.close();
} else if (msg.contains("sat")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ public class ModularSMTLib2Translator implements SMTTranslator {
* Handler option. If provided, the translator will label translations of sequent formulas such
* that {@link de.uka.ilkd.key.smt.SMTFocusResults} can interpret the unsat core.
* <p>
* This option is currently only enabled for Z3.
* Currently, this option only works with a CVC5 dev build.
* Once <a href="https://github.com/cvc5/cvc5/pull/9353">the fix</a> is included in a release,
* add this handler option to the .props file.
* This option is currently only enabled for Z3 and CVC5 (needs 1.0.4+).
* </p>
* Make sure to also send (get-unsat-core) in the respective socket class when adding this
* option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ de.uka.ilkd.key.smt.newsmt2.FloatHandler,\
de.uka.ilkd.key.smt.newsmt2.CastingFunctionsHandler,\
de.uka.ilkd.key.smt.newsmt2.DefinedSymbolsHandler,\
de.uka.ilkd.key.smt.newsmt2.UninterpretedSymbolsHandler
handlerOptions=getUnsatCore
Loading