automation for proving all lemmas corrected