Zulip Chat Archive
Stream: lean4
Topic: Unicode input for →ₛₗ
Anthony Fernandes (Sep 12 2025 at 22:05):
It seems that the vscode extension doesn't have an abbreviation for →ₛₗ.
Following the examples of →ₗand →ₛ, I suggest to add rsl, tosl, r_sl, to_sl and semilinearmap as abbreviations for →ₛₗ. PR here
Aaron Liu (Sep 12 2025 at 22:05):
I thought we were all just supposed to do \r\_s\_l
Aaron Liu (Sep 12 2025 at 22:06):
what's the abbreviations for →ₗand →ₛ?
Eric Wieser (Sep 12 2025 at 22:07):
\tol is one of the
Anthony Fernandes (Sep 12 2025 at 22:07):
→ₗ has rl, tol, r_l, to_l and linearmap
→ₛ has rs, tos, r_s, to_s and simplefunc
Jireh Loreaux (Sep 13 2025 at 18:54):
I can't believe we have that for simple functions. That's not even scoped notation, it's only local!
Marc Huisinga (Sep 15 2025 at 08:21):
Is there consensus that these shortcuts are common enough that they should be added?
Floris van Doorn (Sep 15 2025 at 09:33):
Personally I think that all multi-character scoped and global notation in Mathlib deserves a dedicated shortcut.
Floris van Doorn (Sep 15 2025 at 09:34):
These multi-character shortcuts are not very discoverable (is there a better way than navigating abbreviations.json?)
Should we add the keyboard shortcuts to the docstring of multi-character notations?
Oh wait, these shortcuts now show up in the tooltip of the first character. Nice!
Marc Huisinga (Sep 15 2025 at 09:37):
Floris van Doorn said:
These multi-character shortcuts are not very discoverable (is there a better way than navigatingabbreviations.json?)
We also have a built-in table view of abbreviations.json that you can find under Forall menu > Documentation > Show Unicode Input Abbreviations
Last updated: Dec 20 2025 at 21:32 UTC