Today I had the important realisation that when you write nontrivial code in a c...
julesh @julesh@mathstodon.xyz
Today I had the important realisation that when you write nontrivial code in a current-generation dependently typed programming language, a big chunk of your code is representing a trace of the sequence of states that the unifier would go through if you had a sufficiently smart typechecker. So it's not a coincidence that it feels so much like assembly programming, because in assembly programming your code represents a trace of the sequence of states that the abstract machine would go through if you had a sufficiently smart compiler
This makes the Lean project both more impressive and more hilarious, they're building on a technology that is *obviously* still a decade or 2 away from bare minimum viability