summaryrefslogtreecommitdiff
path: root/test/regress/regress0/ho/simple-matching-partial.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/ho/simple-matching-partial.smt2')
-rw-r--r--test/regress/regress0/ho/simple-matching-partial.smt217
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/regress0/ho/simple-matching-partial.smt2 b/test/regress/regress0/ho/simple-matching-partial.smt2
new file mode 100644
index 000000000..41b2a0bca
--- /dev/null
+++ b/test/regress/regress0/ho/simple-matching-partial.smt2
@@ -0,0 +1,17 @@
+; COMMAND-LINE: --uf-ho
+; EXPECT: unsat
+(set-logic ALL)
+(set-info :status unsat)
+(declare-sort U 0)
+(declare-fun f (U U) U)
+(declare-fun g (U) U)
+(declare-fun a () U)
+(declare-fun b () U)
+(declare-fun c () U)
+; should instantiate f/x, g/y
+(assert (forall ((x (-> U U U)) (y (-> U U))) (=> (not (= (x a) y)) (or (= (x a c) b) (= (y c) b)))))
+(assert (not (= (f a c) b)))
+(assert (not (= (g c) b)))
+; this is required for unsatisfiable or else (f a) can be equal to g
+(assert (not (= (f a a) (g a))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback