Type-checking of proofs by induction; some corrections in the evaluator.