'>' could be generalized to '!='.