mirror of
https://github.com/Z3Prover/z3
synced 2025-10-12 10:40:17 +00:00
add DDNF based engine
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8822bc1755
commit
b596828d23
11 changed files with 761 additions and 11 deletions
|
@ -902,6 +902,11 @@ namespace sat {
|
|||
m_assumption_set.reset();
|
||||
push();
|
||||
|
||||
propagate(false);
|
||||
if (inconsistent()) {
|
||||
return;
|
||||
}
|
||||
|
||||
TRACE("sat",
|
||||
for (unsigned i = 0; i < num_lits; ++i)
|
||||
tout << lits[i] << " ";
|
||||
|
@ -916,15 +921,17 @@ namespace sat {
|
|||
m_assumption_set.insert(_l_); \
|
||||
m_assumptions.push_back(_l_); \
|
||||
assign(_l_, justification()); \
|
||||
// propagate(false); \
|
||||
|
||||
for (unsigned i = 0; !inconsistent() && i < m_user_scope_literals.size(); ++i) {
|
||||
literal nlit = ~m_user_scope_literals[i];
|
||||
_INSERT_LIT(nlit);
|
||||
}
|
||||
|
||||
for (unsigned i = 0; !inconsistent() && i < num_lits; ++i) {
|
||||
literal lit = lits[i];
|
||||
_INSERT_LIT(lit);
|
||||
}
|
||||
for (unsigned i = 0; !inconsistent() && i < m_user_scope_literals.size(); ++i) {
|
||||
literal nlit = ~m_user_scope_literals[i];
|
||||
_INSERT_LIT(nlit);
|
||||
}
|
||||
}
|
||||
|
||||
void solver::reinit_assumptions() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue