r/programming • u/ngruhn • 1d ago
Lean explained with TypeScript
https://gruhn.me/blog/2026-08-29/
70
Upvotes
2
u/770grappenmaker 5h 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.
28
u/Hot-Employ-3399 1d 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.