3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-23 00:37:36 +00:00

a bug fix in levelwise with the section case, where a discriminant was not added, and adding new tests for levelwise

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2026-02-17 20:00:53 -10:00
parent af6d461b5e
commit 7aa1ba1905
2 changed files with 62 additions and 482 deletions

View file

@ -1108,8 +1108,8 @@ namespace nlsat {
add_projection_for_poly(p, m_level, witness, true, true); // section poly: full projection
else if (has_roots.find(i) == has_roots.end())
add_projection_for_poly(p, m_level, witness, true, true); // no roots: need LC+disc for delineability
else if (witness && !is_const(witness))
request_factorized(witness); // has roots: witness only
else
add_projection_for_poly(p, m_level, witness, false, true);
}
}