Fix issue #5342 (#5349)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Fri, 6 Nov 2020 21:28:38 +0000 (15:28 -0600)
committerGitHub <noreply@github.com>
Fri, 6 Nov 2020 21:28:38 +0000 (15:28 -0600)
commit63df35c477ee9e6c7bdeae677656dd374563de55
tree1ab725ce9c6f8dafdeda032d572963363f181f7b
parent6476c8c75ed7fd584b5afa658dd2c8ba277c59e2
Fix issue #5342 (#5349)

This PR fixes issue #5342 by adding the rewrite rule (setminus A (setminus A B)) = (intersection A B).
src/theory/sets/cardinality_extension.cpp
src/theory/sets/cardinality_extension.h
src/theory/sets/solver_state.cpp
src/theory/sets/solver_state.h
src/theory/sets/theory_sets_private.cpp
src/theory/sets/theory_sets_rewriter.cpp
test/regress/CMakeLists.txt
test/regress/regress1/sets/issue5342.smt2 [new file with mode: 0644]
test/regress/regress1/sets/issue5342_difference_version.smt2 [new file with mode: 0644]