derive_thms_for_type works again