mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
logging which theory added constraints
This commit is contained in:
parent
fd9fd52271
commit
a0f6447a33
1 changed files with 10 additions and 1 deletions
|
@ -1018,8 +1018,17 @@ namespace smt {
|
||||||
void context::apply_sort_cnstr(app * term, enode * e) {
|
void context::apply_sort_cnstr(app * term, enode * e) {
|
||||||
sort * s = term->get_decl()->get_range();
|
sort * s = term->get_decl()->get_range();
|
||||||
theory * th = m_theories.get_plugin(s->get_family_id());
|
theory * th = m_theories.get_plugin(s->get_family_id());
|
||||||
if (th)
|
if (th) {
|
||||||
|
if (m_manager.has_trace_stream()) {
|
||||||
|
m_manager.trace_stream() << "[theory-constraints] " << m_manager.get_family_name(s->get_family_id()) << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
th->apply_sort_cnstr(e, s);
|
th->apply_sort_cnstr(e, s);
|
||||||
|
|
||||||
|
if (m_manager.has_trace_stream()) {
|
||||||
|
m_manager.trace_stream() << "[end-theory-constraints]\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue