mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
bf9779cb87
commit
5152c9500d
3 changed files with 3 additions and 5 deletions
|
@ -242,7 +242,7 @@ void asserted_formulas::reduce() {
|
|||
return;
|
||||
if (m_qhead == m_formulas.size())
|
||||
return;
|
||||
if (!m_smt_params.m_preprocess)
|
||||
if (!m_has_quantifiers && !m_smt_params.m_preprocess)
|
||||
return;
|
||||
if (m_macro_manager.has_macros())
|
||||
invoke(m_find_macros);
|
||||
|
|
|
@ -3075,12 +3075,11 @@ namespace smt {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool context::reduce_assertions() {
|
||||
void context::reduce_assertions() {
|
||||
if (!m_asserted_formulas.inconsistent()) {
|
||||
// SASSERT(at_base_level());
|
||||
m_asserted_formulas.reduce();
|
||||
}
|
||||
return m_asserted_formulas.inconsistent();
|
||||
}
|
||||
|
||||
static bool is_valid_assumption(ast_manager & m, expr * assumption) {
|
||||
|
|
|
@ -1561,8 +1561,7 @@ namespace smt {
|
|||
|
||||
lbool setup_and_check(bool reset_cancel = true);
|
||||
|
||||
// return 'true' if assertions are inconsistent.
|
||||
bool reduce_assertions();
|
||||
void reduce_assertions();
|
||||
|
||||
bool resource_limits_exceeded();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue