News for hackers. Stuff that matters.
Re:" and the proof is checked in Lean" by fancyfredbot on Monday November 16, 2026 @06:57AM (#50516606)
I think it's a reasonable point but a bad analogy.

It's more like assuming that because your code is formally proven correct the client will be happy with it.

The code can be right but it may still do the wrong thing.

Re:" and the proof is checked in Lean" by pasquinelli on Monday November 16, 2026 @07:24AM (#50516855)
you just said the same thing
Re:" and the proof is checked in Lean" by fancyfredbot on Monday November 16, 2026 @11:47AM (#50519663)
OP said it's like saying the code compiles, but I said formally proven correct.

Formally proven correct is a much stronger guarantee that the code meets its spec than a successful compilation.

Re:" and the proof is checked in Lean" by pasquinelli on Monday November 16, 2026 @01:07PM (#50520737)
and op's question was "but how do you know the spec is what you want." making the guarantee stronger doesn't fix the problem. you can't fly by pulling your feet up no matter how strong you are.