logoalt Hacker News

nylonstrung • yesterday at 8:47 PM • 0 replies • view on HN

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