Commit 2021-05-14 01:13 239908ee
View on Github →feat(ring_theory/ideal/operations): add apply_coe_mem_map (#7566) This is a continuation of #7459. In this PR:
- We modify
ideal.mem_map_of_memin order to be consistent withsubmonoid.mem_map_of_mem. - We modify
submonoid.apply_coe_mem_map(and friends) to have the submonoid as an explicit variable. This was the case before #7459 (but with a different, and not consistent, name). It seems to me that this version makes the code more readable. - We add
ideal.apply_coe_mem_map(similar tosubmonoid.apply_coe_mem_map). Note thatmem_map_of_memis used in other places, for example we havemultiset.mem_map_of_mem, but since a multiset is not a type there is noapply_coe_mem_mapto add there.