Feature #2488,
optimize, e.g. (x==sqrt(x)*sqrt(x))