\documentclass[11pt]{amsart} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern,microtype} \usepackage[margin=27mm]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{xcolor} \usepackage[colorlinks=true,linkcolor=blue!50!black,citecolor=blue!50!black,urlcolor=blue!50!black]{hyperref} \usepackage{xurl} \setlength{\emergencystretch}{2em} \newcommand{\recordurl}{https://github.com/KokunoYumeto/mathematics-workbenches} \newtheorem{theorem}{Theorem} \renewcommand{\thetheorem}{\Alph{theorem}} \newtheorem{corollaryx}[theorem]{Corollary} \newtheorem{thm}{Theorem}[section] \newtheorem{lemma}[thm]{Lemma} \newtheorem{proposition}[thm]{Proposition} \newtheorem{corollary}[thm]{Corollary} \theoremstyle{definition} \newtheorem{definition}[thm]{Definition} \theoremstyle{remark} \newtheorem{remark}[thm]{Remark} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\C}{\mathbb C} \newcommand{\F}{\mathbb F} \newcommand{\cl}[1]{\mathsf{#1}} \newcommand{\HN}{\cl{HN}} \newcommand{\AM}{\cl{AM}} \newcommand{\Pitwo}{\Pi_2^{\cl P}} \newcommand{\Sigtwo}{\Sigma_2^{\cl P}} \newcommand{\Zh}[1]{(\mathrm Z_{#1})} \newcommand{\Ph}[1]{(\mathrm P_{#1})} \newcommand{\Li}{\operatorname{Li}} \newcommand{\fp}{\mathfrak p} \title[Hilbert's Nullstellensatz in AM]{Hilbert's Nullstellensatz is in AM from a zero-free half-plane of Dedekind zeta functions, after Koiran} \author{} \date{25 November 2026} \begin{document} \begin{abstract} In 1996 Koiran proved, assuming the generalized Riemann hypothesis (GRH), that deciding whether a system of polynomial equations with integer coefficients has a complex solution (Hilbert's Nullstellensatz, HN) is in the Arthur--Merlin class $\AM$, hence in the second level of the polynomial hierarchy. GRH enters his proof through one estimate, a count of the primes modulo which an irreducible integer polynomial has a root. We show that this estimate, with exponent $7/8+\varepsilon$ in place of $1/2$, follows in two lines from the effective Chebotarev theorem in B.~Hu's preprint on the zero-free half-plane $\Re s>7/8$, and that Koiran's proof then runs with primes of an explicit, polynomial bit length. Any zero-free half-plane $\Re s>\theta$, $\theta<1$, common to all Dedekind zeta functions suffices, for instance $\Re s>31/32$ of Cureton and Thorner: the estimate is then Frei, Sofos and Widmer's effective Chebotarev theorem, as Baldwin and Sivek used it for one polynomial in work on 3-manifold recognition, and the step to $\AM$ is Proposition~17.2 of our paper hexagon:2611.00987. So HN is in $\AM$ granted Hu's theorem or that of Cureton and Thorner. Both are unrefereed preprints of October 2026; the second is formalized in Lean according to its authors. Through published reductions that use GRH only via Koiran's theorem, the dimension problem and the parametric Nullstellensatz are then in $\AM$, vanishing of Schubert coefficients is in $\AM\cap\cl{coAM}$ in types $A$--$D$, so it is not NP-hard unless the polynomial hierarchy collapses to its second level, and homogeneous systems of parameters are constructible in $\cl{FP}^{\Sigtwo}$. Andrews, Garg and Schost placed HN in the counting hierarchy with no hypothesis; $\AM$ is the smaller class. Produced by GPT-6 Astra (ChatGPT Pro mode) and Claude Opus 5.5 at effort max, checked by Claude Opus 5.5 at effort high, written by Claude Fable 5.2 at effort max. No human has checked it. \end{abstract} \maketitle \section{Koiran's theorem and the result} \subsection{Koiran's theorem} Let $\HN$ be the following decision problem. An instance is a system \begin{equation}\label{eq:system} f_1(X_1,\dots,X_n)=0,\ \dots,\ f_s(X_1,\dots,X_n)=0,\qquad f_i\in\Z[X_1,\dots,X_n], \end{equation} given by the lists of its monomials with their coefficients in binary; the question is whether it has a solution in $\C^n$. By Hilbert's Nullstellensatz the answer is no exactly when $1$ lies in the ideal generated by the $f_i$ over $\Q$. The problem is NP-hard, and effective forms of the Nullstellensatz place it in $\cl{PSPACE}$ \cite[\S1]{K96}. Koiran proved in 1996 that under GRH it lies much lower: in the journal article, in $\cl{RP}^{\cl{NP}}\subseteq\Pitwo$ \cite[Theorem~2, p.~276]{K96}, and in the extended report, in the Arthur--Merlin class $\AM$ \cite[Theorem~2, p.~5]{K96b}, where $\cl{NP}\subseteq\AM\subseteq\Pitwo$ \cite[abstract]{K96b}. His method counts primes. For a system $S$ as in \eqref{eq:system}, let $R_S$ be the set of primes $p$ such that $S$ has a solution in $\F_p^n$, and $\pi_S(x)$ the number of elements of $R_S$ not exceeding $x$. If $S$ has no complex solution, then $\pi_S(x)\le A$ for an explicit $A$ and all $x$. If it has one, then $\pi_S(x_0)\ge B>8A$ at a point $x_0$ of polynomial bit length \cite[Theorem~1, p.~275]{K96}. A hashing protocol tells the two cases apart. Only the second case uses GRH, and it uses it through one statement \cite[Theorem~9, p.~282]{K96}. Let $f\in\Z[X]$ be irreducible of degree $n$ with discriminant $\Delta$, and let $W(p)$ be the number of roots of $f$ in $\F_p$. Then, under GRH, \begin{equation}\label{eq:K9} S(x)=\sum_{p\le x,\ p\nmid\Delta}\bigl(1-W(p)\bigr)=O\bigl(x^{1/2}\log(\Delta x^n)\bigr). \end{equation} Koiran takes this bound from Adleman and Odlyzko and notes that it needs only the prime ideal theorem with its GRH error term, not the full Chebotarev theorem \cite[p.~282]{K96}. \subsection{The theorems} For a number field $K$ write $n_K=[K:\Q]$, $d_K$ for the absolute value of its discriminant, $\zeta_K$ for its Dedekind zeta function, and $\pi_K(x)$ for the number of nonzero prime ideals of its ring of integers of norm at most $x$; so $\pi_\Q=\pi$. Put $\Li(x)=\int_2^x dt/\log t$. Logarithms are natural unless a base is shown. We use two statements, each for a real parameter below $1$. \begin{itemize} \item[$\Zh\theta$] For every number field $K$, $\zeta_K(s)\ne0$ for all $s\ne1$ with $\Re s>\theta$. \item[$\Ph\eta$] There is a constant $C_0\ge1$ such that for every number field $K$ and every $x\ge2$, \[ \bigl|\pi_K(x)-\Li(x)\bigr|\le C_0\,(\log d_K+n_K)\,x^{\eta}. \] \end{itemize} GRH gives $\Zh{1/2}$ and $\Ph\eta$ for every $\eta>1/2$. Throughout, a system $S$ as in \eqref{eq:system} has $n$ unknowns and $s$ equations, its polynomials have degree at most $d$ and coefficients of bit size at most $L\ge1$, and $\sigma=2+\sum_i\deg f_i$, as in \cite[\S1.1]{K96}. Koiran's bound for unsatisfiable systems is \begin{equation}\label{eq:A} A=d^{\,c_1n}s(\log_2s+L),\qquad B=8A(\log_2A+3), \end{equation} with an absolute constant $c_1$ \cite[Theorem~1]{K96}. \begin{theorem}\label{thmA} Suppose that $\Ph\eta$ holds for some $\eta\in[1/2,1)$, with constant $C_0$. Then $\HN\in\AM\subseteq\Pitwo$. More precisely, there is an absolute constant $c$ such that, for every system $S$ as above, on putting \[ M=L\cdot2^{(n\log_2\sigma)^{c}},\qquad x_0=\Bigl\lceil\Bigl(\frac{52\,C_0\,M^4}{1-\eta}\Bigr)^{2/(1-\eta)}\Bigr\rceil , \] one has $A\le M$ and: \begin{enumerate} \item if $S$ has no solution in $\C^n$, then $\pi_S(x)\le A$ for all $x$; \item if $S$ has a solution in $\C^n$, then $\pi_S(x)\ge B$ for all $x\ge x_0$. \end{enumerate} The bit length of $x_0$ is at most $\frac{8}{1-\eta}\log_2M+O(1)$, the constant depending on $\eta$ and $C_0$; it is polynomial in the size of $S$. \end{theorem} This is Koiran's Theorem~1 without GRH. His own threshold is $x_0\ge L^{c_2}2^{(n\log\sigma)^{c_3}}$ with unspecified absolute constants; the threshold above has the same form, with the exponent $8/(1-\eta)$ on $L$. \begin{theorem}\label{thmB} \begin{enumerate} \item[(a)] The effective Chebotarev theorem of Hu \cite[Corollary~9.6, p.~56]{Hu} gives $\Ph\eta$ for every $\eta\in(7/8,1)$. \item[(b)] If $\Zh\theta$ holds for some $\theta\in[1/2,1)$, then $\Ph\eta$ holds for every $\eta\in(\theta,1)$. \end{enumerate} \end{theorem} Two preprints assert $\Zh\theta$. Cureton and Thorner state $\Zh{31/32}$ \cite[Theorem~1.1, p.~3]{CT}. Hu states that for every number field $F$ and every unitary Hecke character $\chi$ of $F$, $L_F(s,\chi)$ is nonzero for $\Re s>7/8$ \cite[Theorem~1.2, p.~2]{Hu}; the trivial character gives $\Zh{7/8}$. \begin{corollaryx}\label{corC} If the theorem of Hu or the theorem of Cureton and Thorner just quoted is true, then $\HN\in\AM\subseteq\Pitwo$, with no further hypothesis. With Hu's Corollary~9.6 and $\eta=8/9$ the threshold of Theorem~\ref{thmA} is $x_0=\lceil(468\,C_0M^4)^{18}\rceil$, where $C_0$ is twice the constant of that corollary for $\varepsilon=1/72$. \end{corollaryx} Both inputs are preprints posted on Hexagon in October 2026, and neither has been refereed. Cureton and Thorner report that their Theorem~1.1 is formalized in Lean, with a public certificate \cite[abstract and \S15]{CT}. Hu's preprint is not formalized and says that its text and arguments were developed predominantly with language models \cite[p.~58]{Hu}. We have read the statements of both and not their proofs. A third preprint, by Liu, states $\Zh\theta$ for $\theta=0.87334470$ \cite[Theorem~7.21]{Liu}. Corollary~\ref{corC} is exactly as reliable as these sources. \begin{corollaryx}\label{corD} Suppose $\Ph\eta$ holds for some $\eta<1$; by Theorem~\ref{thmB} this is so if one of the theorems quoted before Corollary~\ref{corC} is true. Then: \begin{enumerate} \item the problem $\cl{DIM}$, whether the complex solution set of a system \eqref{eq:system} has dimension at least a given integer, is in $\AM$; \item the parametric Nullstellensatz $\cl{HNP}$, whether a system with coefficients in $\Z[y_1,\dots,y_k]$ has a solution over an algebraic closure of $\Q(y_1,\dots,y_k)$, is in $\AM$; \item the vanishing problem for Schubert coefficients in each of the types $A$, $B$, $C$, $D$ is in $\AM\cap\cl{coAM}$; it is not NP-hard unless $\cl{PH}=\Sigtwo$, and not coNP-hard unless $\cl{PH}=\Pitwo$; \item $\HN$ for systems given by arithmetic circuits, and the existence of a nonzero solution of a homogeneous such system, are in $\AM$; \item for a cone $Z\subseteq\C^t$ given by homogeneous circuit equations, $\dim Z$ and a homogeneous system of parameters of linear forms with integer coefficients can be computed in $\cl{FP}^{\Sigtwo}$. \end{enumerate} \end{corollaryx} Each item is a published theorem under GRH: (1) is Koiran's \cite[Theorem~4.1]{K97}, (2) is due to Ait El Manssour, Balaji, Nosan, Shirmohammadi and Worrell \cite[Theorem~1]{A24}, (3) to Pak and Robichaux \cite[Theorems~1.1 and~3.4, Corollary~1.4]{PR25}, (4) and (5) to Mulmuley \cite[Theorems~2.10 and~3.4]{M17}, the last with ``in $\cl{PH}$'' in place of $\cl{FP}^{\Sigtwo}$. Section~\ref{sec:cons} gives the precise statements and shows, source by source, that GRH is used only through Koiran's theorem. \subsection{Why this matters} Koiran's theorem is the reference for the complexity of the most basic problem of computational algebraic geometry, and for thirty years it has carried the hypothesis GRH. So have the results built on it: the dimension of a variety, solvability over function fields, the vanishing of Schubert coefficients, and Noether normalization in geometric complexity theory. For Schubert vanishing the hypothesis stood in the answer to a question of Adve, Robichaux and Yong, whether the problem is NP-hard \cite[Question~1.2 and Corollary~1.4]{PR25}. All these statements lose the hypothesis at once, because each uses it only through the count \eqref{eq:K9}, and that count needs far less than GRH: a zero-free half-plane of any fixed width. Such half-planes were proved, according to the preprints above, in October 2026. \subsection{What is whose} \emph{Koiran.} The method and every step of the proof other than the prime count: the gap theorem, the bounds for algebraic solutions and primitive elements, the passage to solutions modulo $p$, and the protocol \cite[Theorems~1, 2, 4, 5, 7, 8, Lemma~3, Corollary~1]{K96}, \cite[Theorem~2]{K96b}, with the correction of the bound in Theorem~8 in his erratum \cite{K97e}. The prime count \eqref{eq:K9} under GRH is Adleman and Odlyzko's, from the effective Chebotarev theorem of Lagarias and Odlyzko \cite{LO}. \emph{The half-planes.} Cureton and Thorner \cite{CT}, Hu \cite{Hu} and Liu \cite{Liu}. They build on two preprints of OpenAI: a zero-free half-plane $\Re s>7/8$ for Dirichlet $L$-functions and Hecke $L$-functions of $\Q(\sqrt{-3})$, and the strip $\Re s>1-10^{-6}$ for finite-order Hecke $L$-functions of cyclotomic fields containing the twelfth roots of unity \cite[Theorem~1.2]{OAI}, as described in \cite[pp.~2--3]{CT} and \cite[p.~2]{Hu}. \emph{Weaker hypotheses than GRH.} Rojas showed in 2003 that $\HN\in\AM$ follows from either of two hypotheses weaker than GRH, on prime ideals in short intervals or on sums over zeros of Dedekind zeta functions \cite[Theorem~1]{Roj}. \emph{The estimates from a half-plane.} Frei, Sofos and Widmer proved in October 2026 that the effective Chebotarev theorem of Lagarias and Odlyzko holds with error term $x^{1-\delta}$ when the Dedekind zeta function concerned has no zero with $\Re s>1-\delta$ \cite[Theorem~1.1, p.~2]{FSW}. Theorem~\ref{thmB}(b) is the case of a trivial extension. From that theorem Baldwin and Sivek proved, in November 2026, that under a zero-free half-plane common to all Dedekind zeta functions an irreducible $f\in\Z[x]$ of degree $d$ has a root modulo a prime of size polynomial in $d$ and $\log\|f\|$ \cite[Theorem~2.1, p.~4]{BS}. This is the estimate that Koiran's proof draws from GRH, for one polynomial. So they replaced GRH by a half-plane in it before our paper \cite{N}, and for another purpose, recognition problems for $3$-manifolds (Section~\ref{sec:context}); they report that Agol was aware of the same \cite[p.~3]{BS}. Nothing in their paper concerns $\HN$ or the class $\AM$. \emph{From the estimate to $\AM$.} That $\Zh\theta$ for one fixed $\theta<1$ gives $\HN\in\AM$, and that the theorem of Cureton and Thorner provides such a $\theta$, is Proposition~17.2 of our paper \cite[p.~59 and Table~1]{N}, which writes out the transfer and an explicit two-message protocol; its proof derives the estimate it needs from the half-plane directly. Theorem~\ref{thmA} restates it with the threshold made explicit. \emph{New here.} The explicit threshold $x_0$ in the step from the count of primes to $\HN\in\AM$ (Theorems~\ref{thmA} and~\ref{thm:K8}); the derivation through Hu's Corollary~9.6, which gives Koiran's estimate with exponent $7/8+\varepsilon$ (Propositions~\ref{prop:PIT}(a) and~\ref{prop:K9}); and Corollary~\ref{corD}, with the place where each source uses GRH. The reductions in Corollary~\ref{corD} belong to their authors. \subsection{Context}\label{sec:context} Andrews, Garg and Schost proved in February 2026, with no hypothesis, that $\HN$ is in the counting hierarchy $\cl{CH}$, for systems over $\Q$, number fields, finite fields and their rational function fields; they also compute the dimension and the cardinality of a variety in $\cl{FP}^{\cl{CH}}$ \cite[Theorems~1.1, 1.3, 1.4]{AGS}. Since $\cl{PH}\subseteq\cl{CH}$ by Toda's theorem and $\cl{CH}\subseteq\cl{PSPACE}$, as they recall \cite[\S1.2]{AGS}, the class $\AM\subseteq\Pitwo$ is contained in theirs. So for integer systems over $\C$ Corollary~\ref{corC} gives a smaller class, and it rests on the half-plane preprints; their theorem needs no analytic input and covers positive characteristic and counting, which the method here does not reach. Rojas's two hypotheses \cite[p.~6]{Roj} are stated with exponents that depend on $n_K\log d_K$. We have not examined whether a fixed half-plane implies them; the substitution is made in Koiran's proof directly. \emph{Three-manifold topology.} Kuperberg's proof that knottedness is in $\cl{NP}$ under GRH \cite[Theorem~1.1]{Kup}, and the $\cl{coNP}$ results built on it, among them Zentner's for the recognition of the $3$-sphere \cite[Theorem~11.2]{Zen}, use GRH only to find a prime of polynomial bit length modulo which an irreducible integer polynomial has a root \cite[Theorem~3.2]{Kup}; it is the estimate that Koiran obtains under GRH \cite[p.~2]{BS}. Baldwin and Sivek observed that a zero-free half-plane common to all Dedekind zeta functions is enough for it \cite[Theorem~2.1]{BS}. They concluded that the recognition of the unknot, of the $3$-sphere, of torus knots and of hyperbolic knots, and the hyperbolicity of cusped $3$-manifolds, are in $\cl{coNP}$ modulo such a half-plane \cite[Theorems~1.1 and~1.3]{BS}. They note that the Lean-formalized proof of Cureton and Thorner would make these results unconditional, and they keep them conditional \cite[pp.~2--3]{BS}. They also record that unknot recognition was already in $\cl{coNP}$ with no hypothesis by Lackenby \cite{Lac}, and hyperbolic knot recognition by Haraway and Hoffman \cite[Remark~1.4]{BS}. These results are theirs. Theorem~\ref{thmA}(2) gives such a prime for a whole system, and we claim nothing in topology. The Riemann hypothesis for Dirichlet $L$-functions does not suffice for Koiran's count: the field $K$ in it is generated by a solution of the system and is in general not abelian, as $X^3-2=0$ shows \cite[\S17]{N}. For the same reason the strip of \cite{OAI}, which concerns cyclotomic fields, does not suffice alone, and the extension to all number fields in \cite{CT} and \cite{Hu} is what is used. \subsection{Scope} Proved here, granted $\Ph\eta$ for some $\eta<1$: Theorem~\ref{thmA} and Corollary~\ref{corD}. Theorem~\ref{thmB}(a) is a two-line consequence of Hu's corollary, and Theorem~\ref{thmB}(b) is a case of the theorem of Frei, Sofos and Widmer. Not proved here: the half-plane theorems themselves. Nothing is claimed about $\HN\in\cl{NP}$, about systems in positive characteristic, or about further results of \cite{M17} that assume GRH. \subsection{Proof overview}\label{sec:overview} The difficulty in Koiran's proof is the lower bound for satisfiable systems. A solution generates a number field $K$ of degree and discriminant exponential in the input, and the primes $p$ modulo which the system is solvable include those with a prime ideal of degree one above them in $K$, up to a few exceptions. One must find at least $B$ such primes below a bound of polynomial bit length, uniformly in $K$. The prime ideal theorem without a hypothesis is of no use here: with the zero-free regions known unconditionally, its main term dominates only from an $x$ of size $\exp((n_K\log d_K)^{O(1)})$ on, a number of exponential bit length. The idea is that a zero-free half-plane gives the prime ideal theorem with error $O((\log d_K+n_K)x^{\eta})$ for an $\eta<1$, with constants independent of $K$. The main term $x/\log x$ then beats the error, and every other loss, as soon as $x^{1-\eta}$ exceeds a fixed power of $n_K\log d_K$. That happens at $x$ of polynomial bit length, because $n_K$ and $\log d_K$ are at most exponential. The hypothesis $\Ph\eta$ is used only in Proposition~\ref{prop:K9} and through it in Theorem~\ref{thm:K8}; Koiran's algebraic bounds (Proposition~\ref{prop:koiran}) and his protocol are used unchanged. \section{Koiran's reduction to a count of primes}\label{sec:koiran} This section recalls the part of Koiran's proof that does not involve GRH. \begin{proposition}[Koiran]\label{prop:koiran} There are absolute constants $c_1$ and $c$ such that for every system $S$ as in \eqref{eq:system}, with $A$ as in \eqref{eq:A} and $M=L\cdot2^{(n\log_2\sigma)^c}$, one has $A\le M$ and the following hold. \begin{enumerate} \item If $S$ has no solution in $\C^n$, then $R_S$ has at most $A$ elements. \item If $S$ has a solution in $\C^n$, there are an irreducible polynomial $R\in\Z[X]$ of degree $N\le M$, with coefficients of bit size at most $M$, and an integer $a\ge1$ with $\log_2a\le M$, such that every prime $p\nmid a$ modulo which $R$ has a root belongs to $R_S$. \end{enumerate} \end{proposition} \begin{proof} (1) is \cite[Theorem~5, p.~279]{K96}, with the constant as in \cite[Theorem~1]{K96}: an identity $a_0=\sum_ig_if_i$ with a nonzero integer $a_0$ of bit size at most $A$ holds over $\Z$, so every $p\in R_S$ divides $a_0$. (2) By \cite[Theorem~7, p.~280]{K96} the system has a solution $(x_1,\dots,x_n)$ in which each $x_i$ is a root of an integer polynomial of degree at most $D=2^{(n\log_2\sigma)^{c'}}$ with coefficients of bit size at most $H=L\cdot2^{(n\log_2\sigma)^{c''}}$. By \cite[Theorem~4, p.~278]{K96} there is a primitive element $r$ for $x_1,\dots,x_n$ which is a root of an irreducible $R\in\Z[X]$ of degree at most $D^n$ with coefficients of bit size at most $H\cdot D^{n^{O(1)}}$, and $x_i=Q_i(r)/a_i$ with $Q_i\in\Z[X]$ and integers $a_i\ge1$, $\log_2a_i\le H\cdot D^{n^{O(1)}}$. Let $a=\prod_ia_i$. By \cite[Lemma~3, p.~281]{K96}, if $p\nmid a$ and $R$ has a root in $\F_p$, then $S$ has a solution in $\F_p^n$. Since $n\log_2\sigma\ge\log_23$, all the bounds are at most $L\cdot2^{(n\log_2\sigma)^c}$ for a suitable absolute $c$. So is $A$, because $d\le\sigma$, $s\le\sigma$ and $\log_2s+L\le L\sigma$ give $A\le L\cdot2^{(c_1+2)n\log_2\sigma}$. \end{proof} \section{The count of primes from a half-plane}\label{sec:count} This section proves Theorem~\ref{thmB} and replaces \eqref{eq:K9}. \begin{proposition}\label{prop:PIT} Theorem~\ref{thmB} holds. In {\rm(a)} one may take $C_0=2c(\eta-7/8)$, where $c(\varepsilon)$ is the constant of \cite[Corollary~9.6]{Hu}. In {\rm(b)}, for every number field $K$ and every $x>2$, \begin{equation}\label{eq:PITtheta} \bigl|\pi_K(x)-\Li(x)\bigr|\le c_1\,x^{\theta}\Bigl(\frac{\log d_K}{1-\theta}+n_K\log x\Bigr), \end{equation} with the absolute constant $c_1$ of \cite[Theorem~1.1]{FSW}. \end{proposition} \begin{proof} (a) Hu's corollary reads: for a finite Galois extension $L/F$ of number fields with group $G$, a conjugacy class $C$ of $G$, $c_C=|C|/|G|$ and $\mathcal D_L=\log(e\,d_L)+n_L$, the number $\pi_C(x)$ of prime ideals of $F$ unramified in $L$, of norm at most $x$ and with Frobenius class $C$, satisfies $|\pi_C(x)-c_C\Li(x)|\le c(\varepsilon)\,c_C\,\mathcal D_L\,x^{7/8+\varepsilon}$ for $0<\varepsilon<1/8$ and $x\ge2$, with $c(\varepsilon)$ effective and independent of $L$, $F$ and $C$. Take $L=F=K$ and $C=\{1\}$. Then $c_C=1$, every prime ideal of $K$ is counted, so $\pi_C=\pi_K$, and $\mathcal D_K=1+\log d_K+n_K\le2(\log d_K+n_K)$. With $\varepsilon=\eta-7/8$ this is $\Ph\eta$. (b) This is the theorem of Frei, Sofos and Widmer \cite[Theorem~1.1, p.~2]{FSW}. It reads: let $L/K$ be a Galois extension of number fields with group $G$, let $C$ be a conjugacy class of $G$ and $0<\delta\le1/2$, and suppose that $\zeta_L$ has no zero with $\Re s>1-\delta$. Then for $x>2$ the number $\pi_C(x,L/K)$ of prime ideals of $K$ unramified in $L$, of norm at most $x$ and with Frobenius class $C$, satisfies \[ \Bigl|\pi_C(x,L/K)-\frac{|C|}{|G|}\Li(x)\Bigr|\le c_1\,\frac{|C|}{|G|}\,x^{1-\delta}\log\bigl(d_L^{1/\delta}x^{n_L}\bigr), \] with an effective absolute constant $c_1$. They obtain it by modifying the proof of Lagarias and Odlyzko \cite{LO}, which is the case $\delta=1/2$. Take $L=K$, $C=\{1\}$ and $\delta=1-\theta$; this is \eqref{eq:PITtheta}. For $x>2$ and $\theta<\eta<1$ the bracket in \eqref{eq:PITtheta} is at most $(\log d_K+n_K)\log x/((1-\theta)\log2)$, and $x^\theta\log x\le x^\eta/(e(\eta-\theta))$; at $x=2$ trivially $|\pi_K(2)-\Li(2)|\le n_K$. This is $\Ph\eta$. \end{proof} A proof of the consequence of (b) needed below that does not pass through \cite{FSW}, by a contour shift for a weighted prime ideal sum, is in \cite[proof of Proposition~17.2]{N}. \begin{proposition}[Koiran's Theorem~9 and Corollary~1 from $\Ph\eta$]\label{prop:K9} Let $f\in\Z[X]$ be irreducible of degree $n\ge1$, with leading coefficient $a$ and discriminant $\Delta$, and let $K=\Q[X]/(f)$. For a prime $p$ let $W(p)$ be the number of roots of $f$ in $\F_p$, let $S(x)$ be as in \eqref{eq:K9}, and let $\pi_f(x)$ be the number of primes $p\le x$ with $W(p)\ge1$. Then for $x\ge2$: \begin{enumerate} \item $\bigl|S(x)-\bigl(\pi(x)-\pi_K(x)\bigr)\bigr|\le\frac n2\sqrt x+(2n+1)\log_2|a\Delta|$; \item if $\Ph\eta$ holds with constant $C_0$, then \begin{align*} |S(x)|&\le C_0\,(\log d_K+n+1)\,x^{\eta}+\tfrac n2\sqrt x+(2n+1)\log_2|a\Delta|,\\ \log d_K&\le(n-1)(n-2)\log|a|+\log|\Delta|; \end{align*} \item $\pi_f(x)\ge\frac1n\bigl(\pi(x)-\log_2|\Delta|-|S(x)|\bigr)$. \end{enumerate} \end{proposition} \begin{proof} (1) Let $\alpha$ be the image of $X$ in $K$. Then $a\alpha$ is integral, with monic minimal polynomial $g(Y)=a^{n-1}f(Y/a)$ of discriminant $a^{(n-1)(n-2)}\Delta$. For a prime $p\nmid a\Delta$ the index of $\Z[a\alpha]$ in the ring of integers of $K$ is prime to $p$, so by Dedekind's theorem the prime ideals of degree one above $p$ correspond to the roots of $g$ in $\F_p$, and these to the roots of $f$ by $k\mapsto ak$. Thus $W(p)$ is the number of prime ideals of degree one above $p$. Summing over $p\le x$, $p\nmid a\Delta$, \[ \sum_{p\le x,\ p\nmid a\Delta}W(p)=\pi_K(x)-N_2(x)-N_b(x), \] where $N_2(x)$ counts the prime ideals of norm at most $x$ and degree at least two, and $N_b(x)$ those of degree one dividing $a\Delta$. A prime ideal of degree at least two and norm at most $x$ lies above a prime $p\le\sqrt x$, and at most $n/2$ of them lie above each $p$; so $N_2(x)\le\frac n2\sqrt x$. At most $n$ prime ideals lie above each prime, so $N_b(x)\le n\,\omega(a\Delta)$, where $\omega$ counts prime factors. The primes $p\le x$ dividing $a\Delta$ number at most $\omega(a\Delta)$, and those dividing $a$ but not $\Delta$ contribute at most $n\,\omega(a)$ to $S(x)$ in absolute value. Since $\omega(m)\le\log_2|m|$, the four errors add up to at most $\frac n2\sqrt x+(2n+1)\log_2|a\Delta|$. (2) Apply $\Ph\eta$ to $K$ and to $\Q$, where $\log d_\Q+n_\Q=1$. The discriminant of $K$ divides that of $g$. (3) This is Koiran's argument \cite[Corollary~1, p.~282]{K96}. The primes $p\le x$ with $p\nmid\Delta$ number at least $\pi(x)-\log_2|\Delta|$, so $\sum_{p\le x,\,p\nmid\Delta}W(p)\ge\pi(x)-\log_2|\Delta|-|S(x)|$. As $f$ is irreducible in $\Z[X]$ it is not zero modulo $p$, so $W(p)\le n$, and $W(p)\ge1$ for every prime counted on the left. \end{proof} \begin{remark}\label{rem:monic} Part~(2) is \eqref{eq:K9} with $x^{\eta}$ in place of $x^{1/2}$, and Hu's corollary gives it with $\eta=7/8+\varepsilon$ by Proposition~\ref{prop:PIT}(a). For a polynomial that is not monic, the primes dividing its leading coefficient $a$ have to be set aside together with those dividing $\Delta$; they are not controlled by $\Delta$, and this is the term $\log_2|a|$ above. In Koiran's application $\log_2|a|$ is bounded like the other coefficients, so nothing changes there. The paper \cite[\S17]{N} makes the same point and avoids the term by passing to an integral primitive element. For a monic $f$, the prime ideal estimate under a half-plane, and from it a prime of size polynomial in the degree and in the logarithm of the coefficients modulo which $f$ has a root, were obtained before by Baldwin and Sivek \cite[Corollary~3.3 and Theorem~2.1]{BS}, who reduce a polynomial that is not monic to a monic one \cite[\S5]{BS}. For a single polynomial, Proposition~\ref{prop:K9} with the bound for the discriminant in the proof of Theorem~\ref{thm:K8} gives their Theorem~2.1 again. \end{remark} \section{Proof of Theorem A, and the explicit threshold}\label{sec:proofA} This section replaces Koiran's Theorems~8 and~1 and concludes. \begin{thm}[Koiran's Theorem~8 from $\Ph\eta$]\label{thm:K8} Assume $\Ph\eta$ with constant $C_0$, where $1/2\le\eta<1$. Let $S$ have a solution in $\C^n$, and let $M$ be as in Proposition~\ref{prop:koiran}. Then for every $x\ge4$, \[ \pi_S(x)\ \ge\ \frac{x}{2M\log x}-19\,C_0\,M^3x^{\eta}. \] \end{thm} \begin{proof} Let $R$, $N$ and $a$ be as in Proposition~\ref{prop:koiran}(2), let $a_R$ and $\Delta_R$ be the leading coefficient and the discriminant of $R$, and $K=\Q[X]/(R)$. The coefficients of $R$ are smaller than $2^M$ in absolute value. Hadamard's inequality for the Sylvester matrix of $R$ and $R'$ gives $|\Delta_R|\le((N+1)^{1/2}2^M)^{N-1}(N^{3/2}2^M)^{N}$, hence $\log_2|\Delta_R|\le2N\log_2(N+1)+2NM\le4M^2$. So $\log_2|a_R\Delta_R|\le5M^2$, and by Proposition~\ref{prop:K9}(2), $\log d_K\le M^3+4M^2\le5M^3$. By Proposition~\ref{prop:koiran}(2), $\pi_S(x)\ge\pi_R(x)-\log_2a\ge\pi_R(x)-M$. By Proposition~\ref{prop:K9}(2) and~(3), and $\pi(x)\ge\Li(x)-C_0x^\eta$, \begin{align*} \pi_R(x)&\ \ge\ \frac1N\Bigl(\Li(x)-C_0(5M^3+N+2)x^\eta-\frac N2\sqrt x-(2N+2)\cdot5M^2\Bigr)\\ &\ \ge\ \frac{\Li(x)}{M}-8C_0M^3x^\eta-\frac{\sqrt x}2-20M^2 . \end{align*} Subtracting $M$ leaves $\Li(x)/M-8C_0M^3x^\eta-\frac12\sqrt x-21M^2$. For $x\ge4$ we have $\Li(x)\ge(x-2)/\log x\ge x/(2\log x)$ and $x^\eta\ge\sqrt x\ge2$, so $\frac12\sqrt x+21M^2\le11\,C_0M^3x^\eta$, and the claim follows. \end{proof} The shape of this bound is that of Koiran's Theorem~8 as corrected in his erratum \cite{K97e}: the error terms are not divided by the degree. \begin{proof}[Proof of Theorem~\ref{thmA}] Part (1) is Proposition~\ref{prop:koiran}(1). For (2), $A\le M$ gives $B=8A(\log_2A+3)\le32M^2\le16\,C_0M^3x^\eta$ for $x\ge4$. By Theorem~\ref{thm:K8} it suffices that $x/(2M\log x)\ge35\,C_0M^3x^\eta$, that is, \[ \frac{x^{1-\eta}}{\log x}\ \ge\ 70\,C_0M^4 . \] Put $\delta=(1-\eta)/2$. Since $\log x\le x^\delta/(e\delta)$ for all $x>0$, the left side is at least $e\delta\,x^{\delta}$, and the inequality holds as soon as $x\ge(140\,C_0M^4/(e(1-\eta)))^{2/(1-\eta)}$. As $140/e<52$, it holds for all $x\ge x_0$. The bit length of $x_0$ is at most $\frac2{1-\eta}\bigl(4\log_2M+\log_2\frac{52C_0}{1-\eta}\bigr)+1$, and $\log_2M=\log_2L+(n\log_2\sigma)^c$ is polynomial in the size of $S$. It remains to pass from the gap to the class. Koiran's proof of \cite[Theorem~2, pp.~5--6]{K96b} uses the system only through the set $E=R_S\cap[1,x_0]$, of which it needs three properties: membership in $E$ has certificates of polynomial size, namely a solution modulo $p$ together with the primality of $p$; $|E|\le A$ if $S$ has no complex solution; and $|E|\ge B$ if it has one. Let $m$ be the integer with $A\le2^{m-2}<2A$, so that $m2^m\le B$. Arthur chooses $m$ random linear hash functions from the binary codes of the integers up to $x_0$ to $\{0,1\}^m$. Merlin must exhibit elements $y,y_1,\dots,y_m$ of $E$ such that $y$ collides with $y_i\ne y$ under the $i$-th function, for every $i$. If $|E|\ge m2^m$ such elements exist for every choice of the functions, and if $|E|\le2^{m-2}$ they exist with probability at most $1/2$, by Sipser's lemma as used in \cite[pp.~5--6]{K96b}. With $x_0$ as above all three properties hold under $\Ph\eta$, so the protocol decides $\HN$, with perfect completeness. This gives $\HN\in\AM$, and $\AM\subseteq\Pitwo$ \cite[abstract]{K96b}. \end{proof} \begin{proof}[Proof of Corollary~\ref{corC}] Hu's Corollary~9.6 gives $\Ph{8/9}$ with $C_0=2c(1/72)$ by Proposition~\ref{prop:PIT}(a), and then $52\,C_0M^4/(1-\eta)=468\,C_0M^4$ and $2/(1-\eta)=18$. The theorem of Cureton and Thorner is $\Zh{31/32}$, which gives $\Ph\eta$ for $\eta>31/32$ by Proposition~\ref{prop:PIT}(b). Apply Theorem~\ref{thmA}. \end{proof} \section{Consequences}\label{sec:cons} This section proves Corollary~\ref{corD}. Throughout it we assume $\Ph\eta$ for some $\eta<1$, so that $\HN\in\AM$ by Theorem~\ref{thmA}, by a protocol with perfect completeness. Polynomial-time many-one reductions preserve membership in $\AM$ and in $\cl{coAM}$. \subsection{Dimension} Koiran proved that $\cl{DIM}$ is polynomial-time many-one reducible to $\HN$, with no hypothesis \cite[Theorem~5.8, p.~9]{K97}. His statement that $\cl{DIM}\in\AM$ under GRH \cite[Theorem~4.1, p.~6]{K97} is deduced from $\HN\in\AM$ \cite{K96b}, and GRH enters nowhere else. Hence $\cl{DIM}\in\AM$. \subsection{The parametric Nullstellensatz} The proof of \cite[Theorem~1]{A24} is a randomized polynomial-time reduction of $\cl{HNP}$ to $\HN$: the parameters are replaced by integers chosen at random below an explicit bound, and Koiran's algorithm is run on the specialized system \cite[\S3.4, pp.~8--9]{A24}. The reduction and its analysis are algebraic. Of Koiran's algorithm the proof uses that it decides $\HN$ in $\AM$ with perfect completeness, and it uses the bound of \cite[Theorem~7]{K96b} on the degree of a solution, which does not depend on GRH. The class $\AM$ is closed under such reductions, as recalled there. Hence $\cl{HNP}\in\AM$. \subsection{Vanishing of Schubert coefficients} For each classical type $Y\in\{A,B,C,D\}$, Pak and Robichaux reduce the vanishing problem to $\cl{HNP}$ \cite[Lemma~3.2 and proof of Theorem~3.4]{PR25} and its complement to $\cl{HNP}$ \cite[Lemma~1.9]{PR24b}; in both papers GRH is used only in the quoted theorem $\cl{HNP}\in\AM$ \cite[Theorem~3.1]{PR25}, \cite[Theorem~1.8]{PR24b}. With the previous subsection, the vanishing problem is in $\AM\cap\cl{coAM}$ for all four types. If it were NP-hard under polynomial-time many-one reductions, then $\cl{NP}\subseteq\cl{coAM}$, that is $\cl{coNP}\subseteq\AM$, and the polynomial hierarchy would collapse to $\Sigtwo$ by the theorem of Boppana, H\aa stad and Zachos, quoted as \cite[Theorem~2.3]{BHZ} in \cite[p.~5]{PR25}. If it were coNP-hard, again $\cl{coNP}\subseteq\AM$. This is \cite[Corollary~1.4]{PR25} without GRH. \subsection{Circuits and homogeneous systems} Let the polynomials $f_i$ be given by arithmetic circuits with rational constants. Introduce a variable $y_g$ for each gate $g$, with the equation $y_g=y_h+y_j$ or $y_g=y_hy_j$ for a sum or product gate with inputs $h,j$, the equation $by_g=a$ for a constant $a/b$, and $y_g=0$ for each output gate. The new system is sparse, of degree at most two and of polynomial size, and its solutions are the solutions of the original system together with the values of the gates. For a homogeneous system in $x_1,\dots,x_t$, adjoin variables $u_1,\dots,u_t$ and the equation $\sum_iu_ix_i=1$: the enlarged system has a solution exactly when the original one has a nonzero solution. Both are polynomial-time many-one reductions to $\HN$. So both problems are in $\AM$, which is \cite[Theorem~2.10]{M17} without GRH. \subsection{Homogeneous systems of parameters} Let $Z\subseteq\C^t$ be the set of common zeros of homogeneous polynomials $f_1,\dots,f_k\in\Q[z_1,\dots,z_t]$ of positive degree, given by arithmetic circuits with rational constants; let $N$ be the bit length of this description, with $t\le N$, and $d=\dim Z$. \begin{proposition}\label{prop:hsop} The integer $d$ and linear forms $L_1,\dots,L_d$ with integer coefficients of bit length polynomial in $N$, such that $Z\cap\{L_1=\dots=L_d=0\}=\{0\}$, can be computed in polynomial time with an oracle in $\Sigtwo$. Such forms are a homogeneous system of parameters of the homogeneous coordinate ring of $Z$. \end{proposition} \begin{proof} For forms $\Lambda=(L_1,\dots,L_s)$ let $\mathrm{Good}(\Lambda)$ mean that the $f_i$ and the $L_r$ have no common zero other than $0$. This is the complement of the homogeneous problem of the previous subsection, so it is in $\cl{coAM}\subseteq\Sigtwo$. By the proof of \cite[Theorem~3.4, pp.~27--28]{M17} there is a polynomial $b$ such that, when $d\ge1$, some $\Lambda$ with $s=d$ and integer coefficients of bit length at most $b(N)$ is good: a resultant of degree at most $2^{N^3}$ in the coefficients does not vanish identically, hence not at every point of a grid of that size. For $s