3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-04-14 04:48:53 -07:00
parent 2f7069a8b7
commit 332c123244
2 changed files with 11 additions and 0 deletions

View file

@ -521,6 +521,7 @@ namespace polysat {
m_cjust[v].append(m_conflict);
m_conflict.reset();
add_non_viable(v, val);
narrow(v);
decide(v);
}
@ -556,6 +557,14 @@ namespace polysat {
return nullptr;
}
/**
* placeholder for factoring/gcd common factors
*/
void solver::narrow(pvar v) {
}
bool solver::is_always_false(constraint& c) {
if (c.is_eq())
return c.p().is_never_zero();