summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-03-11 12:18:59 -0500
committerGitHub <noreply@github.com>2020-03-11 12:18:59 -0500
commitac5ef49e14154daee4200783b57584febb726a4e (patch)
treeeaab7a14b8a734f0a017595ea7de56487875690b /test
parentc7f50a009cad7a0c1a2f1a5290e1d7bd03edf0e7 (diff)
Fix non-parametrized operators in subgoal generation (#4023)
Fixes #4021. We were previously constructing a malformed HO_APPLY as part of a subgoal for induction.
Diffstat (limited to 'test')
-rw-r--r--test/regress/CMakeLists.txt1
-rw-r--r--test/regress/regress1/quantifiers/issue4021-ind-opts.smt214
2 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt
index 83d9ac48c..47290467d 100644
--- a/test/regress/CMakeLists.txt
+++ b/test/regress/CMakeLists.txt
@@ -1490,6 +1490,7 @@ set(regress_1_tests
regress1/quantifiers/issue3724-quant.smt2
regress1/quantifiers/issue3765.smt2
regress1/quantifiers/issue3765-quant-dd.smt2
+ regress1/quantifiers/issue4021-ind-opts.smt2
regress1/quantifiers/issue993.smt2
regress1/quantifiers/javafe.ast.StmtVec.009.smt2
regress1/quantifiers/lra-vts-inf.smt2
diff --git a/test/regress/regress1/quantifiers/issue4021-ind-opts.smt2 b/test/regress/regress1/quantifiers/issue4021-ind-opts.smt2
new file mode 100644
index 000000000..c9d4eb034
--- /dev/null
+++ b/test/regress/regress1/quantifiers/issue4021-ind-opts.smt2
@@ -0,0 +1,14 @@
+(set-logic ALL)
+(set-option :ag-miniscope-quant true)
+(set-option :conjecture-gen true)
+(set-option :int-wf-ind true)
+(set-option :quant-model-ee true)
+(set-option :sygus-inference true)
+(set-option :uf-ho true)
+(set-info :status unsat)
+(declare-fun a () Real)
+(declare-fun b () Real)
+(declare-fun c () Real)
+(declare-fun e () Real)
+(assert (forall ((d Real)) (and (or (< (/ (* (- a) d) 0) c) (> b 0.0)) (= (= d 0) (= e 0)))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback