summaryrefslogtreecommitdiff
path: root/test/regress/regress1/fmf/fc-pigeonhole19.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/fmf/fc-pigeonhole19.smt2')
-rw-r--r--test/regress/regress1/fmf/fc-pigeonhole19.smt220
1 files changed, 20 insertions, 0 deletions
diff --git a/test/regress/regress1/fmf/fc-pigeonhole19.smt2 b/test/regress/regress1/fmf/fc-pigeonhole19.smt2
new file mode 100644
index 000000000..f145013d8
--- /dev/null
+++ b/test/regress/regress1/fmf/fc-pigeonhole19.smt2
@@ -0,0 +1,20 @@
+(set-logic UFC)
+(set-info :status unsat)
+
+(declare-sort P 0)
+(declare-sort H 0)
+
+(declare-fun p () P)
+(declare-fun h () H)
+
+; pigeonhole using native cardinality constraints
+(assert (fmf.card p 19))
+(assert (not (fmf.card p 18)))
+(assert (fmf.card h 18))
+(assert (not (fmf.card h 17)))
+
+; each pigeon has different holes
+(declare-fun f (P) H)
+(assert (forall ((p1 P) (p2 P)) (=> (not (= p1 p2)) (not (= (f p1) (f p2))))))
+
+(check-sat) \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback