Commit 2022-03-02 18:33 a283e17b
View on Github →feat(algebra/module/submodule_pointwise): pointwise negation (#12405)
We already have pointwise negation on add_submonoids (from #10451), this extends it to submodules.
The lemmas are all copies of the add_submonoid lemmas, except for two new lemmas:
submodule.neg_to_add_submonoidsubmodule.neg_eq_self, which isn't true foradd_submonoids Finally, we provide ahas_distrib_neginstance; even though the negation is not cancellative, it does distribute over multiplication as expected.