3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

bug fix: unsound pruning of assumptions. remove deprecated reduce() feature from smt_kernel

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-01-03 17:36:21 -08:00
parent 70baa3c8c9
commit f8f23382dc
6 changed files with 55 additions and 29 deletions

View file

@ -69,10 +69,6 @@ namespace smt {
return m_kernel.get_asserted_formulas();
}
bool reduce() {
return m_kernel.reduce_assertions();
}
void push() {
TRACE("smt_kernel", tout << "push()\n";);
m_kernel.push();
@ -221,9 +217,6 @@ namespace smt {
return m_imp->get_formulas();
}
bool kernel::reduce() {
return m_imp->reduce();
}
void kernel::push() {
m_imp->push();

View file

@ -84,15 +84,6 @@ namespace smt {
*/
expr * const * get_formulas() const;
/**
\brief Reduce the set of asserted formulas using preprocessors.
Return true if an inconsistency is detected.
\remark This is mainly used by dl_smt_relation. This method
seens to be misplaced. This is not the right place.
*/
bool reduce();
/**
\brief Create a backtracking point (aka scope level).
*/