On the day AI solves P=NP, will Bitcoin be hacked?

CN
2 hours ago
The "existence" on the mathematical level and the "usability" on the engineering level are separated by an entire era of hardware.

Written by: Liam Akiba Wright

Translated by: Chopper, Foresighht News

The latest trend on social media is claiming that cryptography has quietly been broken by AI laboratories. The result is a surge of "new mathematicians" asserting that an announcement of P = NP is imminent and that Bitcoin is about to be doomed. (Note: P = NP is the core unresolved problem in computational complexity theory. P refers to problems that can be solved quickly, while NP refers to problems for which answers can be verified quickly. P = NP asks if “since the answers are so easy to verify, can they also be solved quickly?”)

Both claims are generating traffic on social platforms, but do they hold up when placed before true mathematics?

Firstly, and most importantly: even if P = NP is proven, breaking a specific cryptographic scheme on real hardware may still take millions of years. A proof can only guarantee that certain types of problems have polynomial-time algorithms, but this proof itself may not provide any usable algorithms. Even if it gives an algorithm, it may be impractically slow.

The misunderstanding likely arises from the phrase "breaking and verifying are equally easy." It means that both tasks can be completed in polynomial time, but the time complexity of these two polynomials might differ drastically. Imagine verifying an answer takes n² steps while finding the answer takes n¹⁰ steps: when n = 256 and a billion steps can be executed per second, verification takes about 66 microseconds, while finding the answer takes about 38 million years.

The discussion of P and NP focuses on "how the workload grows as the input size increases." So conversely, does proving P ≠ NP mean Bitcoin is more secure? The answer is both yes and no.

First, it should be noted that this does not prove Bitcoin has quantum resistance. Peter Shor’s quantum algorithm for discrete logarithms is already independent of the P vs NP problem, and its real-world implications depend solely on whether quantum computers can be scaled to the required specifications for Bitcoin signatures.

But it can prove: there are some problems where classical computers can quickly verify answers, yet no classical algorithm can solve all problems in polynomial time. This still doesn’t answer the most pressing question for Bitcoin holders: How difficult is it to deduce a private key from an ordinary Bitcoin public key?

The Probability of P vs NP and Reality

Many are concerned that this year, AI has an increasing probability of solving the P vs NP problem. However, such matters often ignore many details.

An AI lab can announce it has proven P = NP or it can announce it has proven P ≠ NP. Under the rules of the Polymarket “end-of-year math problem” contract, announcements in either direction could lead to a payout on “Yes” shares. What coin holders should be asking is: Can anyone generate valid signatures for a full key without knowing the holder's private key?

At 20:29 GMT on November 27, Polymarket showed a 13% probability for "Yes." CryptoSlate's snapshot recorded a buy price of 12.5 cents and a sell price of 12.6 cents; by November 28, the median price had dropped from 12.55 cents at the time of the snapshot to 7.05 cents.

According to Polymarket's rules, a qualified AI laboratory or its official representative must announce the complete solution before December 31, 2026, at 23:59 (EST) / January 1, 2027, at 04:59 (GMT), and it must be presented in the name of “the laboratory, its researchers, or the work of its model.” Joint work can count, but a congratulatory post from an external researcher does not count, even if that researcher used the lab's model.

The rules explicitly exempt additional confirmation from the Clay Mathematics Institute or other bodies, and there is no restriction on the direction of the proof. Upon checking Polymarket for the relevant contract on November 28, both the results and the event clarification information stream were empty. According to CryptoSlate's understanding, both directions are compliant. This contract is priced on "whether a qualified announcement appears," and does not provide odds for "the equation holds" or "Bitcoin signatures are actually broken."

A related contract illustrates the weight of such an announcement. Levent Alpöge, a mathematician at Anthropic, published a proof of the Riemann Hypothesis on November 20 and credited it to Claude. On November 21, Lean FRO and Mathlib Initiative announced that independent verification was complete, confirming both the precise statement of the theorem and the proof.

Yet, six days after this statement was published, according to CryptoSlate's market snapshot, the contract on "Will AI solve the Riemann Hypothesis in 2026" was still accepting bids at 20:29 GMT on November 27. This record only indicates that orders were open at that time; no explanation was provided as to why. The proof verification confirmed what Alpöge demonstrated while the market rules included “who the announcer is” as part of the settlement criteria.

What Does a Proof Mean for Bitcoin Holders?

Stephen Cook's description of the P vs NP problem for the Clay Mathematics Institute starts with a "yes or no" question. P refers to problems that can be solved in polynomial time by a deterministic classical algorithm; NP refers to problems for which a computer can verify "yes" evidence within polynomial time. The core question is: in this mathematical sense, does fast verification always imply fast solving?

Recent results from VP v and NP talk about something else.

If P = NP, then the corresponding "search problems" would also fall into polynomial time. Scott Aaronson explained why this would exclude standard definitions of one-way functions, which are those that are "easy to compute, difficult to invert." However, "polynomial" describes an upper bound on how the workload grows with the input length; an algorithm can meet this definition and still take longer than a human lifetime at Bitcoin's actual key length. A proof may not even provide a usable implementation.

If P ≠ NP, then there exist some efficiently verifiable problems for which there is no deterministic classical polynomial algorithm that works on all inputs. This conclusion still doesn’t give an answer to "how difficult is it to break a typical Bitcoin key."

Peter Shor’s algorithm remains applicable. In a more recent study, Ryan Babbush and co-authors stated that under the assumption of planar superconducting hardware with a physical error rate of 0.1%, using fewer than 500,000 physical qubits, a 256-bit elliptic curve discrete logarithm calculation would be completed in a few minutes. These numbers describe the capabilities of the machine they proposed under their model.

Bitcoin nodes verify a signature very quickly. Determining what a “breakthrough” means at the practical deployed key length requires looking for independent reproductions on newly generated challenges and full-length test keys, while ensuring that the keys and their signers cannot be accessed. Reproducing the key is also counted. A useful report should state the signing scheme, hardware, time spent, and memory usage, along with the success rate on independently generated keys. The ECDSA traditionally used in Bitcoin and the Schnorr signatures used in Taproot use the same algorithmic curve.

When Does a Bitcoin Payment Expose Its Public Key?

Taproot will write the output of the public key directly into the transaction that created it. Therefore, a capability that depends on "public key visibility" might function throughout the time the money has not been spent.

The newly built P2WPKH address initially only shows a hash. If this public key has never appeared elsewhere, it typically is only revealed when the owner broadcasts a spend. A capability may be fast enough to threaten a Taproot payment that has lain dormant for several days, yet slow enough not to catch the window immediately after the key has been exposed. Moreover, once a spend reveals the key, other unspent payments corresponding to the same reused key may also be exposed once confirmed.

yAsvbF-7vQYXTSL_w0i-rajpYiX_5r8UQ4wgDLIWB5Y.png

Taproot and the new P2WPKH payments show when the public key is visible from the creation, broadcasting, and confirmation stages. The public key is visible from the moment Taproot is created; P2WPKH only has the key hash at creation and reveals the public key when broadcasting a spend.

What Do Miners Need to Prove?

Miners compete for block rewards by finding a valid block, and the hash of that block header (derived from two rounds of SHA-256 hashing) must be less than or equal to the network target value. The speed at which a machine signs the test key does not indicate the cost of the search.

Reliable mining results will report the outcomes of repeated trials of new blocks against the same target using specific models of dedicated mining hardware (referred to as ASICs). How many valid blocks can each set of equipment produce per hour? What amount of energy or total cost is incurred for each block that is accepted by the network, including the workload lost due to other miners preemptively mining that block? Robert R. Nerem and Daya R. Gaur have analyzed how to make cost comparisons when a small quantum miner competes against classical miners.

Before miners can deploy sufficient computing power to influence the network, cost advantages could have commercial impacts. Bitcoin nodes will still independently verify every transaction in the block according to the network's expenditure rules.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到[email protected],本平台相关工作人员将会进行核查。

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink