Artificial intelligence (AI) is poised to make a groundbreaking advance in one of computer science's most elusive questions - P versus NP. This conundrum, which has puzzled mathematicians for over half a century, could revolutionize fields ranging from drug discovery to global finance while potentially exposing the encryption shielding the world's sensitive data. At the core of this question lies an unsolved problem: whether problems whose solutions can be quickly checked can also be solved rapidly. If AI solves P equals NP, it might upend cryptographic systems safeguarding online transactions, digital identities, and government communications.
Recent advancements by leading AI companies like OpenAI, Anthropic, and Google have reignited interest in the question, as AI models demonstrate progress on mathematical problems previously resistant to human efforts. These breakthroughs have sparked speculation about what these systems might achieve behind closed doors, with some suggesting that publicly reported achievements may only represent a fraction of their true capabilities. A striking example of this rapid progress occurred when an Anthropic mathematician presented a proof of the Riemann hypothesis assisted by an unreleased research version of Claude on November 20th. On Monday, OpenAI and Anthropic published competing proofs addressing a mathematical problem related to P versus NP, a development many computer scientists deemed beyond the reach of existing approaches.
These developments have heightened speculation about what advanced AI models can accomplish. A mathematical advance that undermined widely used encryption could jeopardize systems utilized by banks, businesses, and governments to protect information. The consequences would extend far beyond the technology industry, prompting questions about whether some findings might be too dangerous to disclose. However, it is crucial to distinguish between mathematical possibility and practical capability. While no AI system has demonstrated an ability to break widely used modern encryption algorithms, a proof that P equals NP would not automatically provide a shortcut for cracking them.
The question of P versus NP asks whether problems whose solutions can be verified quickly can also be solved quickly. In computer science, P refers to problems solvable in polynomial time, while NP denotes problems for which a proposed solution can be verified in polynomial time. The distinction matters because some problems appear to become increasingly difficult to solve as their size increases, despite comparatively easy verification. Many problems classified as NP-complete could potentially be solved efficiently if P equals NP, making it an extremely consequential question: a proof suggesting that computationally challenging problems have efficient solutions would challenge widely used encryption methods.
Most computer scientists believe that P does not equal NP. A 2002 poll of mathematicians and computer scientists found that 61 believed the two were probably unequal, compared with nine who thought they might be equal. The question remains unresolved and is one of the Clay Mathematics Institute's seven Millennium Prize Problems, carrying a $1 million prize for a proof or disproof. Encryption lies at the heart of concerns surrounding P versus NP because modern cryptography relies, in part, on mathematical problems that are difficult to solve but whose solutions can be verified. The RSA cryptographic system, widely used for secure internet transactions, is one example of such a scheme rooted in the difficulty of certain number-theoretic computations. If P were proved equal to NP and the result yielded practical algorithms for problems underpinning encryption, widely used cryptographic systems could become vulnerable. Digital signatures, which help authenticate transactions, identities, and software, could also be at risk of forgery. The implications would extend into banking, government communications, corporate networks, and other critical infrastructure. Governments and businesses are already preparing for the possibility that powerful quantum computers could undermine some existing encryption methods. Nicky Mouha, founder of KeyCryptic and a former cryptographer at the US National Institute of Standards and Technology, told Axios that a proof of P = NP would make almost all cryptography theoretically breakable, though not necessarily broken in practice. The anxiety over mathematical breakthroughs is unfolding alongside a wider debate within the AI industry about whether its most advanced systems are becoming difficult to control. For now, P versus NP remains unsolved, leaving uncertainty about whether machines can.