summaryrefslogtreecommitdiff
path: root/test/regress/regress0/issue4469-unc-no-reuse-var.smt2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-05-05 16:35:44 -0500
committerGitHub <noreply@github.com>2020-05-05 14:35:44 -0700
commit21376f1b756a237004adb9ba11c10566685a9605 (patch)
treeae37a6f8abb2d1b60938b13385ced707f576904d /test/regress/regress0/issue4469-unc-no-reuse-var.smt2
parentd66146480789917cb7d5c49dc9b603f40d6851fc (diff)
Always introduce fresh variable for unconstrained APPLY_UF (#4472)
Fixes an unsoundness in unconstrained simplification, fixes #4469.
Diffstat (limited to 'test/regress/regress0/issue4469-unc-no-reuse-var.smt2')
-rw-r--r--test/regress/regress0/issue4469-unc-no-reuse-var.smt27
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/regress0/issue4469-unc-no-reuse-var.smt2 b/test/regress/regress0/issue4469-unc-no-reuse-var.smt2
new file mode 100644
index 000000000..3bc79578f
--- /dev/null
+++ b/test/regress/regress0/issue4469-unc-no-reuse-var.smt2
@@ -0,0 +1,7 @@
+; COMMAND-LINE: --unconstrained-simp --no-check-models
+; EXPECT: sat
+(set-logic QF_AUFBVLIA)
+(declare-fun a () Int)
+(declare-fun b (Int) Int)
+(assert (distinct (b a) (b (b a))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback