diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-01-15 00:18:49 +0100 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-01-15 00:18:49 +0100 |
commit | 081351e87edeb52facba0d0abc2e933433480444 (patch) | |
tree | 8d0192c895c4103877e12673c0927d25e53a3db3 /test/regress/regress0/fmf/dt-proper-model.smt2 | |
parent | 94fe6a0d525bff3cdd4450b2abd04eb2cb044308 (diff) |
Ensure model construction for parametric sorts involving uninterpreted sorts respect cardinality bounds on when finite model finding is enabled.
Diffstat (limited to 'test/regress/regress0/fmf/dt-proper-model.smt2')
-rwxr-xr-x | test/regress/regress0/fmf/dt-proper-model.smt2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/regress0/fmf/dt-proper-model.smt2 b/test/regress/regress0/fmf/dt-proper-model.smt2 new file mode 100755 index 000000000..60a0b6377 --- /dev/null +++ b/test/regress/regress0/fmf/dt-proper-model.smt2 @@ -0,0 +1,16 @@ +; COMMAND-LINE: --finite-model-find +; EXPECT: sat +(set-logic ALL_SUPPORTED) +(set-info :status sat) +(declare-sort U 0) +(declare-datatypes () ((D (cons (x Int) (y U))))) +(declare-fun d1 () D) +(declare-fun d2 () D) +(declare-fun d3 () D) +(declare-fun d4 () D) +(assert (distinct d1 d2 d3 d4)) +(assert (forall ((x U) (y U)) (= x y))) +(declare-fun a () U) +(declare-fun P (U) Bool) +(assert (P a)) +(check-sat)
\ No newline at end of file |