packages feed

toysolver-0.4.0: samples/smt/assertion-stack-levels-2.smt2

(set-logic QF_UF)
(declare-fun a () Bool)
(declare-fun b () Bool)
(assert (or a b))

(get-info :assertion-stack-levels)

; NOTE: omitting arguments of push/pop is not allowed in SMT-LIB2
; but many solver implement the omission.
(push)
(get-info :assertion-stack-levels)
(pop)

(get-info :assertion-stack-levels)