On mechanical quantifier elimination for elementary algebra and geometry