3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 00:26:38 +00:00

use nyi to catch uncovered cases

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-01-21 17:49:43 +01:00
parent 86f247db22
commit 3c940b5125
2 changed files with 4 additions and 2 deletions

View file

@ -500,8 +500,7 @@ namespace polysat {
search_iterator search_it(m_search);
while (search_it.next()) {
LOG("search state: " << m_search);
LOG("Conflict: " << m_conflict);
// LOG("search state: " << m_search);
auto& item = *search_it;
search_it.set_resolved();
LOG_H2("Working on " << search_item_pp(m_search, item));
@ -512,6 +511,7 @@ namespace polysat {
m_search.pop_assignment();
continue;
}
LOG("Conflict: " << m_conflict);
inc_activity(v);
justification& j = m_justification[v];
if (j.level() > base_level() && !m_conflict.resolve_value(v) && j.is_decision()) {
@ -529,6 +529,7 @@ namespace polysat {
continue;
if (m_bvars.level(var) <= base_level())
continue;
LOG("Conflict: " << m_conflict);
if (m_bvars.is_decision(var)) {
revert_bool_decision(lit);
return;

View file

@ -1245,6 +1245,7 @@ public:
r = alloc(pdd, s.var(s.add_var(sz)));
else {
std::cout << "UNKNOWN " << mk_pp(e, m) << "\n";
NOT_IMPLEMENTED_YET();
r = alloc(pdd, s.var(s.add_var(sz)));
}
expr2pdd.insert(e, r);