(set-logic HO_ALL) (set-info :status sat) (set-option :fmf-bound true) (set-option :uf-lazy-ll true) (define-fun min ((x String) (y String)) String (ite (str.< x y) x y)) (declare-fun A () (Bag String)) (declare-fun minimum () String) (assert (= minimum (bag.fold min "zzz" A))) (assert (= "b" minimum)) (check-sat)