diff options
author | Gereon Kremer <nafur42@gmail.com> | 2021-10-28 15:03:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 22:03:07 +0000 |
commit | 9e1e48ad560408667f6972979c6123ebc7b615d2 (patch) | |
tree | 6438557a45a4f545a2175aee7177e421ed277439 /test | |
parent | 6fb31c779f91fa22186052224ceb38d48ba41fa9 (diff) |
Fix proof for xor in circuit propagator (#7525)
This PR fixes another double negation issue in the circuit propagator.
Fixes cvc5/cvc5-projects#332.
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress0/preprocess/proj-issue332-circuit-prop-xor.smt2 | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index 2430eb13f..8b8a6a926 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -846,6 +846,7 @@ set(regress_0_tests regress0/preprocess/proj-issue305-circuit-prop-ite-c.smt2 regress0/preprocess/proj-issue305-circuit-prop-ite-d.smt2 regress0/preprocess/proj-issue309-circuit-prop-ite.smt2 + regress0/preprocess/proj-issue332-circuit-prop-xor.smt2 regress0/print_define_fun_internal.smt2 regress0/print_lambda.cvc.smt2 regress0/print_model.cvc.smt2 diff --git a/test/regress/regress0/preprocess/proj-issue332-circuit-prop-xor.smt2 b/test/regress/regress0/preprocess/proj-issue332-circuit-prop-xor.smt2 new file mode 100644 index 000000000..841e7392b --- /dev/null +++ b/test/regress/regress0/preprocess/proj-issue332-circuit-prop-xor.smt2 @@ -0,0 +1,9 @@ +; EXPECT: sat +(set-logic ALL) +(set-option :check-proofs true) +(declare-const x Real) +(declare-const x4 Real) +(declare-const x8 Bool) +(assert (<= x4 x)) +(assert (not (xor (> x4 x) x8))) +(check-sat) |