Commit 2022-02-09 09:56 3aa5b8a9
View on Github →refactor(algebra/ring/basic): rename lemmas about a*(-b)
and (-a)*b
(#11925)
This renames:
(- a) * b = - (a * b)
fromneg_mul_eq_neg_mul_symm
toneg_mul
a * (-b) = - (a * b)
frommul_neg_eq_neg_mul_symm
tomul_neg
The new names are much easier to find when compared withsub_mul
,mul_sub
etc, and match the existing namespaced names underunits
andmatrix
. This also replaces rewrites by← neg_mul_eq_neg_mul
withneg_mul
and rewrites by← neg_mul_eq_mul_neg
withmul_neg
. To avoid clashes, the names in thematrix
namespace are nowprotected
. Zulip