Added proof for predicate calculus correctness