logoalt Hacker News

rramadass • today at 12:12 PM • 0 replies • view on HN

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".