Zulip Chat Archive
Stream: mathlib4
Topic: RCLike.zero_re'
Iván Renison (May 20 2025 at 15:58):
Hi, in Mathlib.Analysis.RCLike.Basic we have this lemma:
@[rclike_simps]
theorem zero_re' : re (0 : K) = (0 : ℝ) :=
map_zero re
I want to ask:
1) Why is zero_re' instead of zero_re?
2) Do we have version for im?
Aaron Liu (May 20 2025 at 16:19):
It looks like zero_re' was added in mathlib3#4057 and zero_re was deleted in mathlib3#4824
Jireh Loreaux (May 20 2025 at 16:47):
This is misnamed anyway, it should be re_zero
Jireh Loreaux (May 20 2025 at 16:48):
Jireh Loreaux (May 20 2025 at 16:49):
Yury G. Kudryashov (May 21 2025 at 03:58):
Many lemmas about RCLike use re and im as suffixes, probably after Complex lemmas.
Yury G. Kudryashov (May 21 2025 at 03:58):
Do you remember what was the outcome of the recent discussion about that?
Yury G. Kudryashov (May 21 2025 at 03:59):
(I mean, whether we should continue using projections as suffixes here and there, or switch to prefixes).
Iván Renison (May 21 2025 at 08:00):
I opened #25077 removing de ' of zero_re and adding zero_im
Yaël Dillies (May 21 2025 at 08:01):
Yury G. Kudryashov said:
Many lemmas about
RCLikeusereandimas suffixes, probably afterComplexlemmas.
I did rename a lot of those lemmas back then. Let's not add any more please
Eric Wieser (May 21 2025 at 08:27):
As is, let's use prefices?
Last updated: Dec 20 2025 at 21:32 UTC