Debian Codegraph @

test/regress/cli/regress1/bags/map-lazy-lam.smt2

raw
1 ; COMMAND-LINE: --fmf-bound --uf-lazy-ll
2 ; EXPECT: sat
3 (set-logic HO_ALL)
4 (define-fun f ((x String)) Int 1)
5 (define-fun cardinality ((A (Bag String))) Int
6 (bag.count 1 (bag.map f A)))
7 (declare-fun A () (Bag String))
8 (assert (= (cardinality A) 20))
9 (check-sat)