↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

I, for one, welcome the softwarification of math

The text reflects on Levent Alpöge and Claude’s claimed proof of the Riemann Hypothesis as the start of a new era where mathematics becomes more like software engineering. The author contrasts their own struggle with abstract proof-based math with their comfort in programming, attributing this to the presence of automated checkers like compilers and tests, and suggests that tools like Lean and LLMs extend this style of assisted reasoning to math, widening the pool of people who can meaningfully contribute.

Through analogies to Rust and modern software, the author argues that AI relies on deep human-built abstractions and does not replace understanding them. Rust encapsulates lessons from decades of unsafe systems into a language that AIs can manipulate, but programmers who understand both Rust and AI will build the best systems. Similarly, Lean and LLMs let many more people, not just elite prodigies, stack mathematical abstractions, potentially increasing contributors by orders of magnitude and enabling new infrastructure for doing math. The piece closes by speculating about a future “Rust of mathematics” and expressing excitement for this software-like phase of the field.

Reading notes
#

  • Levent Alpöge and Claude are described as having recently proved the Riemann Hypothesis, a 167-year-old conjecture about the even distribution of primes.
  • Some commentators frame such an AI-assisted breakthrough as the end of mathematics or even the world, questioning human purpose if AI can solve the hardest technical problems.
  • The author rejects this framing and sees the event as the beginning of a new era of mathematics with many more kinds of intelligences able to contribute.
  • They describe Princeton’s MAT 216, the hardest freshman math class for majors, packed initially with gifted students like IMO medallists and prodigies.
  • Enrollment quickly thins: after a week many students drop, and by the end only a small fraction remain math majors, with even fewer continuing into academic math.
  • The bar to become a contributing mathematician is depicted as extremely high, requiring being among the smartest within an already very smart group.
  • The author recounts dropping out of math because it felt too hard and they “wasn’t smart enough” in the conventional sense.
  • Their specific difficulty was holding all the necessary components of complex proofs in their head and lacking a way to check whether their understanding of each part was correct.
  • Solving problems in proof-based math felt like building a mental edifice of theorems and connections, but it was slippery, with no clear way to locate which part of the model was broken.
  • They suspect they were supposed to assemble complex understanding from small models, but without a way to validate each small model, they could not identify which one failed when tackling a big problem.
  • By contrast, they had no trouble with coding and computer science in college.
  • A key difference for them was the ability to check and correct understanding via compilers and tests, which provided immediate feedback on specific parts of a system.
  • The computer allowed offloading some of the problem-solving: they could deeply understand a small subsystem, verify it, then encapsulate it as an abstraction to reuse in future reasoning.
  • In engineering, the necessary modeling lives both in the programmer’s head and in the computer, acting as an automated software-based checker.
  • They infer that top mathematicians likely excel at holding large, intricate models of mathematics in their heads without automated checking.
  • The text suggests that intelligence, in this context, might correlate with how large a mental model someone can carry, but the pool of such people is very small.
  • Lean is presented as important because it offers a kind of software environment that lets many more people productively model and think about mathematics.
  • With Lean, people may be able to work on very small pieces of mathematics that still contribute to larger efforts.
  • The author notes that 17 million lines of Lean code can look incomprehensible to laypeople, but this is not expected to be the final state.
  • They point out that mathematicians are already simplifying this body of Lean code into smaller, understandable units and extracting patterns from the complexity.
  • People who are most pessimistic about AI in software and math often assume models independently produce deep abstractions and that humans add nothing substantive.
  • Drawing on their experience as a software engineer, the author disputes this, arguing that AIs are good at using existing abstractions but weak at creating them from scratch.
  • To illustrate, they discuss the current practice of asking AI agents to rewrite existing programs in Rust for performance gains.
  • Enthusiastic AI advocates claim you can speed up programs by simply instructing an agent to rewrite them in Rust without really understanding the language.
  • The author grants that AI can probably produce meaningfully faster code by doing this for many programs.
  • They then invoke the “cerulean sweater” monologue from The Devil Wears Prada to emphasize that such capabilities rest on deep prior human design decisions.
  • Rust exists because highly skilled programmers put in significant effort to design a beautiful abstraction layer that enforces memory safety at compile time.
  • This design distills vast amounts of hard-won experience with crashes and memory errors into syntax that both humans and AIs can use to write fast, safe programs.
  • The author links to a previous essay arguing that Claude is adept at using existing building blocks but still weak at inventing them.
  • They generalize that software is layered on human-built abstractions all the way down, from early compilers onward, and that these abstractions quietly power future tools.
  • The text asserts that programmers who understand both Rust and AI will build the best programs in practice.
  • From their experience, it is possible to stack AI-generated “vibecoded” Rust if merely reproducing the behavior of a well-tested program.
  • However, when adding new functionality, one must understand Rust and the characteristic failure modes of AI-written code to avoid fragile systems that break in obscure ways.
  • They speculate that the Riemann Hypothesis might be similar to a pre-defined, easily verifiable pathway for advancing math, created by decades of human work.
  • AI may rapidly traverse and even “smash” such prepared structures, but from that activity, the author expects more interesting new developments to arise.
  • The author mentions dropping out of math and notes they do not feel bad about it because, in some sense, Levent did not “make it” in the traditional math-star sense either.
  • They observe that Levent was Harvard valedictorian and completed a math PhD at Princeton, but his CV did not obviously mark him as a superstar mathematician.
  • The text emphasizes that Levent’s strength was in using technology, and with it he achieved a major win.
  • The author argues this is not coincidental, as technology fields have had high demand for specialists and produced large-scale impact in recent decades.
  • Many students who left math later moved into technology roles such as quants, researchers, or engineers, all of which model aspects of the world with software.
  • The oft-quoted line from the 2010s about the best minds optimizing ad clicks is cited as reflecting that ads were the problems that fit the technology of that time.
  • Software is credited with creating trillions of dollars of market value and driving huge global changes.
  • The text stresses that such trillions of value cannot arise from the intelligence of a handful of geniuses alone.
  • Instead, work at that scale arises from layers of abstractions and the contributions of many people atop software foundations built since the 1950s.
  • Historically, mathematics is characterized as the work of craftsmen, with limited ways to stack knowledge so that many can build directly on each other’s work.
  • With Lean and LLMs, the author claims the number of people who can work on mathematics has scaled up by a factor of hundreds or thousands.
  • Levent’s discovery is framed as the first example of this new era, where many layers of contributions, including AI and infrastructure, can matter.
  • The author imagines even engineers optimizing GPUs for training models like Fable Six as indirectly contributing intellectual work to such mathematical achievements.
  • They foresee the possibility of Lean libraries that encode different branches or styles of math, allowing even laypeople to experiment by combining modules just to see what results.
  • Such a modular, software-like approach has not been the traditional way of doing mathematics, so current infrastructure and intuitions are underdeveloped.
  • The piece ends by asking what the equivalent of Rust will be for mathematics and expressing excitement about being at the dawn of this software-shaped era of math.