conversion to prenex normal form done except pulling out quantifiers