(set-logic QF_UF) (declare-sort U 0) (declare-fun x () U) (declare-fun y () U) (declare-fun z () U) (declare-fun f (U) U) (assert (and (= x y) (= y z) (not (= (f x) (f z))))) (check-sat) (exit)