3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-31 08:23:17 +00:00

another unsoundness bug

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-03-31 16:13:46 -07:00
parent 5e0db02753
commit 63ebd4fcba
4 changed files with 20 additions and 2 deletions

View file

@ -234,6 +234,16 @@ namespace polysat {
// TODO: check uses of logger().begin_conflict(). sometimes we call it before adding constraints, sometimes after...
}
void conflict::init(dependency dep, signed_constraint c) {
SASSERT(empty());
m_level = s.m_level;
m_dep = dep;
SASSERT(!empty());
insert_vars(c);
logger().begin_conflict();
}
void conflict::init(signed_constraint c) {
LOG("Conflict: constraint " << lit_pp(s, c));
SASSERT(empty());