diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-05-24 23:38:46 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2019-05-24 23:48:58 -0700 |
commit | f65fd6a5150436a6defbe00acbcdca08d94e9cd6 (patch) | |
tree | 3694951f839fbc8152df80c158ac0228e1a09ff5 /src/expr/expr_template.cpp | |
parent | bc30715c756112c0f47b4c1efc2fcb8e04aef936 (diff) |
Avoid substituting Boolean term variablesfix3020
Fixes #3020. Boolean terms that appear in other terms, e.g. a Boolean
array index, are replaced by `BOOLEAN_TERM_VARIABLE`s to make sure that
they are handled properly in theory combination. When doing this
replacement, an equality of the form `(= <Boolean term> <Boolean term
variable)` is added to the assertions. The problem was that
`Theory::ppAssert()` would derive a substitution when this equality was
registered. The commit fixes the problem by not allowing to add
substitutions for `BOOLEAN_TERM_VARIABLE`s.
Diffstat (limited to 'src/expr/expr_template.cpp')
0 files changed, 0 insertions, 0 deletions