3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 16:52:15 +00:00

take 1 on flip conditions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-12-31 11:44:38 -08:00
parent a511b8bcf0
commit b415b82625
7 changed files with 71 additions and 35 deletions

View file

@ -40,14 +40,7 @@ namespace sls {
}
bool bv_plugin::is_bv_predicate(expr* e) {
if (!e || !is_app(e))
return false;
auto a = to_app(e);
if (a->get_family_id() == bv.get_family_id())
return true;
if (m.is_eq(e) && bv.is_bv(a->get_arg(0)))
return true;
return false;
return m_terms.is_bv_predicate(e);
}
void bv_plugin::start_propagation() {