by solomonb · 1w ago · 0 comments
It is intended to be written and understood by humans, and it's only very recently that we've started outsourcing that work to LLMs. The new thing here is the size and scope achieved via LLM code gen.
For a large, human-centric formalization project (in a fork of Agda), check out the 1lab: https://1lab.dev
But for something like the proof of the Riemann hypothesis, you will not achieve a meaningful high-level understanding of what is happening in the argument without understanding informal mathematical language, and efforts aimed at clarifying the proof of the Riemann hypothesis should be primarily focused on producing such descriptions. Once the argument is refactored at the informal level one will inevitably obtain a better, more readable formalisation as well.
Nobody would try to understand a 17M line Javascript application by reading it top to bottom either. You'd want design and architecture docs first. That doesn't make Javascript equivalent to assembly, nor does it mean the code is not meant to be read and understood. The difficulty comes from scale and structure.
Lean, Agda and similar languages are high-level languages for writing mathematics. You write definitions, lemmas, theorems, etc. A well organized formalization can be read in the same way as one reads a well organized software application.