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)from- neg_mul_eq_neg_mul_symmto- neg_mul
- a * (-b) = - (a * b)from- mul_neg_eq_neg_mul_symmto- mul_negThe new names are much easier to find when compared with- sub_mul,- mul_subetc, and match the existing namespaced names under- unitsand- matrix. This also replaces rewrites by- ← neg_mul_eq_neg_mulwith- neg_muland rewrites by- ← neg_mul_eq_mul_negwith- mul_neg. To avoid clashes, the names in the- matrixnamespace are now- protected. Zulip