by Achshar · 1w ago · 0 comments
Ideally they sholuld be able to just do a `import riemann_hypothesis;` from a verified registry and then build on that.
I would argue it needs something like content-addressed code/"packages" like the newish programming language unison. But it also needs more than that even. I would argue that a (cubical)-HoTT language/environment/proof-assistant is probably better for the future of mathematical research because it does not have "proof irrelevance" and does not treat different proofs as equals because they often take different "paths" and those paths are often interesting and analysable in themselves. I also would argue that it needs to have a sort of decentralised way of certifying computations of proofs that goes beyond the ad-hoc way they are currently done in lean/mathlib.
These are all not original points by me but have often been stated as a sort of criticism of lean/math-lib(although I acknowledge them as a massively successful and admirable engineering feats) by other people way more knowledgable than me.
Kevin Buzzard is a prominent mathematician who's been working on formalising FLT in Lean (https://github.com/ImperialCollegeLondon/FLT/blob/main/GENER...). He was one of the first mathematicians I encountered leading the charge on this, many many years before LLMs.
There's a _lot_ of groundwork to build. But it's getting easier now of course.
I've certainly seen that when doing normal coding, LLMs will often take documentation of used libraries at face value, and try to save context by not reading the underlying implementations into context. This is genuinely useful!
But for math, is there a use to a set of agents being forced to reimplement the entire stack of formalized dependencies? Each sub-effort would leave artifacts, and send messages to other sessions, on ways in which the underlying mechanics or subtleties might prove helpful to the broader effort. No need to fight terseness with system prompts, when a full survey of the broader field is impossible to avoid.