return value;
}
- case kind::MULT:
- case kind::NONLINEAR_MULT: { // 2+ args
+ case kind::MULT: { // 2+ args
DeltaRational value(1);
unsigned variableParts = 0;
for(TNode::iterator i = n.begin(), iend = n.end(); i != iend; ++i) {
+; COMMAND-LINE: --incremental --nl-alg --fmf-fun-rlv --no-check-models
(set-logic UFNIA)
(set-info :smt-lib-version 2.5)
+; EXPECT: sat
(declare-fun fixedAdd() Int)
(assert (= fixedAdd (+ 2 (+ 2 (+ 2 0)))))
(check-sat)
0
(+ a ($$add$$ a (- b 1)))))
+; EXPECT: sat
(declare-fun variableAdd() Int)
(assert (= variableAdd ($$add$$ 2 3)))
(check-sat)
+; EXPECT: sat
(declare-fun fixedTimes() Int)
(assert (= fixedTimes (* 2 (* 2 (* 2 1)))))
(check-sat)
+; EXPECT: sat
(define-fun-rec $$pow$$ ((a Int)(b Int)) Int
(ite (= b 0)
1