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