Reduction and Quantifier Elimination Techniques for Program Validation