mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
minor fixes
- ensure mk_extract performs simplification to distribute over extract and removing extract if the range is the entire bit-vector - ensure bool_rewriter simplifeis disjunctions when applicable.
This commit is contained in:
parent
9fc4015c46
commit
1646a41b2f
9 changed files with 24 additions and 18 deletions
|
@ -904,6 +904,10 @@ template void euf::egraph::explain_todo(ptr_vector<size_t>& justifications, cc_j
|
|||
template void euf::egraph::explain_eq(ptr_vector<size_t>& justifications, cc_justification*, enode* a, enode* b);
|
||||
template unsigned euf::egraph::explain_diseq(ptr_vector<size_t>& justifications, cc_justification*, enode* a, enode* b);
|
||||
|
||||
template void euf::egraph::explain(ptr_vector<expr_dependency>& justifications, cc_justification*);
|
||||
template void euf::egraph::explain_todo(ptr_vector<expr_dependency>& justifications, cc_justification*);
|
||||
template void euf::egraph::explain_eq(ptr_vector<expr_dependency>& justifications, cc_justification*, enode* a, enode* b);
|
||||
template unsigned euf::egraph::explain_diseq(ptr_vector<expr_dependency>& justifications, cc_justification*, enode* a, enode* b);
|
||||
|
||||
|
||||
#if 0
|
||||
|
|
|
@ -201,8 +201,6 @@ namespace euf {
|
|||
enode_bool_pair etable::insert(enode * n) {
|
||||
// it doesn't make sense to insert a constant.
|
||||
SASSERT(n->num_args() > 0);
|
||||
SASSERT(!m_manager.is_and(n->get_expr()));
|
||||
SASSERT(!m_manager.is_or(n->get_expr()));
|
||||
enode * n_prime;
|
||||
void * t = get_table(n);
|
||||
switch (static_cast<table_kind>(GET_TAG(t))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue