Zulip Chat Archive
Stream: mathlib4
Topic: mulLeft vs leftMul vs mul_left
Yury G. Kudryashov (Sep 10 2024 at 23:21):
We have docs#Equiv.mulLeft and docs#leftMul
Should we sync the names?
Yury G. Kudryashov (Sep 10 2024 at 23:21):
Probably, yes. Which one is better?
Yury G. Kudryashov (Sep 10 2024 at 23:22):
Or should we drop docs#leftMul and docs#rightMul in favor of inline lambdas?
Yury G. Kudryashov (Sep 10 2024 at 23:23):
@loogle leftMul
loogle (Sep 10 2024 at 23:23):
:search: leftMul, leftMul.eq_1
Yury G. Kudryashov (Sep 10 2024 at 23:23):
@loogle rightMul
loogle (Sep 10 2024 at 23:23):
:search: rightMul, rightMul.eq_1
Yury G. Kudryashov (Sep 10 2024 at 23:23):
So, these 2 functions are never used in the library.
Yury G. Kudryashov (Sep 10 2024 at 23:25):
They were added by @Nicolò Cavalleri in !3#3529
Yury G. Kudryashov (Sep 10 2024 at 23:38):
Also, should we start using mulLeft
and mulRight
in lemma names pretending that def mulLeft
exists and we're talking about it, not fun x => a * x
?
Eric Wieser (Sep 11 2024 at 01:41):
Yury G. Kudryashov said:
They were added by Nicolò Cavalleri in !3#3529
The only uses of these were removed in !3#3641, I think
Eric Wieser (Apr 08 2025 at 22:52):
Yury G. Kudryashov said:
Or should we drop docs#leftMul and docs#rightMul in favor of inline lambdas?
Deprecated in #23847, especially since we have nice notation for them
Last updated: May 02 2025 at 03:31 UTC