Zulip Chat Archive

Stream: new members

Topic: Search for notation


María Inés de Frutos Fernández (Oct 19 2021 at 14:11):

Where is the notation ∀ᶠ introduced? More generally, is there a good way to search for notation in the documentation?

Alex J. Best (Oct 19 2021 at 14:14):

It is just after src#filter.eventually

María Inés de Frutos Fernández (Oct 19 2021 at 14:15):

Thanks, Alex!

Riccardo Brasca (Oct 19 2021 at 14:16):

In VS Code if you with the cursor over that symbol, it says "filter.eventually...".

Alex J. Best (Oct 19 2021 at 14:16):

I don't think the doc is too easy to search, I would either right click the notation and click go to definition or search for notation.*∀ᶠ in the vscode search with "use regular expressions" turned on.

Riccardo Brasca (Oct 19 2021 at 14:18):

The problem with right click a notation is that often (not in this case I think) it sends you to has_notation that is rarely useful, if you want to know, for example, what M ≤ N means when M and N modules.

Johan Commelin (Oct 19 2021 at 14:19):

Can we have notation#∀ᶠ be a link?

Johan Commelin (Oct 19 2021 at 14:19):

And can the docs list all the notation and localized "notation occurences in mahtlib?

María Inés de Frutos Fernández (Oct 19 2021 at 14:20):

Alex J. Best said:

I don't think the doc is too easy to search, I would either right click the notation and click go to definition or search for notation.*∀ᶠ in the vscode search with "use regular expressions" turned on.

I tried right click, but it told me "no definition found for ∀ᶠ".

Riccardo Brasca (Oct 19 2021 at 14:21):

Wait for the orange bar to be gone.

María Inés de Frutos Fernández (Oct 19 2021 at 14:24):

I'm not getting an orange bar.

Bryan Gin-ge Chen (Oct 19 2021 at 14:26):

Johan Commelin said:

And can the docs list all the notation and localized "notation occurences in mahtlib?

doc-gen#94 is related. We'll need that or something like it before we can get notation# to work.

Johan Commelin (Oct 19 2021 at 14:42):

Aah, thanks for the pointer.

Johan Commelin (Oct 19 2021 at 14:43):

But do we need to do this using Lean? I guess we could also just grep for these commands, and format the list with a bit of html.

Johan Commelin (Oct 19 2021 at 14:43):

Wouldn't that be good enough?

Alex J. Best (Oct 19 2021 at 14:48):

Huh that's weird, right clicking did work for me, though I do find it to be flakey sometimes. I tried to right click it from #check ∀ᶠ, does that make any difference?

Bryan Gin-ge Chen (Oct 19 2021 at 14:59):

Johan Commelin said:

Wouldn't that be good enough?

It might be! (As far as doc-gen goes I think I'm still supposed to be looking into collecting all the stacks tags in one place...)

María Inés de Frutos Fernández (Oct 19 2021 at 15:01):

Alex J. Best said:

Huh that's weird, right clicking did work for me, though I do find it to be flakey sometimes. I tried to right click it from #check ∀ᶠ, does that make any difference?

It's now working for me too (I don't know why it wasn't before ). Searching with regular expressions did work at the first try, thanks!

Johan Commelin (Oct 19 2021 at 15:10):

(@Bryan Gin-ge Chen I think there were plans to collect the stacks tags using an attribute? But it hasn't been high prio recently.)

Eric Wieser (Oct 19 2021 at 20:52):

Why do we need that linked issue before we can make notation# work? Don't we just open every locale right now?

Kevin Buzzard (Oct 19 2021 at 21:48):

Johan Commelin said:

Can we have notation#∀ᶠ be a link?

@Shing Tak Lam your bot on the discord server does this, right?

Yaël Dillies (Oct 19 2021 at 21:52):

with the command icode :grinning_face_with_smiling_eyes:

Shing Tak Lam (Oct 19 2021 at 21:52):

Kevin Buzzard said:

Johan Commelin said:

Can we have notation#∀ᶠ be a link?

Shing Tak Lam your bot on the discord server does this, right?

image.png

Kevin Buzzard (Oct 19 2021 at 21:53):

Oh so it only tells you how to type it, not how to find it.

Shing Tak Lam (Oct 19 2021 at 21:53):

Yeah, it basically takes the VSCode replacements file and does a search on that. It doesn't tell you what the notation is actually for.


Last updated: Dec 20 2023 at 11:08 UTC