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:
parent
a511b8bcf0
commit
b415b82625
7 changed files with 71 additions and 35 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue