Zulip Chat Archive

Stream: general

Topic: fLT


Kevin Buzzard (Oct 27 2025 at 14:20):

Sometimes auto-generated instance names have got fLT in them. The first time I noticed this was in the FLT project which confused me for a while, but then I realised that it seemed to be a core Lean thing. Searching is difficult because I say FLT a lot more often than everyone else says fLT. What does it stand for/mean?

Kenny Lau (Oct 27 2025 at 14:28):

the theorem that says Foo Bar = 67 is supposed to be named foo_bar_eq_67, i.e. each word should start with a lowercase letter

Thomas Zhu (Oct 27 2025 at 14:29):

The code for that should be here: https://github.com/leanprover/lean4/blob/744f98064b056ee27fc8c97f524797c8cc96f436/src/Lean/Elab/DeclNameGen.lean#L199-L206. The docstring of the next function mkBaseNameWithSuffix says:

... it adds suffixes using the current module if the resulting name doesn't refer to anything defined in this module.

Kevin Buzzard (Oct 27 2025 at 14:41):

Oh OK so it really is an FLT thing! Thanks!

Weiyi Wang (Oct 27 2025 at 21:20):

Searching is difficult

My take on this is that searching should be case-insensitive

Kenny Lau (Oct 27 2025 at 21:30):

loogle searching by string is case-insensitive


Last updated: Dec 20 2025 at 21:32 UTC