mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
use nyi to catch uncovered cases
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
86f247db22
commit
3c940b5125
2 changed files with 4 additions and 2 deletions
|
@ -500,8 +500,7 @@ namespace polysat {
|
||||||
|
|
||||||
search_iterator search_it(m_search);
|
search_iterator search_it(m_search);
|
||||||
while (search_it.next()) {
|
while (search_it.next()) {
|
||||||
LOG("search state: " << m_search);
|
// LOG("search state: " << m_search);
|
||||||
LOG("Conflict: " << m_conflict);
|
|
||||||
auto& item = *search_it;
|
auto& item = *search_it;
|
||||||
search_it.set_resolved();
|
search_it.set_resolved();
|
||||||
LOG_H2("Working on " << search_item_pp(m_search, item));
|
LOG_H2("Working on " << search_item_pp(m_search, item));
|
||||||
|
@ -512,6 +511,7 @@ namespace polysat {
|
||||||
m_search.pop_assignment();
|
m_search.pop_assignment();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
LOG("Conflict: " << m_conflict);
|
||||||
inc_activity(v);
|
inc_activity(v);
|
||||||
justification& j = m_justification[v];
|
justification& j = m_justification[v];
|
||||||
if (j.level() > base_level() && !m_conflict.resolve_value(v) && j.is_decision()) {
|
if (j.level() > base_level() && !m_conflict.resolve_value(v) && j.is_decision()) {
|
||||||
|
@ -529,6 +529,7 @@ namespace polysat {
|
||||||
continue;
|
continue;
|
||||||
if (m_bvars.level(var) <= base_level())
|
if (m_bvars.level(var) <= base_level())
|
||||||
continue;
|
continue;
|
||||||
|
LOG("Conflict: " << m_conflict);
|
||||||
if (m_bvars.is_decision(var)) {
|
if (m_bvars.is_decision(var)) {
|
||||||
revert_bool_decision(lit);
|
revert_bool_decision(lit);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1245,6 +1245,7 @@ public:
|
||||||
r = alloc(pdd, s.var(s.add_var(sz)));
|
r = alloc(pdd, s.var(s.add_var(sz)));
|
||||||
else {
|
else {
|
||||||
std::cout << "UNKNOWN " << mk_pp(e, m) << "\n";
|
std::cout << "UNKNOWN " << mk_pp(e, m) << "\n";
|
||||||
|
NOT_IMPLEMENTED_YET();
|
||||||
r = alloc(pdd, s.var(s.add_var(sz)));
|
r = alloc(pdd, s.var(s.add_var(sz)));
|
||||||
}
|
}
|
||||||
expr2pdd.insert(e, r);
|
expr2pdd.insert(e, r);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue