mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 19:17:53 +00:00
parent
c6135a40d5
commit
872fd5e9ff
9 changed files with 125 additions and 43 deletions
|
@ -19,7 +19,6 @@ Author:
|
|||
|
||||
#pragma once
|
||||
#include "ast/ast.h"
|
||||
#include "ast/euf/euf_egraph.h"
|
||||
#include "sat/sat_solver.h"
|
||||
|
||||
namespace sat {
|
||||
|
@ -47,38 +46,6 @@ namespace sat {
|
|||
virtual void cache(app* t, literal l) = 0;
|
||||
};
|
||||
|
||||
class th_internalizer {
|
||||
public:
|
||||
virtual literal internalize(sat_internalizer& si, expr* e, bool sign, bool root) = 0;
|
||||
virtual ~th_internalizer() {}
|
||||
};
|
||||
|
||||
class th_dependencies {
|
||||
public:
|
||||
th_dependencies() {}
|
||||
euf::enode * const* begin() const { return nullptr; }
|
||||
euf::enode * const* end() const { return nullptr; }
|
||||
};
|
||||
|
||||
|
||||
class th_model_builder {
|
||||
public:
|
||||
|
||||
virtual ~th_model_builder() {}
|
||||
|
||||
/**
|
||||
\brief compute the value for enode \c n and store the value in \c values
|
||||
for the root of the class of \c n.
|
||||
*/
|
||||
virtual void add_value(euf::enode* n, expr_ref_vector& values) = 0;
|
||||
|
||||
/**
|
||||
\brief compute dependencies for node n
|
||||
*/
|
||||
virtual void add_dep(euf::enode* n, th_dependencies& dep) = 0;
|
||||
};
|
||||
|
||||
|
||||
class index_base {
|
||||
extension* ex;
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue