NP_R ≠ PAR_R

Source: github.com
118 points by sameverett 3 hours ago on hackernews | 129 comments

NP_R ≠ PAR_R: the permanent has no short real certificates

Important

The results in this repository grew out of a conversation between Samuel Everett and Claude Fable 5.2. The initial prompts were inspired by a separate discussion between Sam and Deven Mithal, who 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

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 axioms reports only propext, Classical.choice and Quot.sound for 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) and lean/README.md list the Lean name of each result, the modelling choices, and the few places where a formal proof differs from the text. lean/ClassSeparations/Pinned.lean restates 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).