summaryrefslogtreecommitdiff
path: root/test/regress/regress1/bags/map-lazy-lam.smt2
blob: c99bab7c9eec6db407d5488355e8b4ebc08e9e98 (plain)
1
2
3
4
5
6
7
8
9
; COMMAND-LINE: --fmf-bound --uf-lazy-ll
; EXPECT: sat
(set-logic HO_ALL)
(define-fun f ((x String)) Int 1)
(define-fun cardinality ((A (Bag String))) Int
  (bag.count 1 (bag.map f A)))
(declare-fun A () (Bag String))
(assert (= (cardinality A) 20))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback