Zulip Chat Archive

Stream: condensed mathematics

Topic: notation


Johan Commelin (Jun 09 2021 at 07:18):

I've been replacing the sequences of constants c_ and c' by κ and κ' everywhere. So now the Lean code matches the blueprint and Analytic.pdf again. (Over there, the change was made a couple of weeks ago.)
The main reason: there is a constant c0c_0 that has mostly nothing to do with the constants c1,c2,c_1, c_2, \ldots. So now this distinction is a lot more clear.

Johan Commelin (Jun 09 2021 at 07:23):

To make the (old) confusion worse... in Lean the sequence of constants c_ of course was indexed by nat and so there was also a c_ 0. In practice c_ 0 = 1, and that's why there is no c0c_0 in the sequence of constants in the PDF. But you can see why it's a good idea to distinguish the notations :smiley:

Peter Scholze (Jun 09 2021 at 07:31):

I'm very bad with choosing nonconflicting notation. Any auxiliary index is an ii, no matter whether other ii's are around, etc... Thanks for the disambiguation!

Johan Commelin (Jun 09 2021 at 07:32):

Well, Lean can actually handle multiple variables with the same name in the same context... so technically there is no problem

Johan Commelin (Jun 09 2021 at 07:32):

But you might need to jump through several hoops later on to explain to it which of the different is you want to use

Peter Scholze (Jun 09 2021 at 07:34):

Oh, how does Lean do that? That's cool

Johan Commelin (Jun 09 2021 at 07:34):

It has unique identifiers behind the scenes

Johan Commelin (Jun 09 2021 at 07:35):

Actually, variables are implemented using de Bruijn indices (which are unrelated to the de Bruijn factor)

Johan Commelin (Jun 09 2021 at 07:35):

https://en.wikipedia.org/wiki/De_Bruijn_index

Johan Commelin (Jun 09 2021 at 07:36):

But there is some interface on top of that which allows human-readable variable names


Last updated: Dec 20 2023 at 11:08 UTC