Fraction and exponent simplification