Commit 2021-02-22 21:32 c0389845
View on Github →chore(data/equiv/*): add missing coercion lemmas for equivs (#6268) This does not affect the simp-normal form. This tries to make a lot of lemma names and statements more consistent:
- restates linear_map.mk_applyto belinear_map.coe_mkto matchmonoid_hom.coe_mk
- adds linear_map.to_linear_map_eq_coe
- adds the simp lemma linear_map.coe_to_equiv
- adds the simp lemma linear_map.linear_map.coe_to_linear_map
- adds the simp lemma linear_map.to_fun_eq_coe
- adds the missing ancestorattributes required to maketo_additivework for things likeadd_equiv.to_add_hom
- restates add_equiv.to_fun_applyto beadd_equiv.to_fun_eq_coe
- restates add_equiv.to_equiv_applyto beadd_equiv.coe_to_equiv
- adds the simp lemma add_equiv.coe_to_mul_hom
- removes add_equiv.to_add_monoid_hom_applysinceadd_equiv.coe_to_add_monoid_homis a shorter and more general statement
- restates ring_equiv.to_fun_applyto bering_equiv.to_fun_eq_coe
- restates ring_equiv.coe_mul_equivto bering_equiv.coe_to_mul_equiv
- restates ring_equiv.coe_add_equivto bering_equiv.coe_to_add_equiv
- restates ring_equiv.coe_ring_homto bering_equiv.coe_to_ring_hom
- adds ring_equiv.to_ring_hom_eq_coe
- adds ring_equiv.to_add_equiv_eq_coe
- adds ring_equiv.to_mul_equiv_eq_coe