Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2022-05-10 11:03 91489acb

View on Github →

feat(algebra/module/submodule_bilinear): add submodule.map₂, generalizing submodule.has_mul (#13709) The motivation here is to be able to talk about combinations of submodules under other bilinear maps, such as the tensor product. This unifies the definitions of and lemmas about submodule.has_mul and submodule.has_scalar'. The lemmas about submodule.map₂ are copied verbatim from those for mul, and then adjusted slightly replacing mul_zero with linear_map.map_zero etc. I've then replaced the lemmas about smul with the map₂ proofs where possible. The lemmas about finiteness weren't possible to copy this way, as the proofs about finset multiplication are not generalized in a similar way. Someone else can copy these in a future PR. This also adds set.image2_eq_Union to match set.image_eq_Union, and removes submodule.union_eq_smul_set which is neither about submodules nor about union, and instead is really just a copy of set.image_eq_Union

Estimated changes

modified theorem submodule.bot_mul
modified theorem submodule.mul_bot
modified theorem submodule.mul_le
modified theorem submodule.mul_le_mul
modified theorem submodule.mul_le_mul_left
modified theorem submodule.mul_le_mul_right
modified theorem submodule.mul_mem_mul
modified theorem submodule.mul_sup
modified theorem submodule.span_mul_span
modified theorem submodule.sup_mul
modified theorem submodule.bot_smul
modified theorem submodule.smul_bot
modified theorem submodule.smul_le
modified theorem submodule.smul_mem_smul
modified theorem submodule.smul_mono
modified theorem submodule.smul_mono_left
modified theorem submodule.smul_mono_right
modified theorem submodule.smul_sup
modified theorem submodule.span_smul_eq
modified theorem submodule.sup_smul