Add support for check-sat-assuming. (#1637)
authorAina Niemetz <aina.niemetz@gmail.com>
Mon, 5 Mar 2018 22:05:26 +0000 (14:05 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Mar 2018 22:05:26 +0000 (14:05 -0800)
commitd51c8347a3c6bf7857c474bd3493377f9fed58e5
tree56da229cd8fcbe6988937514820c13c3894f2558
parentd1aa4ae101987093a06208650e2ea4878f7437ca
Add support for check-sat-assuming. (#1637)

This adds support for check-sat-assuming. It further adds support for SmtEngine::query() over a
vector of Expressions, e.g., smtEngine->query({a, b}); checks the validity (of the current input
formula) under assumption (not (or a b)).
13 files changed:
examples/api/bitvectors.cpp
src/expr/expr_template.cpp
src/expr/expr_template.h
src/parser/smt2/Smt2.g
src/printer/ast/ast_printer.cpp
src/printer/cvc/cvc_printer.cpp
src/printer/smt2/smt2_printer.cpp
src/smt/command.cpp
src/smt/command.h
src/smt/smt_engine.cpp
src/smt/smt_engine.h
test/regress/regress0/push-pop/Makefile.am
test/regress/regress0/push-pop/bug821-check_sat_assuming.smt2 [new file with mode: 0644]