mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 18:54:43 +00:00
add validation to aig_simplifier, start BIG-based masking
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
41a00707e1
commit
e0a41a18c3
14 changed files with 741 additions and 167 deletions
|
@ -235,6 +235,11 @@ namespace sat {
|
|||
bool root_ok = !m_solver.is_external(v) || set_root;
|
||||
if (m_solver.is_assumption(v) || (m_solver.is_external(v) && (m_solver.is_incremental() || !root_ok))) {
|
||||
// cannot really eliminate v, since we have to notify extension of future assignments
|
||||
if (m_solver.m_config.m_drat && m_solver.m_config.m_drat_file.is_null()) {
|
||||
std::cout << "DRAT\n";
|
||||
m_solver.m_drat.add(~l, r, true);
|
||||
m_solver.m_drat.add(l, ~r, true);
|
||||
}
|
||||
m_solver.mk_bin_clause(~l, r, false);
|
||||
m_solver.mk_bin_clause(l, ~r, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue