AI Isn’t Decoding Srinivasa Ramanujan’s Notebooks — It’s Just Autocompleting What Humans Already Built

AI Isn’t Decoding Srinivasa Ramanujan’s Notebooks — It’s Just Autocompleting What Humans Already Built

The tech press loves a good resurrection story. Give a journalist an eccentric genius, a stack of dusty notebooks, and a neural network, and they will write you a fairy tale about silicon ghosts unlocking the secrets of the universe.

That is exactly what happened when mainstream outlets started running breathless headlines claiming artificial intelligence is finally cracking the hidden discoveries inside Srinivasa Ramanujan’s notebooks. The narrative writes itself: a self-taught Indian mathematician dies in 1920 at age thirty-two, leaving behind thousands of cryptic, unproved formulas, and a century later, machines swoop in to finish his life’s work.

It is romantic. It is clickable. And it fundamentally misunderstands both mathematics and what modern algorithms actually do.

If you spend time around research mathematicians or build symbolic reasoning systems for a living, those headlines trigger an immediate migraine. AI is not peering into Ramanujan’s mind. It is not experiencing flashes of intuition from the goddess Namagiri, nor is it "discovering" lost theorems out of thin air. What researchers are actually doing—most notably through projects like the Ramanujan Machine developed by researchers at the Technion in Israel—is running automated conjecture generation. That is a fancy way of saying brute-force pattern matching over continued fractions and infinite series, guided by heuristics that human number theorists spent decades designing.

Calling that "AI unlocking Ramanujan’s secrets" is like crediting a spellchecker for writing Hamlet because it spotted a typo in the First Folio.

The Myth of the Silicon Oracle

To see why the mainstream coverage gets this backwards, look at what Ramanujan actually left behind. Between 1903 and 1920, he filled three notebooks and a famous "Lost Notebook" discovered by George Andrews in 1976 at Trinity College, Cambridge. Those pages contain nearly four thousand identities—equations relating infinite series, mock theta functions, modular forms, and partitions.

Ramanujan rarely wrote down proofs. Paper was expensive in Madras, so he worked out intermediate steps on a slate and recorded only the final destinations.

For over a hundred years, human mathematicians—G.H. Hardy, G.N. Watson, Bruce Berndt, George Andrews, Ken Ono—toiled through those notebooks line by line. Berndt alone spent more than twenty years editing and proving the claims in Ramanujan’s notebooks, publishing five dense volumes that turned Ramanujan’s intuitive leaps into rigorous mathematics. By the time modern machine learning entered the chat, the overwhelming majority of Ramanujan’s actual handwritten claims had already been proved, disproved, or absorbed into mainstream analytic number theory.

So when an algorithm spits out a new continued fraction representation for $\pi$ or Catalan’s constant today, it is not translating unreadable scribbles from 1914. It is generating new conjectural identities in the style of Ramanujan.

There is a massive difference between finding a proof and guessing an equation.

In mathematics, guessing an identity is the easy part. You can write a Python script in twenty minutes that searches over parameter spaces of generalized continued fractions, evaluates them to fifty decimal places, and checks if the output matches a known mathematical constant using an integer relation algorithm like PSLQ. When a hit pops up, the machine flags it.

Then what happens? The machine stops. It has no idea why the left side equals the right side. It cannot tell you whether the equality holds to infinity or breaks down at the ten-thousandth decimal place. A human mathematician—or a completely separate formal proof assistant like Lean, powered by human-written tactics—still has to step in and do the actual heavy lifting of deductive proof.

I have watched startups and academic labs burn through staggering compute budgets chasing "AI-driven discovery," only to realize their models were rediscovering textbook identities from nineteenth-century German journals. Without human domain experts curating the search space and filtering out trivial algebraic rearrangements, symbolic search engines drown in mathematical noise.

Why "Can AI Solve Ramanujan’s Notebooks?" Is the Wrong Question

Search trends show readers constantly asking variations of the same question: Did AI finally solve Ramanujan’s lost formulas?

The premise itself is broken. First, "solving" a notebook implies a pile of unsolved riddles sitting in a vault waiting for a master key. As noted, Berndt and Andrews already did the monumental work of proving almost everything in the original and lost notebooks decades before transformer architectures existed. The handful of remaining questions stemming from Ramanujan’s work—like deeper structural properties of mock modular forms or connections to string theory and black hole entropy—are conceptual mountains, not missing algebraic identities you can stumble across by permuting polynomials.

Second, asking whether AI can "do math like Ramanujan" confuses two completely opposite cognitive modes.

Ramanujan operated via hyper-specific structural intuition. He saw deep symmetries between modular equations and elliptic integrals without needing formal scaffolding. Modern machine learning—whether we are talking about large language models or specialized symbolic regression trees—operates via statistical interpolation over massive training distributions.

Imagine a scenario where you train an algorithm on ten million known algebraic identities and ask it to propose ten thousand new ones. By sheer combinatorics, a few hundred will look startlingly elegant. Journalists will point at those three hundred hits and scream that the machine is a genius, quietly ignoring the 9,700 pieces of algebraic garbage the model hallucinated along the way. Ramanujan didn't throw ten thousand guesses at a wall and hope three stuck. His hit rate was absurdly high because he understood the underlying architecture of the numbers.

What Algorithms Are Actually Good At (And Where They Fail)

Does this mean computational tools are useless in number theory? Not at all. If you strip away the breathless hype, automated conjecture generation is a sharp tool—provided you understand its exact boundaries.

Here is what the current generation of mathematical search algorithms genuinely accomplishes:

  1. Exhaustive Search Over Narrow Templates: Algorithms like those used in the Ramanujan Machine excel at scanning structured families of expressions, such as polynomial continued fractions, where human patience runs out after testing twenty variations. They can test billions of coefficient combinations overnight.
  2. Numerical Coincidence Detection: Using high-precision arithmetic alongside lattice basis reduction algorithms (like LLL and PSLQ, pioneered in the 1970s and 1990s—long before the current AI boom), computers spot numerical agreements to hundreds of digits that no human could ever calculate by hand.
  3. Proof Verification and Formalization: Tools like Lean, Coq, and Isabelle check whether every logical step in a human-written proof holds without gaps. When paired with neural search models like AlphaProof or DeepSeek-Prover, these systems can close routine lemmas that bog down human researchers.

Now look at the downside that hype-merchants conveniently leave out of press releases: the verification bottleneck.

Generating conjectures is cheap. Proving them is expensive. When an automated system dumps five hundred plausible-looking continued fractions onto the arXiv, it creates a massive tax on the mathematical community. Someone has to figure out which ones are trivial consequences of classical hypergeometric transformations from Euler’s era and which ones actually point toward new mathematics. Most automated "discoveries" turn out to be disguised versions of formulas Leonhard Euler or Carl Friedrich Gauss knew two centuries ago.

Worse, purely numerical conjecture generators are blind to edge cases. Two expressions can agree to five hundred decimal places and still diverge at infinity. Mathematics is not an empirical science where 99.9999% accuracy counts as truth; if an identity fails at the millionth term, it is false. Full stop.

How Real Mathematical Breakthroughs Happen Today

If you want to understand how computational tools are legitimately advancing the legacy of Ramanujan—without falling for PR spin—look at the intersection of formal verification and human-guided exploration rather than black-box "AI genius."

The real shift isn't machines replacing mathematicians; it is mathematicians weaponizing compilers to audit their own intuition.

Consider the work of Kevin Buzzard at Imperial College London or Terence Tao at UCLA. Both have publicly documented how formal proof assistants are changing daily research. When Tao worked on formalizing results around the Polynomial Freiman-Ruzsa conjecture, the value wasn't that an AI dreamed up the theorem. The value was that breaking the proof down into machine-checkable steps exposed hidden assumptions and forced absolute precision.

Similarly, in experimental mathematics—a discipline championed for decades by Jonathan Borwein and David Bailey long before "AI" became a mandatory buzzword for grant applications—computers serve as microscopes, not brains. You use symbolic computation software like SageMath, Pari/GP, or Mathematica to compute the first ten thousand coefficients of a modular form. You stare at the numbers. You notice a congruence pattern modulo 5, 7, or 11—just as Ramanujan famously did for the partition function $p(n)$ in 1919.

Then you, the human, ask why those congruences exist. That question led Freeman Dyson to invent the "rank" of a partition, led Ken Ono and Amanda Folsom to uncover deeper parity structures, and opened entire subfields of arithmetic geometry. No neural network asked "why." A neural network only optimizes a loss function.

Stop Treating Mathematics Like a Content Generation Problem

The fundamental error in the media’s coverage of AI and Ramanujan is treating mathematics as a factory for producing strings of symbols.

In copywriting or image generation, producing something that looks plausible is good enough. If an AI generates a picture of a sunset with slightly weird clouds, nobody cares. If an LLM writes a marketing email that sounds persuasive, the job is done.

Mathematics rejects plausibility. Plausibility is the enemy. Every crank who mails a trisection of an angle or a three-page proof of the Riemann Hypothesis to a university math department has something that looks plausible to an untrained eye.

Ramanujan’s genius was never that he produced a lot of formulas. It was that his formulas acted as portals into entirely new structures—objects like mock theta functions that nobody else even knew existed until he wrote them down on his deathbed in 1920, and which took eighty-two years for Sander Zwegers to finally fit into a rigorous theoretical framework in his 2002 PhD thesis.

An algorithm trained on existing mathematics cannot invent a conceptual category that violates the assumptions of its own training set. By definition, statistical models regress toward the mean of what humans have already formalized. Ramanujan was an outlier so extreme that even G.H. Hardy—one of the sharpest analytic number theorists of the twentieth century—admitted he had never seen anything like him.

What You Should Actually Watch For

Next time you see a headline claiming an algorithm unlocked a century-old mathematical mystery, run it through a simple filter before buying the hype:

  • Did it produce a conjecture or a proof? If it only found a numerical match between two expressions, that is experimental search, not a solved theorem.
  • Was the underlying math already known? Check whether the "new" formula is just an algebraic rewrite of a classical hypergeometric identity.
  • Who defined the search space? If human researchers hand-crafted the exact template of continued fractions the algorithm was allowed to explore, the humans did the creative work; the computer just turned the crank.

Algorithms are extraordinary calculators. They are tireless clerks capable of sifting through algebraic haystacks at speeds no human brain will ever match. Give them a narrow corridor and a clear metric, and they will outrun any mathematician alive.

Just don't confuse the clerk with the architect. Ramanujan didn't change mathematics because he could crunch numbers fast—plenty of human calculators in the nineteenth century could multiply twelve-digit numbers in their heads and left behind zero lasting theorems. He changed mathematics because he saw connections no formal system had words for yet.

Until a machine can look at an equation, realize our entire framework for numbers is missing a dimension, and invent a new one from scratch, Srinivasa Ramanujan’s legacy remains completely safe from silicon imitation.

BB

Brooklyn Brown

With a background in both technology and communication, Brooklyn Brown excels at explaining complex digital trends to everyday readers.