Unofficial Hacker News companion — get notified on comment replies, and more.

The need for a formally verifiable mainstream programming language (opens external site)

344 points by todsacerdoti 4 days ago | blainehansen.me | 325 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. Lean 4 itself is a general purpose functional programming language with dependent types in addition to being a interactive theorem prover. Only the latter has been made famous/popular by the mathematicians.

    Idris, Agda are (like Lean4) functional languages and proof assistants. Dafny, Ada SPARK are imperative and automated solver languages.

    Languages like C/C++ which do not have powerful type systems nor are verification aware have tools like Frama-C, CBMC etc. to help with their formal verification. Rust also has some external formal verification tools.

    With growing awareness of formal verification due to LLMs one (or more) of them is sure to become "mainstream".