This is a hypothetical scenario: if someone proved P = NP with a fast, working algorithm, what would break first, in what order, and what would get better? Below is a reasoned prediction, hour by hour and then decade by decade, for Bitcoin, banks, encryption, mathematics and AI, built from the published research and the numbers we have today.
To be absolutely clear: nobody has proved P = NP. This is a thought experiment and a prediction, not news. Most experts expect the opposite answer. In William Gasarch’s last poll of computer scientists, 88 percent said P ≠ NP and 12 percent said P = NP, and Donald Knuth, one of the few famous names who leans toward P = NP, expects any such proof to give no usable algorithm. Everything below that describes “what happens” describes what would likely happen in this imagined scenario, not anything that has occurred.
The question is not purely academic in late 2026. pequalnp.com is a live public project in which a coordinated fleet of AI agents attacks P vs NP in the open, with a Lean proof checker as “the only judge”. Its red team hunts counterexamples, a “barrier desk” tests every approach against the known reasons proofs fail, and most of its lines of attack aim at P ≠ NP while one searches for a fast algorithm. Its own about page says “even a proof that P = NP would not produce a fast algorithm overnight.” That sentence is the hinge of this whole essay.
TLDR
What happens after a proof of P = NP depends on four things: whether the proof hands over an algorithm, whether that algorithm is fast in practice, who holds it, and whether anyone can confirm the proof means what it claims. The most likely version (if P = NP is true at all) is a non-constructive or impractically slow result that shakes mathematics and markets and changes daily life very little. The worst version, which this timeline follows, breaks Bitcoin within days, then every public-key system including the new post-quantum standards, then symmetric encryption, hashes and passwords, with no mathematical replacement to migrate to. The upside (optimization, proofs, machine learning) is real but slower and smaller than the famous predictions, and what survives is the one-time pad, physical custody and institutions that know who you are.
What P vs NP Actually Asks, in Plain Language
Some questions have answers that are quick to check but seem slow to find. A filled-in sudoku takes a minute to verify. Finding the filling can take much longer. A factored number is checked with one multiplication. Finding the factors of a 600-digit number is, as far as anyone knows, out of reach. P is the class of problems a computer can solve quickly. NP is the class whose answers can be checked quickly. “Quickly” has a precise meaning: the running time grows like a fixed power of the input size (n squared, n cubed) rather than exponentially, and it must hold for the worst inputs, not just typical ones. Stephen Cook’s official Clay problem description puts it formally: is every language accepted by a nondeterministic polynomial-time algorithm also accepted by a deterministic one? Every problem in P is in NP. The question is whether the reverse is true.
Cook (1971) and Leonid Levin (published 1973) showed that some NP problems are “complete”: solve one of them fast and you solve all of NP fast. Satisfiability (SAT) was first, and Richard Karp added 21 more in 1972, including clique, graph colouring, knapsack and Hamiltonian circuit. (The travelling salesman problem, often named as the classic example, is NP-complete but was not on Karp’s original list.) Today there are over 3,000 known NP-complete problems and not one has a known polynomial-time algorithm. The idea is older than computer science. Kurt Gödel asked John von Neumann almost exactly this question in a letter dated 20 March 1956, and he saw the consequence for mathematics at once (more on that below).
Why it matters is easy to state. Almost all modern cryptography rests on problems that are easy to check and hard to solve: a password hash is easy to compute and hard to reverse; a signature is easy to verify and hard to forge. If P = NP, “easy to check” implies “easy to find”, and that whole design principle collapses. Lance Fortnow, in his 2009 survey in Communications of the ACM, states it flatly: “If P = NP then public-key cryptography is impossible.” Scott Aaronson, in his long “P =? NP” survey, says “essentially all the cryptography that we currently use on the Internet” would be broken, “and if, moreover, the algorithm were efficient in practice, a caveat we’ll return to later.” That caveat is where most of the real uncertainty lives.
How Likely Is the Premise?
Not very. Gasarch has polled theorists three times (results here). Answers given in 2001 split 61 percent P ≠ NP, 9 percent P = NP; in 2012, 83 percent and 9 percent; in 2019, 88 percent and 12 percent. The 2019 poll forced a choice, which removed the “don’t know” and “independent” answers, so part of the rise is the instrument. Asked to imagine a 3 a.m. knock from three leading theorists saying the problem was solved without saying which way, 80 percent of P ≠ NP believers still bet on P ≠ NP. Fortnow’s comment in that poll: “People that think P=NP are like people who think Elvis is still alive.”
There is a serious minority. Donald Knuth told InformIT in 2014 that he leans toward P = NP, but that “such a proof will almost surely be nonconstructive” and that the exponent, though it probably exists, is something “human beings will never know.” Dick Lipton has written “Perhaps we have guessed the wrong direction.” Moshe Vardi: “The space of algorithms is very large and we are only at the beginning of its exploration.” Meanwhile Gerhard Woeginger’s list of claimed proofs logged 116 attempts by 2016, 61 of them claiming P = NP, none accepted. Amateurs lean “equal”; experts lean “unequal”.
One more reason for scepticism: the known barriers cut both ways. Relativization (Baker, Gill and Solovay, 1975) and algebrization (Aaronson and Wigderson, 2008) show that whole families of proof techniques cannot settle the question in either direction, so a real proof of P = NP would need genuinely new ideas. Only the natural proofs barrier is specific to proving P ≠ NP. Question for you: if three people you trust knocked at 3 a.m. and said “it’s resolved”, which way would you bet, and what would you do before breakfast?
The Four Branch Points That Decide Everything
“P = NP is proved” is not one event. It is at least sixteen, depending on four switches. Getting these right is the difference between a quiet week in mathematics departments and the largest security failure in history.
1. Constructive or Non-Constructive
A proof can show a fast algorithm exists without showing what it is. This has happened before: the Robertson-Seymour graph minor theorem implies polynomial-time algorithms for problems such as graph linkedness, but Fellows and Langston showed in 1988 that the procedure “cannot actually be executed” because nobody knows the finite set it depends on. Knuth cites exactly this example as what “tipped the balance” for him toward P = NP.
There is a twist. Levin’s universal search already gives an explicit algorithm that is polynomial for finding solutions if P = NP: run every possible program in parallel, giving each a share of time, and stop when one prints a checkable answer. So in a sense the algorithm “exists” today. It is harmless because if the shortest fast solver is b bits long, universal search must wade through about 2^b other programs first. Some rough arithmetic: brute-forcing an AES-256 key (2^256 keys, each tried on a circuit of about 50,000 gates per published circuit tables) costs about 10^82 gate evaluations. Universal search only beats that if the solver program is under roughly 170 to 240 bits long, about 21 to 30 bytes. Any real solver is kilobytes. A non-constructive proof hands nobody a weapon on day one. It does start a race, though: non-constructive results have a record of being turned constructive once people know the target exists.
2. Galactic or Practical
“Polynomial” is not “fast”. Cook’s own example: “a computer program requiring n^100 steps could never be executed on an input even as small as n = 10.” Dick Lipton and Ken Regan coined the term galactic algorithm for one that is “wonderful in its asymptotic behavior, but is never used to actual compute anything.” The AKS primality test (2002) put primality in P and is still not used in practice; the fastest known matrix multiplication algorithms are galactic too.
Where is the danger line? A full SHA-256 circuit is about 135,000 gates and AES-256 about 50,000, and published SAT encodings run to roughly 10^5 variables. Take n = 100,000 and a constant factor of 1:
| Running time | Operations at n = 100,000 | What that means |
|---|---|---|
| n^2 | 10^10 | About 10 seconds on a laptop |
| n^3 | 10^15 | About 12 days on a laptop, 1 millisecond on an exascale machine |
| n^4 | 10^20 | About 100 seconds at exascale, about 3,200 years on a laptop |
| n^5 | 10^25 | About 116 days at exascale |
| n^6 | 10^30 | About 31,700 years at exascale |
| n^17 and above | 10^85 and up | Worse than guessing every AES-256 key |
So the dangerous zone is narrow: roughly n^5 or better with a small constant, shrinking by one exponent for every factor of 100,000 in the constant. Cook gives the vivid version: “an algorithm solving 3-SAT in n^2 steps could be used to factor 200-digit numbers in a few minutes.” History says first versions improve (linear programming went from the impractical ellipsoid method in 1979 to Karmarkar’s practical interior-point method in 1984), but also that some never do (AKS). Question for you: if a proof landed on n^1000, would you call it a breakthrough or a footnote?
3. Who Has It, and Is It Secret?
An open paper or a public Lean file puts the result in everyone’s hands at once. A state, a company or an AI lab holding it privately is a different story: silent decryption, quiet theft, no announcement. History offers both patterns. GCHQ’s Clifford Cocks described what was essentially RSA in a classified paper in 1973 and the work stayed secret until 1997, but Bruce Schneier concluded “it is clear that they never understood its significance.” The Ultra secret of Enigma decryption was kept until 1974. The lesson is that secrecy is plausible before publication and nearly impossible after it: no law reaches an already-public mathematical result, and the US Invention Secrecy Act covers patent applications, not papers. A mathematical result can also be rediscovered independently, so its secrecy half-life is short.
If someone held it secretly, the signs would be indirect: the first movement of Satoshi-era bitcoin that has sat still since 2009, unexplained intelligence “luck”, agencies quietly switching to couriers and one-time pads, or an AI lab pausing work without saying why. In August 2026 OpenAI said it was pausing internal activities involving its Astra model that did not yet meet strengthened security controls after reaching a new cyber capability threshold. That was about software exploits, not mathematics, and neither OpenAI’s nor Anthropic’s published safety policies mention a mathematical result. Question for you: if your lab’s model found a practical P = NP algorithm tonight, should it publish, tell a government, or delete it? Is there any answer that does not depend on who rediscovers it next?
4. Verified, Disputed, or Both at Once
2026 has already shown that this is not a yes-or-no switch. A Lean proof checker confirms that a proof of the stated formal theorem has no gaps. It cannot confirm that the formal statement means what the English sentence says. When OpenAI announced a Lean-backed Navier-Stokes blow-up result in September 2026, a paper a month later argued that “the formalised Lean proof does not correspond to the NL proof of blow-up of solutions to the Navier-Stokes equations” (arXiv, October 2026; background in our post on Lex Fridman and the AI crisis in math). When Anthropic’s Levent Alpöge announced a Claude-assisted proof of the Riemann Hypothesis in November with about 17 million lines of Lean, Daniel Litt said it was “exceedingly likely to be correct” and also “No human understands it yet” (see our coverage and Jon Keating’s explainer).
For P = NP there is an extra wrinkle: Mathlib, Lean’s main library, has no definitions of P and NP. A third-party library, Complexitylib, formalizes them and the Cook-Levin theorem, so a formal statement exists, but not an official one. Every argument would start with “whose definition of polynomial time?” pequalnp.com handles this by having an orchestrator that did not write a statement review its fidelity. The Clay Mathematics Institute is slower still: its rules treat a proof in either direction equally (“a resolution in either direction will be evaluated by the standard evaluation procedure”), but require publication in a refereed journal, at least two years of scrutiny and “general acceptance in the global mathematics community”. A Lean file on GitHub does not qualify. Perelman’s Poincaré proof took about seven years from first posting to Clay’s decision.
Which Branch This Timeline Follows
The timeline below follows the worst case for security and the best case for science at the same time: a constructive proof with a practical algorithm (around n^3 with a small constant), published openly with a Lean-checked proof and working code. It is the least likely branch, and the one people actually mean when they ask the question. In the more likely branches, here is what changes:
- Non-constructive or galactic (the most likely if P = NP is true at all): a mathematical sensation, a Clay process measured in years, a short market wobble like the one after Google’s Willow quantum chip in December 2024, an urgent push to prepare non-cryptographic fallbacks, and a decades-long race to turn the existence proof into a usable program. Your bank and your bitcoin keep working.
- Practical but secret: no announcement. The phases below happen quietly and out of order: intelligence collection first, theft disguised as hacks, and the public learns only when someone gets greedy or a dormant coin moves.
- Disputed claim with no code: the 2010 Deolalikar pattern. A claimed P ≠ NP proof circulated around 8 August 2010, and within about a week Neil Immerman, Terence Tao and others on Lipton and Regan’s blog had isolated the fatal problems. Wrong proofs die fast now. Right ones take years to be believed.
The Timeline: What Breaks First, and in What Order
Everything in this section is prediction inside the hypothetical. The order is set by one principle: systems fall in the order that breaking them pays, fastest and least reversibly, not in the order their mathematics is weakest. Mathematically, all of these fall at once.
Hour 0: The Claim Lands
In this scenario a team (humans, AI agents, or both, perhaps something like the pequalnp.com fleet) posts a Lean proof that P = NP and a program. The first reaction is disbelief, and it is rational: 116 failed claims, barrier results in both directions, and a 2026 habit of announcing by press call before anyone can check. Experts split into two queues. One audits the formal statement: are P and NP defined correctly, does the proof use only Lean’s three standard axioms, does it smuggle in a trusted-code shortcut? The other ignores the proof and runs the program.
Hours 1 to 72: Proof by Demonstration
A constructive P = NP is the one Millennium Prize result that does not need a referee to be believed. It needs a demonstration. Someone feeds the solver a public challenge that nobody can fake: a factored RSA challenge number, a preimage for a published SHA-256 hash, a spend from a famous dormant bitcoin address. The moment one of those appears, belief flips from “almost certainly wrong” to “certainly right” in an afternoon, years ahead of any journal.
Markets move before engineers can. The nearest proxies are mild: bitcoin fell from above $103,000 to under $96,000 around Google’s Willow announcement in December 2024 and clawed it back within days, and a single security product launch in February 2026 knocked 8 to 11 percent off CrowdStrike and peers over a weekend. Those were headlines with no attack behind them. A working solver has no precedent. The historical comfort is that the Dow’s 22.6 percent fall on 19 October 1987 was not followed by a recession, because the Fed promised liquidity. The discomfort is that a liquidity promise fixes prices, not proof of ownership.
Days 1 to 3: Bitcoin and Other Bearer Crypto Fall First
Bitcoin goes first not because its cryptography is weaker than a bank’s, but because it is the only major system where a broken key turns directly into final, irreversible money, around the clock, with no human in the loop and the targets published on a public ledger. Here is how it unravels in this scenario.
Signatures on exposed keys. Bitcoin’s signatures (ECDSA on secp256k1, and Schnorr under BIP-340) rest on the elliptic curve discrete logarithm problem. Recovering a private key from a public key is an NP search, so it falls. The cheapest targets are coins whose public key is already on chain. Glassnode’s October 2026 count:
| Exposed category | BTC |
|---|---|
| Address reuse | 4.33 million |
| Pay-to-public-key (P2PK, mostly early coins) | 1.71 million, about 1.1 million of it linked to Satoshi |
| Taproot outputs | 222,000 |
| Total with a visible public key | 6.26 million (31.2% of supply) |
| Of which held by exchanges | 1.79 million |
At the mid-November price of about $65,000, the P2PK coins alone are worth roughly $111 billion. Taproot, often named as the weak spot in quantum debates, is the smallest bucket. Address reuse is the largest, and exchange cold wallets are the biggest identifiable victims.
Why hashed addresses do not help here. Against quantum computers, an ordinary address that hashes the public key (P2PKH, P2WPKH) is a real defence until the coins are spent, because Shor’s algorithm needs the public key as input. Against P = NP it is no defence at all. “Find any private key whose public key hashes to this address” is itself a single NP search, so the solver skips the hash entirely. Satoshi made the underlying point in July 2010 when discussing stolen coins: “An attacker would only have to break the hash function, not ECDSA.” Under P = NP the hash breaks too. The order of theft is therefore set by cost and payoff (exposed keys first, everything else a little later), but in the end every UTXO is reachable.
Satoshi’s coins. Sergio Lerner’s analysis of the “Patoshi” mining pattern attributes about 1.1 million BTC to Satoshi, worth roughly $72 billion today, untouched since 2009. Lerner has said he believes “Satoshi won’t use his coins ever.” In this scenario, the first Patoshi coin to move is the global signal that someone can invert elliptic curve keys. In the secret-holder branch, it is the one signal a thief may not be able to resist. Our post on Nic Carter, quantum and Satoshi’s coins covers why these coins are already a governance problem under the much slower quantum threat.
Mining stops measuring work. The whitepaper says “The system is secure as long as honest nodes collectively control more CPU power than any cooperating group of attacker nodes.” Proof of work is a search for a block header whose double SHA-256 hash falls below a target, which is an NP search. With a practical solver, the cost of finding a valid block no longer depends on difficulty at all. The network’s roughly 1,000 exahashes per second of ASICs (Hashrate Index, mid-November 2026) become irrelevant, the 2016-block difficulty retarget with its 4x cap stops being a defence, and the solver holder can out-produce the whole network, censor transactions, double-spend and reorganise recent history. Mining is probably not the first thing exploited, simply because stealing 1.71 million P2PK coins pays far more than a week of block rewards (about 2,900 BTC), but it means there is no honest chain left to appeal to.
Why there is no fork to migrate to. This is the decisive difference from the quantum debate. Bitcoin developers have quantum plans: BIP-360 proposes outputs that hide the key path, and BIP-361, co-authored by Jameson Lopp, proposes phasing out legacy signatures and eventually freezing coins that have not migrated, with optional recovery by zero-knowledge proof of seed ownership. Lopp has said: “I don’t like it myself. I wrote it because I like the alternative even less.” Adam Back argued in April 2026 that “Making changes in a controlled way is far safer than reacting in a crisis.” All of those plans assume a new signature scheme to move to. Under P = NP, lattice and hash-based post-quantum signatures fall too, zero-knowledge recovery proofs fall too, and there is no new hash function. Satoshi’s own plan for a broken hash, from June 2010, was to “lock that in and continue from there with a new hash function.” There is no new function to continue with.
A freeze becomes the only tool, and it protects nothing, because once anyone can produce a valid signature the network cannot tell the owner from the thief. The only way to keep a ledger honest without computational hardness is a permissioned system: a known set of participants, private authenticated channels between them, and fewer than a third of them dishonest, per the classic Byzantine generals result. That can work for a consortium. It is not Bitcoin, because Bitcoin’s whole point is that you do not need to know who the participants are. Anthropic’s recent finding that Claude could recover weak ECDSA seeds (our write-up) was about bad randomness; this scenario is about the mathematics itself giving way.
Questions for you: if you hold bitcoin, what would you actually do on the morning a factored RSA challenge number appears? Sell to whom, at what price, through which exchange whose keys are also exposed? Would you rather the network freeze every coin at once, or let the first thief take them? And if proof of work no longer costs anything, is a ledger with no cost to rewrite still money?
Days 1 to 7: The Public-Key Internet Falls
RSA, Diffie-Hellman and elliptic-curve cryptography are all in NP, so they all fall. A common confusion is worth killing here: factoring is not known to be NP-complete (it sits in NP and coNP, which is why it probably is not), but that does not save it. Membership in NP is enough. The same goes for the new post-quantum standards NIST published on 13 August 2024: ML-KEM (FIPS 203) and ML-DSA (FIPS 204), based on lattice problems, and SLH-DSA (FIPS 205), based on hash functions. They were chosen because quantum computers are not believed to break them. Under P = NP they are checkable searches like everything else.
Russell Impagliazzo described this world in his 1995 paper on five possible worlds, calling it “Algorithmica”: “Any code that could be developed could be broken just as easily,” and “There would be no way to allow some people access to information without making it available to everyone.” In practice that means, in roughly this order:
- Recorded traffic opens. Anyone who stored encrypted traffic, the “harvest now, decrypt later” strategy usually discussed for quantum, can read it the moment the solver works, with no hardware to wait for. Forward secrecy does not help, because the ephemeral Diffie-Hellman keys it relies on are a discrete-log problem too. Intelligence agencies are the first beneficiaries, and nobody sees it happen.
- Live HTTPS stops meaning anything. Chrome reports 95 to 99 percent of page loads over HTTPS. Certificates can be forged, so the padlock proves nothing, and anyone positioned on the network can impersonate any site.
- The fix cannot be shipped. Operating systems, browsers and app stores verify updates with signatures. Once signatures are forgeable, a genuine emergency patch is indistinguishable from malware. The 2012 Flame malware, which forged a Microsoft code-signing certificate via a hash collision, is the small-scale preview. The only trustworthy channel left is physical: media handed over in person.
- Identity documents and cards. ePassports, national ID cards, SSH, DNSSEC, PGP and the key agreement in Signal and WhatsApp all lean on public-key signatures or key exchange.
Precedent says even small, fixable failures take months. After Heartbleed in April 2014, only 43 percent of affected sites had reissued certificates a month later, and 7 percent of those reused the old key. When the Dutch certificate authority DigiNotar was breached in 2011, the government told its 17 million citizens to fall back on pen and paper for official dealings. As Help Net Security’s summary of NIST’s quantum roadmap puts it, “Previous cryptographic transitions took 10 to 20 years,” and those transitions had a destination. Question for you: if the fix arrives over a channel the attacker can forge, who do you believe?
Weeks 1 to 2: Symmetric Encryption, Hashes, Passwords and Randomness
Many people assume symmetric encryption like AES is the safe harbour, because against quantum computers it is: Grover’s algorithm only square-roots the work, and Filippo Valsorda estimates that breaking AES-128 that way would need “140 trillion quantum circuits of 724 logical qubits each operating in parallel for 10 years.” The quantum fix is a longer key. P = NP is different in kind. Given two or three blocks of known plaintext and ciphertext (file headers and protocol records supply these freely), recovering the AES key is an NP search, and doubling the key length only makes the input slightly larger. No key length helps.
The rest of the toolkit goes with it. Hash preimages and collisions become findable, so HMAC, key derivation, Merkle trees and hash-based signatures fail. Every stolen password database becomes reversible, because bcrypt, scrypt and Argon2 slowness only multiplies a polynomial, and for logging in, any input that matches the hash works. Pseudorandom generators exist if and only if one-way functions exist, so every deterministic random number generator becomes predictable from a short sample of its output. That reaches lotteries, game servers and the key generation of every device.
This phase comes slightly after public-key breaks in the timeline only because exploiting it usually needs ciphertext in hand and pays off less directly. The gap between today and this world is enormous: the best published SAT-solver attacks find collisions for 38 of SHA-256’s 64 steps. A practical P = NP solver finishes all 64 for every hash, every time. Question for you: your disk encryption, your password manager and your bank’s PIN handling all use symmetric keys. Which of them still holds a secret the morning after?
Weeks 1 to 4: Other Chains, Zero-Knowledge Proofs and Stablecoins
With a total crypto market of about $2 trillion and roughly $68 billion locked in DeFi, the rest of crypto sorts itself by one question: is there someone who can legally decide which history counts?
Ethereum and proof-of-stake chains. Validators sign every attestation with BLS keys whose security, per the Eth2 book, is “probably between 117 and 120 bits” of discrete-log hardness. Slashing, which burns the stake of validators who sign conflicting checkpoints, works only if a signature proves who signed. Under P = NP anyone can frame anyone. What is left is the last resort that Ethereum’s design literature names: “manual intervention” and “social recovery of an honest chain.” Ethereum has done this before, with the 2016 DAO hard fork, and Sui validators representing 90.9 percent of stake voted in 2025 to reclaim hacked funds. Those rollbacks worked because the harm was one event with an identifiable attacker. A world where every key is forgeable is not one event.
Zero-knowledge proofs do not just break; they become empty. Rafail Ostrovsky and Avi Wigderson proved in 1993 that “unless very weak one-way functions exist, Zero-Knowledge proofs can be given only for languages in BPP.” In other words, without one-way functions there is nothing a zero-knowledge proof can hide, because the verifier could just compute the answer. The succinct “arguments” behind ZK rollups and private payments are only sound against polynomial-time cheats, and a polynomial-time cheat is exactly what this scenario provides.
Stablecoins and tokenized assets are the most recoverable crypto. Stablecoin supply stood at about $289 billion in mid-November 2026, with USDT at $175 billion and USDC at $69 billion. Their issuers hold powers that bitcoin holders do not. Tether’s terms allow it to “freeze any Tether Tokens held by you” and blacklist addresses; Circle’s USDC terms allow it to “freeze associated USDC” and say “Circle shall, in its sole discretion, determine which fork it will support, if any.” Neither document promises restoration from a snapshot. For $14 billion of tokenized Treasury funds, the transfer agent’s off-chain register is the legal record and “If the blockchain and the register disagree, the register wins.” The catch: an issuer can re-key the world only if it can first prove to the world that it is the issuer, over channels that are themselves broken. Question for you: on day one, would you rather hold USDC, a tokenized T-bill, or bitcoin? Who can overrule the chain in each?
Month 1: Banks, Payments and Governments Go Offline-First
Banks are hit later than crypto not because their cryptography is stronger (it is the same cryptography) but because their transactions are reversible, their customers are known, and humans sit in the loop. The scale is staggering: about $9.6 trillion of foreign exchange trades every day, and DTCC processed securities “valued at U.S. $4.7 quadrillion” in 2025. A digital run is fast, too: Silicon Valley Bank lost $42 billion in deposits in a single day in March 2023.
The obvious fallback, pre-internet banking, is weaker than it looks. SWIFT was founded in 1973 because mail and telex instructions were error-prone, and it ran for over 30 years on bilateral symmetric keys between pairs of banks. Card networks and ATMs still use symmetric key hierarchies such as DUKPT. Hardware tokens, HSMs and couriered keys all feed symmetric ciphers, and those fall too. What genuinely remains is the non-cryptographic layer: private lines, phone call-backs to known people, reconciliation, settlement delays, reversibility and liability rules. In this scenario commerce does not end. It slows down, re-centralises around institutions that know their customers, and gets much more expensive. Recovery is manual and slow; after the 2024 CrowdStrike outage, Microsoft said 8.5 million Windows devices had to be fixed largely by hand, and that was one bad file with a known fix.
Governments are not better off. The NSA’s CNSA 2.0 suite for national security systems uses the same lattice, hash-based and AES primitives as everyone else. The interesting exception is nuclear command and control, where the most sensitive step is deliberately non-computational. Jeffrey Lewis wrote that authentication “is not automated, it is done by a pair of human beings, with their eyes and their brains,” because “if the code were programmed into a computer system, it would be vulnerable to hacking.” The launch order itself travels encrypted, so the channel is exposed, but the check is human. Question for you: if the order channel is encrypted but the check is human, who is more exposed in this world, the bomb or the bank?
Months 1 to 12: Rebuilding on What Survives
Here the scenario differs most from every migration that came before. For quantum, NIST has a roadmap (deprecate vulnerable public-key algorithms after 2030, disallow them after 2035, per Help Net Security’s summary), and the G7 targets 2035. Y2K cost the US an estimated $100 billion with a known date and years of warning. Under P = NP there is no target to migrate to. The year is spent building something smaller and clumsier: dedicated lines between institutions that already trust each other, physically delivered keys, in-person identity checks, paper and notarised records for anything that must be provable later, and a lot of legal agreement about who bears losses. Meanwhile the formal proof grinds through human review: the Clay clock does not even start until refereed journal publication.
Years 1 to 10: The Upside Arrives, Unevenly
Fortnow’s survey makes the optimistic case in one line: “what we will gain from P = NP will make the whole internet look like a footnote in history.” Optimal schedules, optimal factories, cures. The research behind this essay suggests the gains are real but land in different places than the famous lists, and that even Fortnow has walked parts of it back.
Logistics: smaller than promised. We already do well on the classic NP-hard business problems. The Concorde solver has proved optimal tours for all 110 standard TSPLIB instances, the largest with 85,900 cities. On the standard vehicle-routing benchmark set, 61 of 100 instances have proven optimal solutions and the rest are “likely optimal too,” and organisers of the 2026 challenge say improvements “will be hard to find because the initial solutions are already strong.” Mixed-integer programming solvers got roughly 1,000 times faster between 2001 and 2020 from hardware and algorithms combined. P = NP adds the last few percent and the guarantee, not a revolution.
Drugs and proteins: search was never the main bottleneck. AlphaFold predicted over 200 million protein structures and won half of the 2024 Chemistry Nobel without P = NP. Drug development is limited by biology and trials: only about 1 in 10 candidates that enter clinical trials is approved, 40 to 50 percent of failures are for lack of efficacy, about 30 percent for toxicity, and each drug takes 10 to 15 years and around $1 billion. A perfect molecule search shortens the cheapest stage. Our post on Martin Shkreli’s argument that AI won’t find drugs makes a similar point about where the real costs are. Fortnow himself has backed off one of the book’s bolder claims, a year-ahead weather forecast, writing “I shouldn’t have put in such an aggressive weather forecasting,” because chaos and missing initial conditions are not search problems.
Mathematics: the biggest change. Gödel saw it in 1956: a fast proof-finder would mean “the mental effort of the mathematician in the case of yes-or-no questions could be completely [apart from the postulation of axioms] replaced by machines.” Cook’s version: P = NP “would transform mathematics by allowing a computer to find a formal proof of any theorem that has a proof of reasonable length,” which “may well include all of the CMI prize problems.” Fortnow joked that the prover would walk home from Clay with seven cheques (“actually six since the Poincaré Conjecture appears solved”). Aaronson is more careful: an “excellent chance”, not a certainty, because nobody knows how long the shortest formal proof of the Riemann Hypothesis is. What P = NP does not do: find proofs that are astronomically long, settle statements independent of the axioms, or decide which questions are worth asking and which definitions are worth making. Our post on 3Blue1Brown on AI and math is a good companion on what mathematicians are for when proofs get cheap.
AI and learning: crypto’s mirror image. Fortnow: “Learning becomes easy by using the principle of Occam’s razor, we simply find the smallest program consistent with the data.” Aaronson’s survey shows why this is the flip side of cryptography: any fast algorithm for finding a hypothesis consistent with the data “would imply a polynomial-time algorithm for breaking widely-used cryptosystems such as RSA.” Learning and code-breaking are the same capability seen from two sides. The limits are data, the right hypothesis class and a world that keeps changing; P = NP supplies none of those. Our explainer on compression, intelligence and the shortest program covers why “smallest program that fits” is such a powerful idea. Software and chip verification gains are real too: today’s SAT and SMT solvers already run at industrial scale, and under P = NP the remaining bottleneck becomes writing the right specification.
Who captures this? In the n^3 version of the scenario, a laptop needs about 12 days for one AES-sized instance and an exascale machine needs a millisecond. That is my arithmetic, not a published forecast, but it suggests that at least early on, the advantage goes to whoever owns the most compute. Question for you: would you trade a world of unbreakable secrets for one where any proof you could check in an afternoon can be found by a machine?
Decades: Trust Without Hardness
Over decades, security in this scenario rests on what Impagliazzo predicted in 1995: identification “would have to be based on some physical measurement,” with security depending on “the unforgeability of the physical measurement.” Mathematics becomes the art of asking questions and choosing definitions. The open internet as a place where strangers can trust each other without an intermediary does not come back.
What Survives a Proof That P = NP
A short and honest list, with the price of each:
- The one-time pad. Claude Shannon proved in 1949 that a key that is truly random, at least as long as the message and never reused gives perfect secrecy, against any amount of computation. The Moscow-Washington hotline, opened in 1963, used one-time pad tapes delivered through embassies. The cost is that you need as much secret key as traffic, delivered physically, and you cannot stretch a short key. The failure case is human: Venona broke Soviet traffic because about 35,000 pad pages were duplicated in 1942.
- Information-theoretic tools. Shamir secret sharing (fewer than k shares reveal nothing), Wegman-Carter message authentication (secure against unlimited computing, at the cost of fresh shared key material), and honest-majority multiparty computation. All of them need private channels and pre-shared secrets.
- Quantum key distribution, with limits. QKD stretches a pre-shared secret using physics. It does not authenticate anyone. The UK’s NCSC says “QKD does not provide authentication, nor do any other quantum techniques,” and will not support it for government use. China’s network spans 4,600 km with 32 trusted relay nodes, each of which sees the key, and about 150 users. Both NSA and NCSC prefer post-quantum algorithms, which in this scenario no longer exist, so the case for QKD gets stronger, but it remains a niche, point-to-point tool.
- Physical and institutional trust. Couriers, tamper-evident hardware, in-person verification, notaries, registries, courts and signed paper. Permissioned ledgers with known members and fewer than a third dishonest can still reach agreement. These all scale to known parties, not to billions of strangers.
Common Misconceptions About P = NP, Corrected
- “A proof of P = NP would instantly break encryption.” Only a constructive proof with a practical algorithm does. Knuth expects a non-constructive one, and a galactic exponent breaks nothing.
- “Factoring is NP-complete.” It is not known to be, and probably is not. It falls under P = NP anyway, because it is in NP. Breaking RSA would not prove P = NP.
- “Post-quantum cryptography would save us.” No. Lattice and hash-based schemes resist quantum computers, not P = NP.
- “Symmetric crypto is safe; just double the key.” That is the quantum answer. Under P = NP, key length stops mattering.
- “My bitcoin is safe in an unused address.” Hashing the public key helps against quantum attacks only. Under P = NP the hash is just one more search.
- “A hardware wallet or token protects me.” It protects a key. The algorithms using that key are what fail.
- “P = NP makes every problem easy.” No. The halting problem stays undecidable, problems that need exponential time stay hard (P ≠ EXP is proved), and no algorithm supplies missing data, chaotic initial conditions or good taste.
- “A Lean-checked proof settles it.” It settles the formal statement. Whether the formal statement means P = NP is a human question, as the 2026 Navier-Stokes dispute showed.
- “Proving P ≠ NP would make cryptography safe forever.” It would not. Fortnow: “Assuming P ≠ NP is not enough to get public-key protocols.” Cryptography needs average-case hardness, which is a stronger assumption.
Questions Worth Sitting With
- If a stranger could check any answer you gave in a minute, why would you expect them to be able to find it in a minute? What does “easy to check” actually buy?
- Would you trust a Lean proof of P = NP that no human understands? Who gets to decide what “P” and “NP” mean inside the file?
- Should a lab, company or government that found a practical algorithm publish it? Does your answer change if you assume someone else will rediscover it within a year?
- What would you do with your own bitcoin if a famous dormant address moved tomorrow with no explanation?
- Which of your daily trust actions (bank app, car key, door lock, software update, passport gate) rely on a secret you could never check by hand?
- The Dutch government told 17 million people to use pen and paper after one certificate authority fell. What is your pen-and-paper plan?
- Which would you rather lose first: the secrecy of the past (every recorded message) or the integrity of the present (every signature)?
- Would you rather live in Knuth’s world, where P = NP is true but nobody can ever find the algorithm, or in the world most experts believe in, where it is false?
- Aaronson says that if P = NP, “Everyone who could appreciate a symphony would be Mozart.” Is that a world you would want?
- If proof of work costs nothing and signatures prove nothing, what is a bitcoin? What is a bank balance?
Thoughts
P = NP would not end security. It would end security between strangers, and that is a much more specific loss than “encryption breaks”. Every tool that survives (the one-time pad, Wegman-Carter authentication, secret sharing, QKD, Byzantine agreement among fewer than a third of traitors, a notary, a court) needs the parties to already know each other, share a secret, or sit inside the same legal system. What disappears is the thing public-key cryptography invented in the 1970s: two parties who have never met establishing trust over a hostile network with nothing but mathematics. That one invention is what made the open web, e-commerce, software updates from strangers and Bitcoin possible. So the winners of this scenario are, almost perfectly, the institutions that cryptography was used to route around: banks with known customers, stablecoin issuers with freeze powers and transfer-agent registers, governments that issue identity in person. A practical P = NP would be the most centralising event in the history of computing, and the cruellest irony would land on Bitcoin, whose design goal of needing no trusted party becomes the exact property that cannot survive.
The quantum debate has trained everyone to ask the wrong question. For years the bitcoin conversation has been about which coins have exposed keys, whether Taproot was a mistake, whether to freeze Satoshi’s coins, and which custodians keep keys hidden; Glassnode’s numbers show the custodian question matters a lot today (Binance about 83 percent exposed, Fidelity about 2 percent). All of that is the right work for quantum, and all of it is irrelevant under P = NP, because the hash that hides a key is just another search, and the post-quantum signatures you would migrate to fall with everything else. Quantum is a hardware problem with a software fix. P = NP is a software problem with no software fix. The useful preparation for the second is not cryptographic agility, which assumes there is somewhere to move. It is knowing which of your systems can fall back to a phone call, a delay and a human who can reverse a mistake, and which cannot.
The most dangerous version of P = NP is also the easiest to believe, and that inverts how mathematics has worked for centuries. A non-constructive proof would sit in the queue that 2026 has made familiar: a giant Lean artifact, statement-fidelity fights like the Navier-Stokes dispute, Litt’s “No human understands it yet”, and a Clay process measured in years. A constructive, practical proof needs none of that. It is the one great theorem that can prove itself by factoring a number nobody else can factor. So in the scenario that matters, the verification bottleneck everyone is worried about in AI mathematics simply does not apply, and society gets hours, not years, between “claim” and “certainty”. That is also why the secrecy branch is less likely than it feels: a holder who uses it even once in public has published it.
The upside is real but mislocated in the popular imagination. The famous examples (delivery routes, drug cures, weather) are exactly the places where search is not the binding constraint: routing heuristics are within a sliver of optimal, drugs fail in trials not in search, and weather is chaos, which even Fortnow conceded. The places where P = NP would change everything are the ones where we currently fail completely: finding proofs, verifying software and hardware against a specification, and learning the smallest model that explains the data. Those are also the activities closest to what AI labs are racing to automate today without P = NP. If P = NP is false, as most experts believe, the 2026 wave of AI-assisted proofs is the closest we will get to Gödel’s machine, built from heuristics and scale rather than a theorem. If it is true but galactic, as Knuth suspects, the race to turn an existence proof into a program would be the most valuable search problem ever posed, and the one thing that a fast NP solver could not do for you is find itself.
Key Takeaways
- Nobody has proved P = NP. In Gasarch’s 2019 poll, 88 percent of respondents believed P ≠ NP; this essay is a labelled prediction of a hypothetical.
- The outcome depends on four branch points: constructive or not, practical or galactic, public or secret, and whether the proof’s formal statement is trusted.
- The most likely version, if P = NP is true at all, is non-constructive or impractically slow (Knuth’s bet), which changes mathematics and markets but not daily security.
- The danger line is narrow: on 100,000-gate problems like AES or SHA-256, roughly n^5 or better with a small constant threatens real keys; above about n^16, the algorithm is worse than brute force.
- Levin’s universal search already “exists” as a polynomial algorithm if P = NP, and it is harmless because it must try about 2^b programs first.
- A practical, published solver would be believed within hours, via a public demonstration such as a factored RSA challenge number, long before any journal or Clay review.
- Bitcoin falls first because broken keys convert to irreversible money: 6.26 million BTC sit behind visible public keys, including 1.71 million in P2PK and about 1.1 million attributed to Satoshi.
- Hashed bitcoin addresses protect against quantum attacks but not P = NP; finding any key that hashes to an address is itself an NP search.
- There is no fork to migrate to: post-quantum signatures, new hash functions and zero-knowledge recovery proofs all fall, leaving only freezes and permissioned ledgers.
- RSA, elliptic curves and NIST’s 2024 post-quantum standards (FIPS 203, 204, 205) all fall, and recorded traffic becomes readable, forward secrecy included.
- Symmetric encryption, hashes, passwords and random number generators fall too; hardware tokens and couriered keys do not help because they feed symmetric ciphers.
- Zero-knowledge proofs become empty, not just broken (Ostrovsky and Wigderson, 1993), while stablecoins and tokenized funds with legal registers are the most recoverable crypto assets.
- The upside is biggest in mathematics, verification and machine learning, and smallest in logistics and drug discovery, where heuristics are near optimal or trials dominate.
- What survives is the one-time pad, information-theoretic tools, QKD as a niche, and physical and institutional trust, all of which work between known parties, not strangers.
Notable Quotes
“this would have consequences of the greatest magnitude. That is to say, it would clearly indicate that, despite the unsolvability of the Entscheidungsproblem, the mental effort of the mathematician in the case of yes-or-no questions could be completely [apart from the postulation of axioms] replaced by machines.”
Kurt Gödel, letter to John von Neumann, 20 March 1956
“Specifically, an algorithm solving 3-SAT in n^2 steps could be used to factor 200-digit numbers in a few minutes.”
Stephen Cook, in the Clay Mathematics Institute’s official P vs NP problem description
“I don’t believe that the equality P = NP will turn out to be helpful even if it is proved”
Donald Knuth, Twenty Questions for Donald Knuth, 2014
“There would be no way to allow some people access to information without making it available to everyone.”
Russell Impagliazzo, describing “Algorithmica”, the world where P = NP, 1995
“An attacker would only have to break the hash function, not ECDSA.”
Satoshi Nakamoto, Bitcointalk, July 2010
“…what we will gain from P = NP will make the whole internet look like a footnote in history.”
Lance Fortnow, The Status of the P versus NP Problem, Communications of the ACM, 2009
“Everyone who could appreciate a symphony would be Mozart.”
Scott Aaronson, on why he believes P ≠ NP, 2006
To watch an AI agent fleet attack the real question in public, with a Lean checker as the only judge, follow pequalnp.com and its explanation of how it works. Until something there turns green, everything above stays a thought experiment.
Related Reading
- Stephen Cook’s official P vs NP problem description (Clay Mathematics Institute) the formal statement and its consequences, from the person who posed it.
- Scott Aaronson, “P =? NP” the most thorough modern survey, including barriers, consequences and the constructivity caveat.
- Lance Fortnow, “The Status of the P versus NP Problem” (CACM, 2009) the readable overview with the “beautiful world” thought experiment.
- Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi’s whitepaper, whose security argument assumes work is costly.
- The Golden Ticket by Lance Fortnow, the book-length version of what a world with P = NP might look like.