mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
f986ae97bd
commit
af90992858
4 changed files with 5 additions and 29 deletions
|
@ -21,15 +21,15 @@ Revision History:
|
|||
#include<limits>
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "ast/for_each_expr.h"
|
||||
#include "ast/ast_smt_pp.h"
|
||||
#include "ast/ast_smt2_pp.h"
|
||||
#include "ast/datatype_decl_plugin.h"
|
||||
#include "ast/scoped_proof.h"
|
||||
#include "muz/base/fp_params.hpp"
|
||||
#include "ast/ast_pp_util.h"
|
||||
|
||||
#include "ast/ast_util.h"
|
||||
#include "muz/base/dl_context.h"
|
||||
#include "muz/base/fp_params.hpp"
|
||||
|
||||
namespace datalog {
|
||||
|
||||
|
@ -742,13 +742,7 @@ namespace datalog {
|
|||
}
|
||||
|
||||
expr_ref context::get_background_assertion() {
|
||||
expr_ref result(m);
|
||||
switch (m_background.size()) {
|
||||
case 0: result = m.mk_true(); break;
|
||||
case 1: result = m_background[0].get(); break;
|
||||
default: result = m.mk_and(m_background.size(), m_background.c_ptr()); break;
|
||||
}
|
||||
return result;
|
||||
return mk_and(m_background);
|
||||
}
|
||||
|
||||
void context::assert_expr(expr* e) {
|
||||
|
|
|
@ -350,7 +350,6 @@ namespace datalog {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
//During the construction of the new set we may discover new total relations
|
||||
//(by quantifier elimination on the uninterpreted tails).
|
||||
SASSERT(m_new_total_relation_discovery_during_transformation || !m_have_new_total_rule);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue