add type_ok Ind to proves_rules, and prove term_ok Select