mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
bmc/farkas/smt2 pattern printing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
27a5bd5b83
commit
89ca9aa5bd
4 changed files with 22 additions and 4 deletions
|
@ -27,6 +27,7 @@ Revision History:
|
|||
#include "dl_decl_plugin.h"
|
||||
#include "bool_rewriter.h"
|
||||
#include "model_smt2_pp.h"
|
||||
#include "ast_smt_pp.h"
|
||||
|
||||
namespace datalog {
|
||||
bmc::bmc(context& ctx):
|
||||
|
@ -711,7 +712,11 @@ namespace datalog {
|
|||
md->eval(trace, trace);
|
||||
md->eval(path, path);
|
||||
IF_VERBOSE(2, verbose_stream() << mk_pp(trace, m) << "\n";);
|
||||
IF_VERBOSE(2, m_solver.display(verbose_stream()); verbose_stream() << "\n";);
|
||||
ast_smt_pp pp(m);
|
||||
for (unsigned i = 0; i < m_solver.size(); ++i) {
|
||||
pp.add_assumption(m_solver.get_formulas()[i]);
|
||||
}
|
||||
IF_VERBOSE(2, pp.display_smt2(verbose_stream(), m.mk_true()); verbose_stream() << "\n";);
|
||||
m_answer = get_proof(md, to_app(trace), to_app(path));
|
||||
is_sat = l_true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue