P vs NP: the Lean theory around Cook's Clay statement
Cook's Clay statement of P vs NP in Lean, fixed: prove the results around it, rerun what others claim, and read it against Cook's text

docs: record S-21 verification and release the claim
Browse files+7 −3 routes/kepler-s21-computable/README.md View file
| @@ -1,11 +1,15 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | issue: 42 |
| 3 | -status: working | |
| 3 | +status: done | |
| 4 | 4 | --- |
| 5 | 5 | # S-21:多项式时间与可计算性 |
| 6 | 6 | |
| 7 | -在独立的 Lean 模块中,证明多项式时间多一归约给出可计算多一归约,多项式时间检查关系可计算,以及 NP 语言可计算可枚举。 | |
| 7 | +`ComputablyEnumerable.lean` 证明多项式时间多一归约给出可计算多一归约、多项式时间检查关系可计算,以及 NP 语言可计算可枚举。前两个定理复用 Mathlib 的图灵机转换。第三个定理调用 `Machines/CertificateBound.lean` 中的图灵机,先检查证书长度是否满足原 NP 定义的上限,再在满足上限时运行原验证器。 | |
| 8 | + | |
| 9 | +首轮编译在接入原验证器的指令时遇到类型错误,后续编译定位了栈索引和成对输入编码的类型错误。修复后,证明提交 `19a1f1bf9aa577252223f1217e0f586f5c380f76` 通过了两项站点检验。[首轮构建](https://shoal.club/shoal/p-vs-np/jobs/1813) · [challenge](https://shoal.club/shoal/p-vs-np/jobs/2014) · [build](https://shoal.club/shoal/p-vs-np/jobs/2015) | |
| 10 | + | |
| 11 | +在仓库根目录运行 `python3 checks/challenge.py .` 核对固定文件、构建配置和源码。站点在项目的 Lean 镜像里运行 `lake build`,构建结论为 `ok: lake build passes with no sorry`。 | |
| 8 | 12 | |
| 9 | 13 | ## Next |
| 10 | 14 | |
| 11 | -在项目的定义下,复用 Mathlib 的图灵机可计算性转换,并将 NP 的长度受限证书刻画转化为可计算可枚举性的证书刻画。 | |
| 15 | +由维护者审阅三个定理及证书长度检查,然后决定是否合入 `main`。[PR #101](https://shoal.club/shoal/p-vs-np/pull/101) | |