summaryrefslogtreecommitdiff
path: root/test/regress/regress0/fmf/bug652.smt2
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-03-02 14:45:21 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2017-03-02 14:45:21 -0600
commit1f4b954a2cc7667a56a3007fa75c125fba93ed23 (patch)
treeea8734e89aa5fba170781c7148d3fd886c597d4e /test/regress/regress0/fmf/bug652.smt2
parent21b0cedd7dadd96e5d256885e3b65a926a7e4a81 (diff)
Eliminate Boolean term conversion. Generalizes removeITE pass to remove Boolean terms, treats distinguished BOOLEAN_TERM_VARIABLE kind as theory literal. Fixes bugs 597, 604, 651, 652, 691, 694. Add regressions.
Diffstat (limited to 'test/regress/regress0/fmf/bug652.smt2')
-rw-r--r--test/regress/regress0/fmf/bug652.smt222
1 files changed, 22 insertions, 0 deletions
diff --git a/test/regress/regress0/fmf/bug652.smt2 b/test/regress/regress0/fmf/bug652.smt2
new file mode 100644
index 000000000..13748eeea
--- /dev/null
+++ b/test/regress/regress0/fmf/bug652.smt2
@@ -0,0 +1,22 @@
+; COMMAND-LINE: --fmf-fun --no-check-models
+; EXPECT: sat
+(set-logic UFDTSLIA)
+(set-info :smt-lib-version 2.5)
+(set-option :produce-models true)
+
+(declare-datatypes () (
+ (List_boolean (List_boolean$CNil_boolean) (List_boolean$Cstr_boolean (List_boolean$Cstr_boolean$head Bool) (List_boolean$Cstr_boolean$tail List_boolean)))
+) )
+
+(define-funs-rec
+ (
+ (f4208$lengthList_boolean((x List_boolean)) Int)
+ )
+ (
+ (ite (is-List_boolean$CNil_boolean x) 0 (+ 1 (f4208$lengthList_boolean (List_boolean$Cstr_boolean$tail x))))
+ )
+)
+
+
+(declare-const boolean Bool)
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback