diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-01-04 13:24:14 -0600 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2020-01-04 11:24:14 -0800 |
commit | e3e6f0dc62f0bb9d3fb8d752c5eb4600872fd806 (patch) | |
tree | e61459b53e8bb8f8dd29c89655eb03f66e9dcfa4 /test/regress/regress1/fmf/issue3587.smt2 | |
parent | f10f495cbb3784cfed51779836f49f7a06b4f289 (diff) |
Fix finiteness check for bounded fmf (#3589)
Recently, finite model finding via uninterpreted sorts was decoupled from finite bound inference techniques (the BoundedIntegers module in theory/quantifiers/fmf/). This module assumed that finite model finding was enabled in one place. This fixes the issue by adding an additional check. This fixes a model unsoundness issue where bounds on an uninterpreted sort were not being enforced.
This fixes #3587.
Diffstat (limited to 'test/regress/regress1/fmf/issue3587.smt2')
-rw-r--r-- | test/regress/regress1/fmf/issue3587.smt2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regress/regress1/fmf/issue3587.smt2 b/test/regress/regress1/fmf/issue3587.smt2 new file mode 100644 index 000000000..5ca5e4f16 --- /dev/null +++ b/test/regress/regress1/fmf/issue3587.smt2 @@ -0,0 +1,9 @@ +; COMMAND-LINE: --fmf-bound +; EXPECT: unknown +(set-logic ALL) +(declare-sort a 0) +(declare-datatypes ((prod 0)) (((Pair (gx a) (gy a))))) +(declare-fun p () prod) +(assert (forall ((x a) (y a)) (not (= p (Pair x y))))) +; problem is unsat, currently unknown with fmf-bound +(check-sat) |