logoalt Hacker News

octoberfranklin • today at 3:52 AM • 4 replies • view on HN

Does it truly matter if the proof is messy/inefficient if it’s correct? It can be walked back and reordered from here.

Does it truly matter if the code is unreadable slop that cannot be maintained, audited, or secured?

I swear, the groupthink here is unreal.


Replies

fc417fc802 • today at 4:05 AM

Yes, that matters because code is a machine that needs to be maintained.

In contrast, a proof is merely a fact about the universe. The ultimate result can inform our reasoning regardless of how neat or messy the documentation demonstrating it to be correct might be.

➕ show 1 reply
fnordpiglet • today at 5:12 AM

In fact, no, because the result is the key because it’s an establishment of a fact that is proved. Now we know this fact and it defines our universe concretely. The elegance can be improved with energy but is neither necessary nor sufficient to establish the fact.

andrewflnr • today at 4:31 AM

It matters differently for business code that fundamentally solves old problems versus code (or proofs) that solve new problems. What makes the slopborne NIH-syndrome frameworks suboptimal is that there exist solutions to those exact problems already. That does not necessarily apply to frameworks built in the course of a new problem.

In fact, when humans build new mathematical frameworks, that's often touted as one of the important side effects of solving open problems. That could well be just as true here.

eloox • today at 6:50 AM

What? We did PoCs(proof of concepts) all the time before LLMs, just to prove something would work. In the requirements for a successful PoC there was never "has to be clean and elegant". The goal was to prove it works.

Same here. LLM got us a proof, it's not pretty - but we now have the proof and can clean it up.