Debian Codegraph @

test/regress/cli/regress1/bags/filter3.smt2

raw
1 (set-logic HO_ALL)
2 (set-info :status unsat)
3 (set-option :fmf-bound true)
4 (declare-fun A () (Bag Int))
5 (declare-fun B () (Bag Int))
6 (define-fun p ((x Int)) Bool (> x 1))
7 (assert (= B (bag.filter p A)))
8 (assert (= (bag.count 3 A) 57))
9 (assert (= (bag.count 3 B) 58))
10 (check-sat)