max/min predicates