mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
fix #3183 - change relevancy propagation to ensure that div/mod axioms are picked up
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1e9013fe6d
commit
0207878f5f
3 changed files with 58 additions and 103 deletions
|
@ -114,6 +114,15 @@ namespace smt {
|
|||
}
|
||||
};
|
||||
|
||||
struct if_trace_stream {
|
||||
ast_manager& m;
|
||||
|
||||
if_trace_stream(ast_manager& m, std::function<void (void)>& fn): m(m) {
|
||||
if (m.has_trace_stream()) {
|
||||
fn();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
@ -418,6 +427,11 @@ namespace smt {
|
|||
log_axiom_instantiation(r, UINT_MAX, 0, nullptr, UINT_MAX, used_enodes);
|
||||
}
|
||||
|
||||
void log_axiom_unit(app* r) {
|
||||
log_axiom_instantiation(r);
|
||||
m_manager->trace_stream() << "[end-of-instance]\n";
|
||||
}
|
||||
|
||||
public:
|
||||
/**
|
||||
\brief Assume eqs between variable that are equal with respect to the given table.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue