AI 協助推導永續函式的計算複雜度分離結果
NP_R ≠ PAR_R
計算理論研究者想知道,幾種常見的計算方法能不能在短時間內處理「永續函式」這類數學問題。
- 作者與 ChatGPT、Claude 合作,提出多項計算複雜度類別之間的分離結果,並把論文中的定理用 Lean 4 形式化。這些分離結果都以一項既有的永續函式下界為前提。
- 形式化檢查沒有使用 sorry,但研究尚未經過同儕審查,作者也說部分文獻出處仍待確認。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
NP_R ≠ PAR_R: the permanent has no short real certificates
Important
Motivated by the recent breakthrough on the VP vs VNP problem, the authors (Samuel Everett and Deven Mithal) guided instances of ChatGPT and Claude to develop further, more granular algebraic complexity class separations. This is a work in progress in both the development and dissemination of mathematical research with AI tools, and any feedback is appreciated. The results in this repository grew out of a conversation between Sam and Claude Fable 5.2. The initial prompts were inspired by a separate discussion between Sam and Deven, the latter of whom suggested combining the latest VP-VNP results with some of Sam's private work in the area. Claude Fable 5.2 found the proofs through the conversation with Sam, and then wrote most of the paper under his guidance. That conversation started from initial ideas in a separate, earlier conversation Sam had with ChatGPT Astra 6.2, which proved $\mathrm{BIP}{\mathbb R}^{\times}\subsetneq\mathrm{PAR}{\mathbb R}^{\times}$ (Boolean-message interactive proofs against parallel polynomial time, in the real model with multiplication). The conversation with Claude Fable 5.2 extended that starting point to the further separations listed below. All results are formalized in Lean 4 (see Lean formalization below), with the results cited from the literature as explicit hypotheses. The results have not been peer reviewed and should be read with that in mind.
Results
In the Blum–Shub–Smale (BSS) model, the graph {Y = per_m(X)} of the real permanent lies in parallel polynomial time PAR_ℝ and outside each of
- NP_ℝ and coNP_ℝ,
- the second existential level Σ₂ of the real polynomial hierarchy,
- constant-round Arthur–Merlin proofs with real messages,
- interactive proofs with Boolean messages (BIP_ℝ),
and over the complex numbers outside NP_ℂ and coNP_ℂ. Each of these classes is therefore strictly contained in PAR_ℝ (respectively PAR_ℂ).
Both closed thresholds, $Y \le \mathrm{per}_m(X)$ and $Y \ge \mathrm{per}_m(X)$, also lie in PAR_ℝ and outside NP_ℝ, coNP_ℝ and Σ₂^ℝ. Negating one matrix row and the claimed value interchanges the thresholds. Their intersection is the graph.
The separations use the superpolynomial lower bound for the border complexity of the permanent (Theorem 2.3 in the paper, cited from the Anthropic manuscript "VP ≠ VNP over every field" and its Lean formalization). Two families of results use no lower bound:
- the graph theorems: a polynomial of polynomial degree whose graph has short existential, universal or ∃∀ real certificates has small border complexity;
- AM_ℝ[O(1)] = NP_ℝ ⊊ AM_ℝ[poly].
Layout
| File | Content |
|---|---|
main.tex |
Title, abstract, section includes |
macros.tex |
Notation |
refs.bib |
Bibliography |
sections/intro.tex |
Introduction and statements of the main theorems |
sections/prelim.tex |
Model, classes, border complexity, semialgebraic tools, cells |
sections/core.tex |
Derivatives of semialgebraic families, Newton iteration as a circuit, the local theorem |
sections/certificates.tex |
Existential certificates: graph theorem, thresholds, value functions |
sections/universal.tex |
Universal certificates and the complex field |
sections/second-level.tex |
An existential and a universal block |
sections/interaction.tex |
Boolean messages and constant-round Arthur–Merlin proofs |
sections/open.tex |
Open problems |
sections/lean.tex |
Appendix A: the Lean formalization, with the correspondence between results and Lean theorems |
lean/ |
The Lean 4 formalization (see lean/README.md) |
Building
latexmk -pdf main.tex
Lean formalization
The directory lean/ contains a formalization of the paper in Lean 4 (v4.36.0) with Mathlib (v4.36.0), about 36 000 lines. To check it:
cd lean
lake exe cache get
lake build-
Every numbered lemma, proposition, theorem and corollary of §2–§7, Theorems A–F, and Remarks 4.3, 5.4 and 7.4(a) are stated and proved, with no
sorry.#print axiomsreports onlypropext,Classical.choiceandQuot.soundfor every result. -
The results that the paper cites are explicit hypotheses of the theorems that use them, not axioms:
SAFacts— facts (S2)–(S8) on semialgebraic sets;PermLowerBound— Theorem 2.3, the border-complexity lower bound for the permanent;BurgisserThm— Theorem 2.5;EffectiveQE— effective quantifier elimination [BPR06];CountingBound— the counting bound (C) of Lemma 7.7;ClassFacts— the known inclusions between complexity classes.
In particular, every separation is conditional on
PermLowerBound, exactly as in the paper. -
Fact (S1) holds by construction: semialgebraic sets are defined as first-order definable sets. Baur–Strassen, Ryser's formula, Hoeffding's inequality (from Mathlib) and the unrolling of machines into trees are proved.
-
Appendix A of the paper (
sections/lean.tex) andlean/README.mdlist the Lean name of each result, the modelling choices, and the few places where a formal proof differs from the text.lean/ClassSeparations/Pinned.leanrestates the main statements verbatim and checks them against the proved theorems.
Status
The proofs have not been peer reviewed. The paper is mostly AI-written (see above). The results are formalized in Lean, conditional on the cited results listed above.
The bibliographic data in refs.bib were checked against publisher and Crossref records. The numbered results cited from the Anthropic manuscript, Bürgisser (2004, 2026), Baartse–Meer, Baur–Strassen and Cucker et al. were confirmed in the sources. Still to be confirmed against the full texts: the attributions to Cucker (1992, 1993), Koiran (1994), Blum–Cucker–Shub–Smale, and the numbering in Basu–Pollack–Roy, which follows the second edition (2006).