Hacker Newsnew | past | comments | ask | show | jobs | submit | Dashadower's commentslogin

I agree with most of your comment but I'm not sure what you mean by "ZFC is enough"

"Something like ZFC axioms is good enough".

And by that I do not mean the exact, whole theory of ZFC itself but a trimmed down or a bloated version instead. The point is to have the appropriate and intuitive axiomatic semantics that cover the core constructs of the language, at least.


"If civil engineers built bridges like how software engineers write software there would be no bridges left today"

I also think formalizing existing languages and framework will become more and more valuable. It took over a decade to somewhat come to a consensus on how C's pointer provenance model should like, and even then using it to prove compiler transformations is still being worked on.

Usability, strong verification guarantees, expressiveness

You get to choose 2 out of 3


In my experience theres a huge difference between proving existing code and proving code that was written with ease of reasonin in mind.

Maybe if we humans dont bother with proofs at all this will become irrelevant, but my speculation is that programmers familiar with formal verification may become more valuable in the sense they can write verification friendly code better.


Lean has verification guarantees and I'd argue is the most expressive language ever made, except perhaps Racket

The question then is if it's usable, and I'd argue it isnt any less so than other FPs or systems languages


I'm not sure if you could say pure lean is expressive, especially if you restrict to portions you can actually verify/reason about. Because functions without proof of termination cannot be used in propositions and you're forced to define a measure if your recursive function doesn't have a syntactically decreasing argument.

Unless you're talking about reasoning about other languages deeply embedded in Lean, at that point we're not talking about Lean itself but about the model of that language stated in Lean.


Whenever a "2 out of 3" dilemma appears, it turns out that you need only 1 out of 3, and the other two can be both relaxed to 99% of the ideal.

Its called formal verification. If you do try a refinement proof against a specification the proof architecture is just following the implementation's code and performing case anslysis for each branch possible.


No. Formal verification is just one, extreme form of deterministic verification. Linting, compilation, automated tests are all deterministic.


Linting and static analysis all have imprecisions and overapproximations that limit the resolution on what semantic properties you can check.

If you're saying that we should utilize all the tools that we have at our disposal to write better code, then I agree. Every verification tool has its cons and not one single method can tick all the checkboxes.


More because NK had way more natural resources and especially hydropower plants.


Interesting how that works that the natural advantages or external benefactors were more important than the economic system in terms of productivity.


Both NK and SK had almost no form of industry in the 40s and 50s. For context one of the most exported goods from SK in that time were wigs.

Its only after the war due to massive relief of the west the South Koreans were able to start industrialization.


An AI cant magically make a semantic interpretation that's adequate by itself. Not even close.


There needs to be repercussions. At the moment you can try sending slop papers to each journal and if just one sticks it makes it more than worth.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: