diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 01:08:11 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-06-14 01:08:11 +0000 |
commit | dd713fdbc16b07adc8011dea09b53fb3bc168662 (patch) | |
tree | cc58788ed58fd86c5aaa58c0fafa2bbb0f8b6567 /src/theory/arrays/theory_arrays.h | |
parent | 1267706e0c508ada17d75c07c4606eb108ae5309 (diff) |
* removing rewriteEquality from the rewriter
* theories now get either an assertion from the SAT solver (normalized) or an (dis-)equality between two shared terms that is non-normalized
Diffstat (limited to 'src/theory/arrays/theory_arrays.h')
-rw-r--r-- | src/theory/arrays/theory_arrays.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/theory/arrays/theory_arrays.h b/src/theory/arrays/theory_arrays.h index 1bf42a105..25797dda3 100644 --- a/src/theory/arrays/theory_arrays.h +++ b/src/theory/arrays/theory_arrays.h @@ -271,16 +271,14 @@ class TheoryArrays : public Theory { } } // Propagate equality between shared terms - Node equality = Rewriter::rewriteEquality(theory::THEORY_UF, t1.eqNode(t2)); - return d_arrays.propagate(equality); + return d_arrays.propagate(t1.eqNode(t2)); } else { if (t1.getType().isArray()) { if (!d_arrays.isShared(t1) || !d_arrays.isShared(t2)) { return true; } } - Node equality = Rewriter::rewriteEquality(theory::THEORY_UF, t1.eqNode(t2)); - return d_arrays.propagate(equality.notNode()); + return d_arrays.propagate(t1.eqNode(t2).notNode()); } return true; } |