r/programming • u/ngruhn • 3d ago
Lean explained with TypeScript
https://gruhn.me/blog/2026-08-29/
75
Upvotes
4
u/770grappenmaker 2d ago
Very cool article! I have already seen a bunch of Lean proofs like this, where a lot of the machinery is abstracted, and it is nice to see that a simplified version of this machinery can be represented in a much simpler type system, that of typescript.
30
u/Hot-Employ-3399 3d ago
> Lean has gained hugely in popularity with the advent of LLMs. LLMs write tons of code quickly but verification is laborious
I'm surprised that this llm-popularity feels touched only Lean, not rocq/isabelle/agda/whatever. At least when I see "proved", it's lean, not other systems.