Natural deduction for predicate logic