mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
remove dependency on ast from params
This commit is contained in:
parent
f00db08221
commit
4b3fecc35e
13 changed files with 49 additions and 48 deletions
|
@ -128,7 +128,6 @@ namespace array {
|
|||
r.set_delayed();
|
||||
return false;
|
||||
}
|
||||
r.set_applied();
|
||||
if (a.is_const(child))
|
||||
return assert_select_const_axiom(select, to_app(child));
|
||||
else if (a.is_as_array(child))
|
||||
|
@ -205,12 +204,6 @@ namespace array {
|
|||
if (s().value(sel_eq) == l_true)
|
||||
return false;
|
||||
|
||||
#if 0
|
||||
static unsigned count = 0;
|
||||
++count;
|
||||
std::cout << count << " " << sel_eq << "\n";
|
||||
#endif
|
||||
|
||||
bool new_prop = false;
|
||||
for (unsigned i = 1; i < num_args; i++) {
|
||||
expr* idx1 = store->get_arg(i);
|
||||
|
@ -238,6 +231,7 @@ namespace array {
|
|||
* select(const(v), i) = v
|
||||
*/
|
||||
bool solver::assert_select_const_axiom(app* select, app* cnst) {
|
||||
|
||||
++m_stats.m_num_select_const_axiom;
|
||||
expr* val = nullptr;
|
||||
VERIFY(a.is_const(cnst, val));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue