News for hackers. Stuff that matters.
Re:Yes, 17M lines of Lean is a lot by GuB-42 on Monday November 23, 2026 @08:28AM (#50611260)
> That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know.

It should know. Not you in particular, but it should know what people who are going to read the proof know. Claude has read every paper, every proof, every question and every answer that is available on the open web and then some more. It knows what serious mathematicians who tackle the millenium problems know, to the point of people saying it is stealing their work. And by "know", I mean it can auto-complete text to make it look like it comes from a top level mathematician.

Except that it is not what we ask of it, as this would result in nothing but hallucinations. So instead of asking for a nice proof, we ask it to tweak some Lean code until it compiles. And in the end, you have Lean code that compiles, but no nice proof.

And by the way, I don't mind a LLM explaining to me what I already know. First because I may, in fact, not know, and if I do, that's a reality check. If it is wrong at explaining what I already know, it means I can't trust what follows. Same thing as for humans really, it is good to make sure we are on the same page.

In particular, I avoid any formulation that suggest expertise, like the popular "you are an expert...". From my experiments, it just makes the LLM sound more competent than it is, exactly what I don't want. I even tried to do the opposite, like "you are a junior who is barely qualified for the job", and I usually get the same answer, worded differently, or sometime even a better answer.

In general, I try to give the LLM as much freedom as possible when it comes to presenting the result. My reasoning is that the more you try to constrain it, the more attention will be wasted on the constraints rather than on the fact themselves, maybe it doesn't make sense, but it works for me. Also, the more I can avoid putting boilerplate in my prompts, the better.

Re:Yes, 17M lines of Lean is a lot by catlifeonmars on Monday November 23, 2026 @12:08PM (#50615316)
[delayed]