- cross-posted to:
- lobsters
- cross-posted to:
- lobsters
Explores how the Lean programming language handles 2 + 2 = 4
, which other programming languages collapse into a bool, but Lean considers a Proposition, and requires Proof.
How does provably correct programming look? This article seems to give a good introduction and example.
You must log in or register to comment.
This is an unbelievably good explanation of some very difficult concepts. I think the Lean documentation should start with an enormous link to this post.
Highly recommended to anyone interested in Lean who isn’t already an expert.