Commit 2021-08-16 03:52 b97344c0
View on Github →chore(algebra/module): Swap the naming of smul_(left|right)_injective
to match the naming guide (#8659)
The naming conventions say:
An injectivity lemma that uses "left" or "right" should refer to the argument that "changes". For example, a lemma with the statement
a - b = a - c ↔ b = c
could be calledsub_right_inj
. This corrects the name offunction.injective (λ c : R, c • x)
to besmul_left_injective
instead of the previoussmul_right_injective
, and vice versa forfunction.injective (λ x : M, r • x)
. This also brings it in line withmul_left_injective
andmul_right_injective
.