hsmt-0.1.0.0: bench/smtlib/incremental/scoped_declarations.smt2
(set-info :smt-lib-version 2.6)
(set-logic ALL)
(set-info :source |hsmt benchmark set: declarations removed by pop|)
(declare-fun f (Int) Int)
(push 1)
(declare-const x Int)
(assert (= (f x) x))
(assert (= (f (f x)) (+ x 1)))
(set-info :status unsat)
(check-sat)
(pop 1)
(push 1)
(declare-const x (_ BitVec 4))
(declare-fun g ((_ BitVec 4)) Int)
(assert (= (f (g x)) 3))
(assert (= (g (bvadd x #x1)) (g x)))
(set-info :status sat)
(check-sat)
(pop 1)
(push 1)
(declare-const x String)
(assert (= (f (str.len x)) (str.len x)))
(assert (= (str.len x) 2))
(assert (= (f 2) 3))
(set-info :status unsat)
(check-sat)
(pop 1)
(set-info :status sat)
(check-sat)
(exit)