mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
logging support for theory axioms
This commit is contained in:
parent
279413412d
commit
28c03ed1de
26 changed files with 508 additions and 127 deletions
|
@ -789,7 +789,10 @@ namespace smt {
|
|||
bound = m_util.mk_eq(var2expr(v), m_util.mk_numeral(rational(0), true));
|
||||
TRACE("non_linear", tout << "new bound:\n" << mk_pp(bound, get_manager()) << "\n";);
|
||||
context & ctx = get_context();
|
||||
ast_manager & m = get_manager();
|
||||
if (m.has_trace_stream()) log_axiom_instantiation(m.mk_or(bound, m.mk_not(bound)));
|
||||
ctx.internalize(bound, true);
|
||||
if (m.has_trace_stream()) m.trace_stream() << "[end-of-instance]\n";
|
||||
ctx.mark_as_relevant(bound);
|
||||
literal l = ctx.get_literal(bound);
|
||||
SASSERT(!l.sign());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue