diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-06 14:27:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 14:27:10 -0600 |
commit | 89337334236176bff2d561c42b9b55ab9d91bd62 (patch) | |
tree | a7ca068313b3625865bedc425a9607b814e5868e /test/regress/regress0/quantifiers | |
parent | b9347f7d0ca130f85df103e5271536a165a04a64 (diff) |
Remove tester name from APIs (#3929)
This removes the field "tester name" from the Expr-level and Term-level APIs. This field is an artifact of parsing and thus should be handled in the parsers.
This refactor uncovered an issue in our regressions, namely our smt version >= 2.6 was not strictly complaint, since the symbol is-cons was being automatically defined for testers of constructors cons. This disables this behavior when strict mode is enabled. It updates the regressions with this issue.
This is work towards parser migration.
Diffstat (limited to 'test/regress/regress0/quantifiers')
-rw-r--r-- | test/regress/regress0/quantifiers/simp-len.smt2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/simp-len.smt2 b/test/regress/regress0/quantifiers/simp-len.smt2 index 0a736d7b3..06ae23f8d 100644 --- a/test/regress/regress0/quantifiers/simp-len.smt2 +++ b/test/regress/regress0/quantifiers/simp-len.smt2 @@ -3,7 +3,7 @@ (declare-datatypes ((Lst 0)) (((cons (head Int) (tail Lst)) (nil)))) -(define-fun-rec len ((x Lst)) Int (ite (is-cons x) (+ 1 (len (tail x))) 0)) +(define-fun-rec len ((x Lst)) Int (ite ((_ is cons) x) (+ 1 (len (tail x))) 0)) (assert (= (len (cons 0 nil)) 0)) (check-sat) |