diff options
author | Gereon Kremer <nafur42@gmail.com> | 2021-10-20 18:23:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 18:23:40 -0700 |
commit | 578cda677d0cc62991f3ab38d0bc26074c8c28d6 (patch) | |
tree | a231ffb813653c1e2da5b38f24a9bd87a6f16b45 /test/regress/regress1/sygus/array-uc.sy | |
parent | 2f903dcfff1eded7a75f71eede947719b72513d9 (diff) | |
parent | e590612dc4421d45cacc451a7b8a162acd9c7943 (diff) |
Merge branch 'master' into fix1649fix1649
Diffstat (limited to 'test/regress/regress1/sygus/array-uc.sy')
-rw-r--r-- | test/regress/regress1/sygus/array-uc.sy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/array-uc.sy b/test/regress/regress1/sygus/array-uc.sy new file mode 100644 index 000000000..b3d950436 --- /dev/null +++ b/test/regress/regress1/sygus/array-uc.sy @@ -0,0 +1,14 @@ +; COMMAND-LINE: --sygus-out=status +; EXPECT: unsat +(set-logic ALL) +(declare-sort U 0) +(synth-fun f ((x (Array U Int)) (y U)) Bool) + +(declare-var x (Array U Int)) +(declare-var y U) + +(constraint (= (f (store x y 0) y) true)) +(constraint (= (f (store x y 1) y) false)) + +; f can be (= (select x y) 0) +(check-synth) |