Zulip Chat Archive

Stream: lean4

Topic: is quoted identifier still available in lean4


Hsin-Po Wang (Jun 30 2025 at 04:25):

It seems in lean 3 I can say theorem x is 10 and I get a theorem whose name is "x is 10" with all the spaces. Is this syntax still available in lean4? I can't find the counter part in lean 4 document not can I find a statement that this is deprecated.

Kim Morrison (Jun 30 2025 at 04:27):

Look for "French quotes"

Robin Arnez (Jun 30 2025 at 08:33):

\f<<>>

Robin Carlier (Jun 30 2025 at 08:53):

Grepping the reference manual for "french" or "French" gives no hit. Grepping for "«" gives hits but none seems to be actually documenting the feature. Am I doing it wrong or is this a hole in the manual?

Simon Dima (Jun 30 2025 at 08:55):

https://lean-lang.org/doc/reference/latest///////////////Source-Files-and-Modules/#--tech-term-guillemets
Seems to be the doc in question

Robin Carlier (Jun 30 2025 at 09:02):

Oh, then I was just doing it wrong! ( yep, I overlooked one of the hit for "«")

Ruben Van de Velde (Jun 30 2025 at 09:04):

That's a lot of slashes!

Mario Carneiro (Jun 30 2025 at 11:32):

#general > Lean Reference search bar adding "/" characters to URL @ 💬

Hsin-Po Wang (Jun 30 2025 at 13:13):

beautiful! Thanks all.

Kyle Miller (Jun 30 2025 at 15:12):

This feature is the same as it was in Lean 3.

Hsin-Po Wang said:

It seems in lean 3 I can say theorem x is 10

Can you give an example of what you mean here? What's a Lean 3 example that worked and what wasn't working in Lean 4?


Last updated: Dec 20 2025 at 21:32 UTC