Lean (proof assistant) Updated 2026-01-30
Source code:
The way Lean and Coq mix programming and mathematics is a thing of great beauty. This is especially notable in lean as you start to play with with things such as:
  • partialenv lean functions, and using terminates_by to prove that certain functions terminate. Lean requires explicitly known if functions terminate or not to be able to use them in proofs.
  • noncomputable functions. Lean allows you to define mathematical functions which you can't actually execute, and it tracks that explicitly
Their 2025 current installation method is bullshit, recommends VS Code extension on Ubuntu. Lol.
From CLI:
curl https://elan.lean-lang.org/elan-init.sh -sSf | sh
source $HOME/.elan/env
Then when you run:
lean
it downloads the lean executable for you. Insane shit, could only come from a Microsoft mindset.