The AI-assisted proof of the Riemann Hypothesis is a problem. But not for the reason you expect...
Why a formally verified, 17-million-line AI-assisted proof of the Riemann Hypothesis risks turning science into an infallible yet mute oracle, and why intelligibility must remain a primary goal.
Note: This article was originally written in Italian and translated into English with AI. You can find the original Italian version below.
Nota: Questo articolo è stato scritto originariamente in italiano e tradotto in inglese con l’ausilio dell’IA. La versione originale in italiano si trova qui sotto.
Imagine holding in your hands the answer to the most famous riddle in mathematics, an open problem for 167 years, yet being unable to read the reasoning that led to that conclusion.
That is exactly what is happening with the announcement of the proof of the Riemann Hypothesis, obtained by mathematician Levent Alpöge in collaboration with Claude, Anthropic’s artificial intelligence.
The proof was formalized in Lean, a formal verification language that makes it possible to automatically check every single logical step with no margin for error. Early checks from the scientific community confirm its formal correctness.
All fantastic! Right?
Yes, but there is a problem. Its scale: roughly 17 million lines of code, released without a traditional accompanying paper (in a footnote that went viral, Alpöge even joked about a hypothetical prose transcription exceeding 250,000 pages). The author himself admitted that the code, in its current state, is messy and unreadable to a human.
For the average person, or for anyone making an online bank transaction, this changes very little in the short term. Simplifying quite a bit, the Riemann Hypothesis describes the regularity with which prime numbers, the building blocks of classical cryptography, are distributed. Proving it, however, offers no shortcuts to break current ciphers (in fact, many algorithms already assumed it was true), and cybersecurity is already migrating toward post-quantum cryptography anyway for reasons independent of Riemann.
Many philosophers and mathematicians see in this episode the end of “romantic mathematics,” made of solitary intuitions and chalk-covered blackboards. Much like what is happening in engineering, where craftsmanship is giving way to automation… except there, moving beyond craftsmanship is the very point of the trade. The real issue here is not sentimental or cultural: it is that a proof that is true yet incomprehensible deprives us of knowledge about the world.
And mathematics is not the only field facing this problem with AI.
The lesson of the Higgs boson
Some people give me a hard time for spending a lot of time, too much time, on social media. Incidentally, though, a few days ago I happened to come across one of those STEM physics videos I love watching as a complete layperson.
The video was about the Higgs boson. The specific topic would not normally have interested me, but since it was covered by the brilliant Mauriziobooktok, I stopped to listen.
What happened around the discovery of that particle is the perfect manifesto of how much we would lose if we settled for the mere result.
In the 1960s, physicists were building the Standard Model, the theory that describes elementary particles and fundamental forces. There was, however, a huge obstacle (physicists, please forgive the simplification): according to the theory’s most elegant equations, all elementary particles should have been massless and moving at the speed of light, which is obviously false.
To resolve this contradiction, Peter Higgs and other physicists theorized the existence of an invisible field permeating the entire universe: by interacting with it, particles acquire their mass. According to the theory, this field, present and non-zero at every point in space, would manifest itself through a “special” particle that no one had ever measured.
The famous “Higgs boson,” the god(damn) particle, was neither the initial goal of that research nor a chance discovery. It was an inevitable mathematical consequence, almost a byproduct, necessary for the entire theoretical scaffolding to hold together.
And yet, on July 4, 2012, at CERN in Geneva, the particle was experimentally observed.
But that is not really the interesting part. The real value lay in everything in between: the intermediate deductions, the new questions, the technologies developed to search for it, and a deep understanding of the mechanism by which nature works. Moreover, precisely measuring the properties of the Higgs boson is today one of the main tools physicists use to look for clues to “New Physics” and possible links to dark matter.
Even on the practical and technological front, the impact on the world does not come from the particle itself, but from the engineering spin-offs built to find it: advanced superconducting magnets, distributed computing systems (Grid computing, sibling and precursor to the modern cloud), and new oncology techniques to target tumors with particle beams.
The same goes for many insights born on the margins of Einstein’s relativity: it is often the intermediate steps, the theoretical structures that emerge along the road to a proof, that generate subsequent discoveries and open up entire branches of knowledge.
The miraculous yet “mute” oracle
Mathematics is not merely for certifying whether a statement is true or false. It helps us build conceptual maps to understand the structure of reality.
We already knew, with overwhelming empirical confidence, that the Riemann Hypothesis held across trillions of cases verified by our computers.
Formalizing its absolute truth all the way to infinity is a monumental achievement for number theory. However, if the path connecting the hypothesis to its proof remains buried under millions of lines of code that are opaque to the human mind, we deprive ourselves of the intermediate concepts. We lose the bridge ideas that could inspire other mathematicians, physicists, or computer scientists to solve completely different problems. If artificial intelligence merely hands us inaccessible verdicts, we risk turning science into an infallible yet mute oracle: it gives us the right answer, but leaves us blind as to why.
Demanding an explanation from AI
This problem does not concern pure mathematics or theoretical physics alone; it potentially touches every field of science and, in part, engineering.
From designing new drugs and materials to engineering complex systems, where artificial intelligence is increasingly used to tackle open problems, relying on solutions that work without knowing how or why exposes us to huge risks and blocks downstream innovation.
The solution is certainly not to hold back the use of AI in research, where it is showing extraordinary potential.
On the contrary, as critical observers of technological progress, we need to change the yardstick by which we evaluate these successes. When we ask an artificial intelligence to solve a problem, especially an open one, the intelligibility of the solution must remain a primary goal, not an optional extra.
Obtaining a result that is formally correct to a machine is not enough: the real challenge of the coming years will be designing systems capable of distilling their own reasoning, extracting key concepts, and returning logical steps comprehensible to the human mind.
Artificial intelligence must remain a tool that amplifies our understanding of the world, not a substitute that absolves us from understanding. Because in science, as in engineering, the journey is almost always worth far more than the destination.
Versione originale in italiano
La dimostrazione dell’Ipotesi di Riemann ottenuta con l’IA è un problema. Ma non per il motivo che ti aspetti…
Immaginate di avere tra le mani la risposta all’enigma più famoso della matematica, un problema aperto da 167 anni, ma di non riuscire a leggere il ragionamento che ha portato a quella conclusione.
È esattamente ciò che sta accadendo con l’annuncio della dimostrazione dell’Ipotesi di Riemann, ottenuta dal matematico Levent Alpöge in collaborazione con Claude, l’intelligenza artificiale di Anthropic.
La dimostrazione è stata formalizzata in Lean, un linguaggio di verifica formale che permette di controllare automaticamente ogni singolo passaggio logico senza margine di errore. I primi controlli della comunità scientifica ne confermano la correttezza formale.
Tutto fantastico! No?
Sì, ma c’è un problema. La sua scala: circa 17 milioni di righe di codice, pubblicate senza un articolo tradizionale di accompagnamento (in una nota diventata virale Alpöge aveva persino scherzato su un’ipotetica trascrizione discorsiva da oltre 250.000 pagine). Lo stesso autore ha ammesso che il codice, allo stato attuale, è disordinato e umanamente illeggibile.
Per l’uomo della strada, o per chi fa una transazione bancaria online, questo cambia poco nell’immediato. Semplificando parecchio, l’Ipotesi di Riemann descrive la regolarità con cui si distribuiscono i numeri primi, mattoni fondamentali della crittografia classica: dimostrarla però non offre scorciatoie per violare i cifrari attuali (anzi, molti algoritmi davano già per scontato che fosse vera), e la sicurezza informatica sta comunque già migrando verso la crittografia post-quantistica per ragioni indipendenti da Riemann.
Molti filosofi e matematici vedono in questo episodio la fine della “matematica romantica”, fatta di intuizioni solitarie e lavagne piene di gesso. Un po’ come sta accadendo nell’ingegneria, dove la dimensione artigianale lascia spazio all’automazione… però lì superare l’artigianato è lo scopo stesso del mestiere. Il vero nodo, qui, non è sentimentale o culturale: è che una dimostrazione vera ma incomprensibile ci priva della conoscenza del mondo.
E non è solo la matematica ad avere questo problema con l’IA.
La lezione del bosone di Higgs
Qualcuno mi rinfaccia che passo molto, troppo tempo sui social. Però, incidentalmente, pochi giorni fa mi è capitato di vedere uno di quei video STEM sulla fisica che adoro guardare da assoluto profano della materia.
Il video parlava del bosone di Higgs. L’argomento specifico non mi sarebbe normalmente interessato, ma essendo trattato dal bravissimo Mauriziobooktok mi sono soffermato ad ascoltare.
Quello che successe attorno alla scoperta di quella particella è il manifesto perfetto di quanto perderemmo se ci accontentassimo del mero risultato.
Negli anni Sessanta, i fisici stavano costruendo il Modello Standard, la teoria che descrive le particelle elementari e le forze fondamentali. C’era però un ostacolo enorme (non me ne vogliano i fisici per la semplificazione): secondo le equazioni più eleganti della teoria, tutte le particelle elementari avrebbero dovuto essere prive di massa e muoversi alla velocità della luce, cosa evidentemente falsa.
Per risolvere questa contraddizione, Peter Higgs e altri fisici teorizzarono l’esistenza di un campo invisibile che permea tutto l’universo: interagendo con esso, le particelle acquisiscono la loro massa. Questo campo, presente e non nullo in ogni punto dello spazio, si sarebbe manifestato, secondo la teoria, tramite una particella “speciale”, che però nessuno aveva mai misurato.
Il famoso “bosone di Higgs”, la god(damn) particle, non era l’obiettivo iniziale di quella ricerca, né una scoperta casuale. Era una conseguenza matematica inevitabile, quasi un elemento collaterale, necessaria affinché l’intera impalcatura teorica stesse in piedi.
Eppure, il 4 luglio 2012, al CERN di Ginevra, la particella è stata osservata sperimentalmente.
Ma non è tanto questa la cosa interessante. Il vero valore è stato tutto ciò che si trovava nel mezzo: le deduzioni intermedie, i nuovi interrogativi, le tecnologie sviluppate per cercarla e la comprensione profonda del meccanismo con cui la natura funziona. Inoltre, la misurazione precisa delle proprietà del bosone di Higgs è oggi uno dei principali strumenti con cui i fisici cercano indizi di “Nuova Fisica” e possibili legami con la materia oscura.
Persino sul fronte pratico e tecnologico, l’impatto sul mondo non viene dalla particella in sé, ma dalle ricadute ingegneristiche costruite per trovarla: magneti superconduttori avanzati, sistemi di calcolo distribuito (il Grid computing, fratello e precursore del cloud moderno) e nuove tecniche oncologiche per colpire i tumori con fasci di particelle.
Lo stesso vale per molte intuizioni nate a margine della relatività di Einstein: spesso sono i passaggi intermedi, le strutture teoriche che emergono lungo il cammino verso una dimostrazione, a generare le scoperte successive e ad aprire interi rami della conoscenza.
L’oracolo miracoloso ma “muto”
La matematica non serve soltanto a certificare se un’affermazione sia vera o falsa. Ci serve a costruire mappe concettuali per comprendere la struttura della realtà.
Sapevamo già, con una fiducia empirica schiacciante, che l’Ipotesi di Riemann funzionava per migliaia di miliardi di casi verificati dai nostri computer.
Formalizzarne la verità assoluta fino all’infinito è un traguardo monumentale per la teoria dei numeri. Tuttavia, se il percorso che collega l’ipotesi alla sua dimostrazione resta sepolto in milioni di righe di codice opaco alla mente umana, ci priviamo dei concetti intermedi. Perdiamo le idee ponte che potrebbero ispirare altri matematici, fisici o informatici a risolvere problemi completamente diversi. Se l’intelligenza artificiale si limita a fornirci verdetti inaccessibili, rischiamo di trasformare la scienza in un oracolo infallibile ma muto: ci dà la risposta esatta, ma ci lascia ciechi sul perché.
Pretendere dall’IA la spiegazione
Questo problema non riguarda soltanto la matematica pura o la fisica teorica, ma tocca potenzialmente ogni settore scientifico e, in parte, ingegneristico.
Dalla progettazione di nuovi farmaci e materiali fino all’ingegneria dei sistemi complessi, dove l’intelligenza artificiale viene sempre più impiegata per affrontare problemi aperti, affidarsi a soluzioni che funzionano senza sapere come o perché espone a rischi enormi e blocca l’innovazione derivata.
La soluzione non è certamente frenare l’uso dell’IA nella ricerca, dove sta dimostrando un potenziale straordinario.
Al contrario, da osservatori critici del progresso tecnologico, dobbiamo cambiare il criterio con cui valutiamo questi successi. Quando chiediamo a un’intelligenza artificiale di risolvere un problema, specie se aperto, l’intelligibilità della soluzione deve restare uno degli obiettivi primari, non un optional.
Non basta ottenere un risultato formalmente corretto per una macchina: la vera sfida dei prossimi anni sarà progettare sistemi in grado di distillare il proprio ragionamento, estrarre i concetti chiave e restituire passaggi logici comprensibili alla mente umana.
L’intelligenza artificiale deve restare uno strumento che amplifica la nostra comprensione del mondo, non un sostituto che ci esonera dal capire. Perché nella scienza, come nell’ingegneria, la strada vale quasi sempre molto più della destinazione.
