let mk_equal (a, b) = if Term.eq a b then mk_true else if Term.is_interp_const a && Term.is_interp_const b then mk_false else Equal(a, b)