mirror of
https://github.com/Z3Prover/z3
synced 2025-09-10 11:41:25 +00:00
t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
cb4c739ee0
commit
6cb86db68e
1 changed files with 11 additions and 5 deletions
|
@ -514,10 +514,7 @@ namespace nlsat {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void apply_pre(const property& p) {
|
void apply_pre_an_del(const property& p) {
|
||||||
TRACE(levelwise, display(tout << "property p:", p) << std::endl;);
|
|
||||||
|
|
||||||
if (p.prop_tag == prop_enum::an_del) {
|
|
||||||
if (!p.poly) {
|
if (!p.poly) {
|
||||||
TRACE(levelwise, tout << "apply_pre: an_del with null poly -> fail" << std::endl;);
|
TRACE(levelwise, tout << "apply_pre: an_del with null poly -> fail" << std::endl;);
|
||||||
m_fail = true;
|
m_fail = true;
|
||||||
|
@ -532,6 +529,7 @@ namespace nlsat {
|
||||||
if (coeffs_are_zeroes_on_sample(p.poly, m_pm, sample(), m_am)) {
|
if (coeffs_are_zeroes_on_sample(p.poly, m_pm, sample(), m_am)) {
|
||||||
TRACE(levelwise, tout << "Rule 4.1: polynomial nullified at sample -> failing" << std::endl;);
|
TRACE(levelwise, tout << "Rule 4.1: polynomial nullified at sample -> failing" << std::endl;);
|
||||||
m_fail = true;
|
m_fail = true;
|
||||||
|
NOT_IMPLEMENTED_YET();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -625,7 +623,15 @@ namespace nlsat {
|
||||||
}), m_Q.end());
|
}), m_Q.end());
|
||||||
|
|
||||||
TRACE(levelwise, tout << "apply_pre: an_del processed and removed from m_Q" << std::endl;);
|
TRACE(levelwise, tout << "apply_pre: an_del processed and removed from m_Q" << std::endl;);
|
||||||
return;
|
}
|
||||||
|
|
||||||
|
void apply_pre(const property& p) {
|
||||||
|
TRACE(levelwise, display(tout << "property p:", p) << std::endl;);
|
||||||
|
|
||||||
|
if (p.prop_tag == prop_enum::an_del) {
|
||||||
|
apply_pre_an_del(p);
|
||||||
|
} else {
|
||||||
|
NOT_IMPLEMENTED_YET();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// return an empty vector on failure, otherwise returns the cell representations with intervals
|
// return an empty vector on failure, otherwise returns the cell representations with intervals
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue