US News

As chatbot Claude solves theorem that has stumped mathematicians for 170 years... how the AI mathocalypse could disrupt digital encryption codes that protect everything from bank payments to nuclear missiles

As chatbot Claude solves theorem that has stumped mathematicians for 170 years... how the AI mathocalypse could disrupt digital encryption codes that protect everything from bank payments to nuclear missiles
Image: dailymail.com

It has been hailed as the Holy Grail of maths problems, the solution to which has eluded the finest minds in mathematics for nearly 170 years.

But last week Levent Alpoge, a mathematician and researcher at artificial intelligence company Anthropic, announced that – with the help of Claude, Anthropic's AI chatbot – he had proved the Riemann Hypothesis, a theory that the apparently random distribution of prime numbers in fact followed a rough pattern.

And man and machine managed 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.

The news shook the maths world to its core, with many flesh-and-blood mathematicians aghast at the fact that decades of academic inquiry had been reduced to a race between know-it-all machines.

Claude's feat was all the more galling because it came just a month 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'.

But wounded pride is one thing, existential terror another.

What is really 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.

Indeed, 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 eyewatering sums.

Other experts believe they may have been shared with Western intelligence agencies.

Even The Guardian, a newspaper normally keen to avoid any hint of sensationalism, ran a story on Saturday under the headline 'AI labs sitting on "bombshell" revelations that could cause global chaos, experts believe'.

It added: 'It is possible that hackers – and many other people – could in short order have the power to more easily decrypt the world's secret communications: banking transactions, diplomatic cables and private emails, for example.

'If this happened, then spy agencies, governments, banks and private companies could be forced to very suddenly update the foundations of how they communicate, or risk extremely sensitive information being widely exposed.'

Levent Alpoge, a mathematician and researcher at artificial intelligence company Anthropic, announced that – with the help of Claude, Anthropic's AI chatbot – he had proved the Riemann Hypothesis

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.

'Anybody who isn't doing maths isn't seeing how incredibly powerful this thing is,' Marcus du Sautoy, a mathematics professor at Oxford University, said recently.

'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 head-scratcher 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).

Perhaps 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 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 Google search – 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 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 steal state secrets at will, read military and government communications and even breach intelligence networks.

They could intercept and decrypt top-secret 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 into issuing disastrous orders.

It would signal a return to a pre-digital, very physical past where human couriers delivered secret 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 $64,000 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 problem 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.

Source: dailymail.com