Zulip Chat Archive

Stream: PR reviews

Topic: https://github.com/leanprover/vscode-lean/pull/285


Gabriel Ebner (Dec 20 2021 at 09:18):

Add \specializes → ⤳ abbreviation

Everybody happy with the name?

Johan Commelin (Dec 20 2021 at 09:38):

I'm very happy with the name. I don't know if we want more names...

Johan Commelin (Dec 20 2021 at 09:39):

\∼>?

Gabriel Ebner (Dec 20 2021 at 09:40):

I'm not sure if that's easier to type than \spec.

Yaël Dillies (Dec 20 2021 at 09:41):

It is for me, but I have ~ on my AZERTY keyboard.

Alex J. Best (Dec 20 2021 at 09:44):

We already have ↝ (as \leadsto same as latex) which isn't used in mathlib, why not use that instead? (and maybe make \~> a synonym of that arrow).
For comparison : ↝ ⤳

Gabriel Ebner (Dec 20 2021 at 09:46):

cc @Andrew Yang

Andrew Yang (Dec 20 2021 at 11:04):

I think x ⤳ y looks better than x ↝ y. But I suppose it would be better to stick with existing ones?

Alex J. Best (Dec 20 2021 at 11:07):

Yeah the new one is bigger and nicer looking in my vscode too, what do you think about switching to the new symbol but keeping the latex \leadsto synonym then, rather than having two quite similar wavy arrows

Gabriel Ebner (Dec 20 2021 at 11:07):

But I suppose it would be better to stick with existing ones?

It's a bit less effort if we don't need to add a new abbreviation, but that shouldn't be the deciding factor. Looking better and not clashing with potential notation for convergence are stronger reasons.

Gabriel Ebner (Dec 20 2021 at 11:08):

I'm not really in favor of renaming existing abbreviations, in particular if the semantic mnemonic no longer matches the new use.

Andrew Yang (Dec 20 2021 at 11:25):

Sure. In this case, I think I'll stick with and use the abbreviation \specializes and \~>.


Last updated: Dec 20 2023 at 11:08 UTC