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

So you want to build a mainstream formally verifiable language (opens external site)

119 points by mpweiher 2 days ago | danilafe.com | 82 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. Lean is a real programming language with the power and expressiveness you'd expect from that whereas Coq functions more like a theorem prover with an escape hatch

    As a result of that and other choices Lean also felt more natural and ergonomic to mathematicians than Coq. And the early Lean community did a very good job at using this to build Mathlib which coalesced into a comprehensive library for reusable proofs and math concepts which compounded and built upon itself with standardized conventions

    In contrast much of the Coq ecosystem's output has increasingly fragmented rather then accreting like Lean's has

    It also helps that Lean is uniformly 1-2 orders of magnitude faster than Coq, partially because it compiles to C