Zulip Chat Archive
Stream: mathlib4
Topic: naming convention: `π[β₯] a` etc
Yury G. Kudryashov (Dec 21 2024 at 19:38):
Currently, lemmas about π[β₯] a
, π[>] a
etc use different naming conventions:
nhdsWithin_Ici
/nhdsWithin_Ioi
nhdsWithin_right
(no consistent way to tellβ₯
from>
)
What should we do about it?
Yury G. Kudryashov (Dec 21 2024 at 19:39):
/poll Name for lemmas about π[β₯] a
, π[>] a
nhdsWithin_Ici, nhdsWithin_Ioi
nhdsWithin_right, nhdsWithin_right
nhdsWithin_right, nhdsWithin_right'
nhdsGE, nhdsGT
Yury G. Kudryashov (Dec 21 2024 at 19:42):
/poll Name for a lemma about π[β ] a
punctured_nhds
nhdsWithin_compl_singleton
nhdsNE
Yury G. Kudryashov (Dec 22 2024 at 22:41):
I've started #20188
Yury G. Kudryashov (Dec 23 2024 at 04:47):
I consider #20188 ready for review now. I didn't rename all lemmas about π[β₯] a
, but I would prefer to merge this and prepare a new PR later this week.
Eric Wieser (Dec 24 2024 at 01:55):
Can we update the docstring for docs#nhdsWithin to enumerate these naming conventions?
Yury G. Kudryashov (Dec 24 2024 at 02:49):
I can submit a PR later today.
Yury G. Kudryashov (Dec 24 2024 at 02:50):
BTW, How can I find all non-deprecated theorems about π[β₯] a
to see if any of them should be renamed? AFAICS, Loogle has no option to hide deprecated theorems.
Eric Wieser (Dec 24 2024 at 07:12):
You could use the loogle API locally
Yury G. Kudryashov (Dec 24 2024 at 07:14):
How do I find out if a theorem is deprecated?
Eric Wieser (Dec 24 2024 at 07:49):
I would guess some digging in the implementation of the attribute will reveal an environment extension
Yury G. Kudryashov (Dec 24 2024 at 07:49):
I'll have a look tomorrow.
Violeta HernΓ‘ndez (Jan 05 2025 at 22:04):
As someone who's new to this part of Mathlib, thanks for this! It's not at all obvious that this involves intervals nor nhdsWithin
from either the notation or the docstring.
Last updated: May 02 2025 at 03:31 UTC