mirror of
https://github.com/Z3Prover/z3
synced 2025-10-25 08:54:35 +00:00
working on udoc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a50cbef877
commit
22808a039d
17 changed files with 171 additions and 39 deletions
|
|
@ -233,7 +233,7 @@ namespace datalog {
|
|||
m_engine_type(LAST_ENGINE),
|
||||
m_cancel(false) {
|
||||
re.set_context(this);
|
||||
m_generate_proof_trace = m_params->generate_proof_trace();
|
||||
updt_params(pa);
|
||||
}
|
||||
|
||||
context::~context() {
|
||||
|
|
@ -285,7 +285,8 @@ namespace datalog {
|
|||
unsigned context::dl_profile_milliseconds_threshold() const { return m_params->datalog_profile_timeout_milliseconds(); }
|
||||
bool context::all_or_nothing_deltas() const { return m_params->datalog_all_or_nothing_deltas(); }
|
||||
bool context::compile_with_widening() const { return m_params->datalog_compile_with_widening(); }
|
||||
bool context::unbound_compressor() const { return m_params->datalog_unbound_compressor(); }
|
||||
bool context::unbound_compressor() const { return m_unbound_compressor; }
|
||||
void context::set_unbound_compressor(bool f) { m_unbound_compressor = f; }
|
||||
bool context::similarity_compressor() const { return m_params->datalog_similarity_compressor(); }
|
||||
unsigned context::similarity_compressor_threshold() const { return m_params->datalog_similarity_compressor_threshold(); }
|
||||
unsigned context::soft_timeout() const { return m_fparams.m_soft_timeout; }
|
||||
|
|
@ -293,8 +294,7 @@ namespace datalog {
|
|||
bool context::generate_explanations() const { return m_params->datalog_generate_explanations(); }
|
||||
bool context::explanations_on_relation_level() const { return m_params->datalog_explanations_on_relation_level(); }
|
||||
bool context::magic_sets_for_queries() const { return m_params->datalog_magic_sets_for_queries(); }
|
||||
bool context::eager_emptiness_checking() const { return m_params->datalog_eager_emptiness_checking(); }
|
||||
|
||||
|
||||
bool context::bit_blast() const { return m_params->xform_bit_blast(); }
|
||||
bool context::karr() const { return m_params->xform_karr(); }
|
||||
bool context::scale() const { return m_params->xform_scale(); }
|
||||
|
|
@ -839,6 +839,7 @@ namespace datalog {
|
|||
m_params_ref.copy(p);
|
||||
if (m_engine.get()) m_engine->updt_params();
|
||||
m_generate_proof_trace = m_params->generate_proof_trace();
|
||||
m_unbound_compressor = m_params->datalog_unbound_compressor();
|
||||
}
|
||||
|
||||
expr_ref context::get_background_assertion() {
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@ namespace datalog {
|
|||
params_ref m_params_ref;
|
||||
fixedpoint_params* m_params;
|
||||
bool m_generate_proof_trace;
|
||||
bool m_unbound_compressor;
|
||||
dl_decl_util m_decl_util;
|
||||
th_rewriter m_rewriter;
|
||||
var_subst m_var_subst;
|
||||
|
|
@ -256,6 +257,7 @@ namespace datalog {
|
|||
bool all_or_nothing_deltas() const;
|
||||
bool compile_with_widening() const;
|
||||
bool unbound_compressor() const;
|
||||
void set_unbound_compressor(bool f);
|
||||
bool similarity_compressor() const;
|
||||
unsigned similarity_compressor_threshold() const;
|
||||
unsigned soft_timeout() const;
|
||||
|
|
@ -263,7 +265,6 @@ namespace datalog {
|
|||
bool generate_explanations() const;
|
||||
bool explanations_on_relation_level() const;
|
||||
bool magic_sets_for_queries() const;
|
||||
bool eager_emptiness_checking() const;
|
||||
bool bit_blast() const;
|
||||
bool karr() const;
|
||||
bool scale() const;
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@ def_module_params('fixedpoint',
|
|||
"updated relation was modified or not"),
|
||||
('datalog.compile_with_widening', BOOL, False,
|
||||
"widening will be used to compile recursive rules"),
|
||||
('datalog.eager_emptiness_checking', BOOL, True,
|
||||
"emptiness of affected relations will be checked after each instruction, " +
|
||||
"so that we may ommit unnecessary instructions"),
|
||||
('datalog.default_table_checked', BOOL, False, "if true, the detault " +
|
||||
'table will be default_table inside a wrapper that checks that its results ' +
|
||||
'are the same as of default_table_checker table'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue