mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 22:23:22 +00:00
Debug sanity check in spacer_context
Triggered by bugs in hypothesis remover only sanitycheck lemmas in debug-mode
This commit is contained in:
parent
a4e67b8bb6
commit
247c570e6b
1 changed files with 5 additions and 0 deletions
|
@ -3133,6 +3133,11 @@ lbool context::expand_node(pob& n)
|
||||||
checkpoint ();
|
checkpoint ();
|
||||||
(*m_lemma_generalizers[i])(lemma);
|
(*m_lemma_generalizers[i])(lemma);
|
||||||
}
|
}
|
||||||
|
DEBUG_CODE(
|
||||||
|
lemma_sanity_checker sanity_checker(*this);
|
||||||
|
sanity_checker(lemma);
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
TRACE("spacer", tout << "invariant state: "
|
TRACE("spacer", tout << "invariant state: "
|
||||||
<< (is_infty_level(lemma->level())?"(inductive)":"")
|
<< (is_infty_level(lemma->level())?"(inductive)":"")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue