rewrite proofs with improved tactics