VP ≠ VNP 意味着什么(3分钟)
What VP ≠ VNP Means (In 3 Minutes)

原始链接: https://www.friedgil.com/vpvnp

本文用行列式和积和式解释P与NP。行列式可在多项式时间内计算,而积和式尚无已知的多项式时间方法,且对0/1矩阵是#P完全的。VP≠VNP结果意味着没有多项式规模的算术电路能仅用加法和乘法计算积和式。因此,若P=NP,则计算积和式将需要某种超越算术运算的布尔技巧。

Hacker News 最新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 VP ≠ VNP 是什么意思(3 分钟) (friedgil.com) 15 分,作者 vinhnx,2 小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

I assume you know about the P vs. NP problem. But what is this wacky thing Anthropic just posted?

You learned how to take a determinant in your linear algebra class:

det(123456789)=1⋅(5⋅9-6⋅8)-2⋅(4⋅9-6⋅7)+3⋅(4⋅8-5⋅7)=0

The naive way is fine for 3×3 matrices, but notice that you need to perform Θ(n!) arithmetic operations here. Exercise for the reader is to find the exact number of operations (hint: start with a recurrence relation).

Luckily, if you paid attention, you will remember there are faster ways to do this for big n×n matrices, like Gaussian elimination. If we stick only to adding and multiplying, we can still find a determinant in polynomial time (there are better ways, but this is an old, readable method).

A related problem to the determinant is finding the permanent. It’s like a determinant without any subtraction:

perm(123456789)=1⋅(5⋅9+6⋅8)+2⋅(4⋅9+6⋅7)+3⋅(4⋅8+5⋅7)=450

Unlike determinants, there is no known way to compute permanents in polynomial time. Since finding the permanent of a matrix of 0s and 1s is NP-hard (and in fact #P-complete), it would be pretty important if there were a way.

What the Anthropic proof that VP≠VNP means is that there is no way to do this if we are limited to arithmetic circuits of size polynomial in the input-size, which look like this:

Example of an arithmetic circuit

This means that for P to equal NP, there must be some trick to computing permanents using AND/OR/NOT on the bits of the input that is better than addition and multiplication. There are many problems where access to Boolean operators is helpful, but it isn’t clear how they would help with the permanent. If you think of a way, go claim your $1 million.

联系我们 contact @ memedata.com