1 2 3 4 5 6 7 8 9 10 11 12
; COMMAND-LINE: --sort-inference ; EXPECT: sat (set-logic HO_ALL) (set-option :sort-inference true) (set-info :status sat) (declare-fun a () Int) (declare-fun b (Int) Int) (declare-fun c (Int) Int) (declare-fun d (Int) Int) (assert (distinct d (ite (= a 0) b c))) (assert (= (d 0) 0)) (check-sat)