AI & THE MATHEMATICAL CONUNDRUM
Intro: As chatbot Claude solves a mathematical theorem that has stumped mathematicians for nearly two centuries, there is now a possibility that AI could disrupt digital encryption codes that protect everything from bank payments to nuclear missiles
The Holy Grail of solving mathematical problems, the solution to which has eluded the finest minds for nearly 170 years, has shook the maths world to its core.
Levent Alpoge, a mathematician and researcher at artificial intelligence company Anthropic, has announced that – with the help of Claude, Anthropic’s AI chatbot – he has proved the Riemann Hypothesis, a theory that the apparently random distribution of prime numbers in fact followed a rough pattern.
And man and machine manged the task in double-quick time – just six weeks to be exact, despite the fact that it involved no fewer than 17 million lines of code.
Many flesh-and-blood mathematicians are aghast at the fact that decades of academic inquiry had been reduced to a race between increasingly sophisticated computers.
Claude’s feat was all the more galling because it came just a few short weeks after OpenAI, Anthropic’s chief rival, had published hundreds of AI-generated papers containing proofs of other unsolved problems in a deluge that was dubbed the “mathocalypse”. Wounded pride is one thing; existential terror is clearly another.
What is rally keeping the biggest eggheads on the planet – whether maths geniuses, tech barons, or world leaders – awake at night is the possibility that AI could be on the brink of rendering useless the digital encryption that protects everything from bank payments to nuclear missile codes; and, not only bring humanity to its knees, but possibly even extinguish it.
As a matter of fact, some suspect that the most advanced AI companies have already made critical discoveries and, aware of their awesome significance, are either keeping them secret or selling them to the world’s superpowers for astronomical sums. Other experts believe they may have been shared with Western intelligence agencies.
It is possible that hackers – and many other people – could, in short order, have the power to more easily decrypt the world’s confidential communications: banking transactions, diplomatic cables, and private emails, for example.
If this transpired, then spy agencies, governments, financial institutions, and private companies could be forced to very suddenly update the foundations of how they communicate, or risk extremely sensitive information being widely exposed.
For decades, it has been assumed that the advent of quantum computers – immensely powerful machines able to solve problems way beyond the capacity of traditional PCs – posed the biggest threat to online security.
But while they have already passed the initial research and development stages, the creation of quantum computers with sufficient power to make the billions of calculations required to break the sort of encryption that keeps our personal details safe is believed to be at least a few years away.
However, the fear now is that the threat from AI – a new type of software trained on huge amounts of information that can make decisions, solve problems, and answer questions – is imminent.
Comments made by Marcus du Sautoy, a mathematics professor at Oxford University, highlights implicitly the undercurrent: “Anybody who isn’t doing maths isn’t seeing how incredibly powerful this thing is… We mathematicians are, I think, the canaries in the coal mine.”
And following the solving of the Riemann Hypothesis, experts reckon that the next mathematical domino to fall to the AI models could be a conundrum dubbed the “P versus NP problem”. This particular headscratcher is from the world of theoretical computer science, the discipline that connects maths with computer technology.
In layman’s terms, P versus NP (the terms stand for polynomial time and nondeterministic polynomial time, the time it takes a computer to work out a problem) essentially addresses the issue of whether it is as easy – and quick – to solve a problem as it is to check that the solution is accurate.
Most computer scientists believe this is not the case, insisting that P is not equal to NP (P ≠ NP)
The simplest way of explaining it is to compare it with Sudoku, the popular logic-based number-placement puzzle.
Solving a Sudoku is, of course, much more difficult than checking that a solution to one is correct. Completing a difficult and tricky Sudoku might take hours but checking a completed grid takes just seconds.
Is the disparity between the two processes simply down to our inability to come up with the tools necessary to solve problems faster? And if we did come up with them, would it spell the end of confidence in the modern internet, as so many online services rely on encryption that is based on insoluble digital puzzles?
Cryptography of this sort is at the heart of our increasingly digitised world. While unscrupulous hackers regularly break into computer systems by exploiting vulnerabilities such as weak passwords, outdated algorithms or software bugs, modern encryption methods are regarded as practically unbreakable.
But if AI were to prove that it can spot shortcuts that humans have missed, cryptography would be in serious trouble.
At a basic level, pretty much everything we do online – from sending an email to conducting a search on Google – relies on us being able to prove who we are and keep what we do private.
An encryption busting P = NP algorithm would knock out our ability to do either by sweeping away any security protections.
Our loss of online privacy would also extend retroactively, as stored encrypted data – from medical records to private messages – could become readable. Impersonating other people would become easy. Trust would evaporate and disappear.
The global financial system would be hit hard as security collapsed and online banking, card payments, money transfers, and digital signatures – all dependent on encryption – became fraught with risk.
Hackers employed by criminal gangs or hostile governments equipped with the P = NP algorithm could impersonate banks and customers, forge transactions and tamper with online records, including share trades and property titles.
Critical infrastructure – power and water systems, hospitals, air traffic control – would be jeopardised by attackers who could effectively take control of them, sending malicious updates and potentially lethal online commands.
At the geopolitical level, enemy states or terrorist groups could pilfer state secrets at will, read military and government communications, and even breach intelligence networks.
They could intercept and decrypt highly classified diplomatic cables and military orders going back years. If it ever came to a war, military command-and-control systems relying on authentication could be tricked and fooled into issuing disastrous orders.
It would signal a return to a pre-digital, very physical past where human couriers delivered confidential documents typed on paper and people reverted to storing bank notes under the mattress.
As we have seen, similar fears of online catastrophe have been raised over quantum computing, but experts say the damage wrought by a P = NP breakthrough would be much more serious because it would be all-encompassing.
It wouldn’t be a matter, for instance, of just switching to stronger encryption codes if the entire mathematical foundations of cryptography had been undermined.
And so, to the million-dollar question: will any of this actually happen?
Many mathematicians remain sceptical that, even with AI, anyone is remotely close to proving that P = NP. Some insist it’s a conundrum that will never be cracked.
That said, a fair few experts long doubted that the Riemann Hypothesis could ever be proved. They’re not looking so clever now.