mirror of
https://github.com/Z3Prover/z3
synced 2025-08-07 03:31:23 +00:00
parent
8428970a1f
commit
234b53b831
3 changed files with 7 additions and 15 deletions
|
@ -25,7 +25,6 @@ Revision History:
|
|||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "tactic/generic_model_converter.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/seq_decl_plugin.h"
|
||||
#include "ast/expr_substitution.h"
|
||||
#include "ast/ast_smt2_pp.h"
|
||||
|
||||
|
@ -35,7 +34,6 @@ class fix_dl_var_tactic : public tactic {
|
|||
struct failed {};
|
||||
ast_manager & m;
|
||||
arith_util & m_util;
|
||||
seq_util m_seq;
|
||||
expr_fast_mark1 * m_visited;
|
||||
ptr_vector<expr> m_todo;
|
||||
obj_map<app, unsigned> m_occs;
|
||||
|
@ -43,8 +41,7 @@ class fix_dl_var_tactic : public tactic {
|
|||
|
||||
is_target(arith_util & u):
|
||||
m(u.get_manager()),
|
||||
m_util(u),
|
||||
m_seq(m) {
|
||||
m_util(u){
|
||||
}
|
||||
|
||||
void throw_failed(expr * ctx1, expr * ctx2 = nullptr) {
|
||||
|
@ -56,15 +53,6 @@ class fix_dl_var_tactic : public tactic {
|
|||
sort * s = m.get_sort(n);
|
||||
return s->get_family_id() == m_util.get_family_id();
|
||||
}
|
||||
// Return true if n is uninterpreted with respect to arithmetic.
|
||||
// sequence theory is not disjoint from arithmetic
|
||||
bool is_uninterp(expr * n) {
|
||||
if (!is_app(n)) return false;
|
||||
app* t = to_app(n);
|
||||
family_id fid = t->get_family_id();
|
||||
return fid != m_util.get_family_id() && fid != m_seq.get_family_id();
|
||||
}
|
||||
|
||||
// Remark: we say an expression is nested, if it occurs inside the boolean structure of the formula.
|
||||
// That is, the expression is not part of an unit clause comprising of a single inequality/equality.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue