\documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm,microtype} \usepackage[title]{appendix} \usepackage[colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref} \hypersetup{pdfauthor={Peter Graham},pdftitle={A quasilinear bound for positive roots of p-adic circuit systems}} \ifdefined\pdfinfoomitdate\pdfinfoomitdate=1\fi \ifdefined\pdftrailerid\pdftrailerid{}\fi \ifdefined\pdfsuppressptexinfo\pdfsuppressptexinfo=15\fi \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\Qp}{\mathbb{Q}_p} \newcommand{\Zp}{\mathbb{Z}_p} \newcommand{\ac}{\operatorname{ac}} \title{A quasilinear bound for positive roots of \(p\)-adic circuit systems} \author{Peter Graham\\ \small\url{https://orcid.org/0009-0007-8493-1505}} \date{December 1, 2026\\[2pt] \small Zenodo archive: \url{https://doi.org/10.5281/zenodo.24721534}\\ \small \href{https://github.com/6/clank-lab/tree/padic-circuit-roots-v1/results/padic-circuit-roots/lean}{Lean development}} \begin{document} \maketitle \begin{abstract} For every odd prime $p$, a square system of $n$ Laurent polynomials over the $p$-adic rationals with $n+2$ distinct exponent vectors has at most $256(n+1)(1+\lfloor\log_p(2n+2)\rfloor)$ nonsingular roots whose coordinates all have leading digit one. The bound is uniform in the exponents and coefficients. For $p\ge n+1$ it is linear in $n$, matching the order of the lower bound of Phillipson and Rojas. Goldstein, Rojas, Stone and Vera stated the sharper bound $2n+2$ for these primes under restrictions on the coefficients and their reductions. Goldstein proved $2n+2$ for a class with pairwise distinct reductions in his dissertation. Our theorem answers their 2025 question asking for a bound without these restrictions. Together with the known real and complex bounds, our result proves the $k=2$ case of the Local Fewnomial Conjecture, posed by Rojas in 2007. The logarithmic derivative of a one-variable rational function bounds how many $p$-adic disks can contain roots and how many roots each such disk contains. The $p$-adic upper bound is formalized in Lean. This work has not yet been reviewed by experts. The proofs, Lean formalization, code and text were produced by AI models from OpenAI and Anthropic, working under the author's direction. \end{abstract} \medskip \noindent\textit{2020 Mathematics Subject Classification.} 11S05, 14G20, 14M25. \section{Introduction} The \(3\)-adic numbers \(3\) and \(4\) both have leading digit one. In general the leading digit of \(x\in\Qp^*\) is \(\ac(x)=p^{-v(x)}x\bmod p\), with \(v(p)=1\). Phillipson and Rojas call \(\ac(x)=1\) \emph{generalized phase one} \cite[Definition 1.1]{PR}. Following Goldstein, Rojas, Stone and Vera \cite[\S1.1]{GRSV}, we call such \(x\) \emph{positive}. The positive elements form the subgroup \(p^{\mathbb Z}(1+p\Zp)\). A torus root belongs to \((\Qp^*)^n\) and is positive if each coordinate is positive. Here a \emph{circuit system} is a square system in \(n\) variables with exactly \(n+2\) exponent vectors in the union of its supports. Proper subsets may be affinely dependent, and individual equations may omit monomials. \begin{theorem}\label{thm} Let \(p\) be an odd prime and \(n\ge1\). Let \(F\) consist of \(n\) Laurent polynomials over \(\Qp\) in \(n\) variables. Suppose their combined support contains exactly \(n+2\) distinct exponent vectors. The set of positive torus roots of \(F\) at which the Jacobian determinant is nonzero is finite and has cardinality at most \[ 256(n+1)\bigl(1+\lfloor\log_p(2n+2)\rfloor\bigr). \] In particular its cardinality is at most \(512(n+1)\) whenever \(p\ge n+1\). \end{theorem} Over \(\mathbb R\) or \(\mathbb C\), a nonzero number \(x\) has \emph{phase one} if \(x/|x|=1\), so its value is positive real. Over \(\Qp\), phase one means \(\ac(x)=1\). Let \(Y_L(n,k)\) be the supremum, over all systems of \(n\) Laurent polynomials over \(L\) in \(n\) variables with \(n+k\) distinct monomials in total, of the number of nonsingular roots in \((L^*)^n\) with every coordinate of phase one \cite[Definition 1.1]{PR}. Rojas's 2007 Local Fewnomial Conjecture \cite[\S1.2]{PR} asks for absolute constants \(C_2\ge C_1>0\) such that for every \(L\in\{\mathbb R,\mathbb C,\mathbb Q_3,\mathbb Q_5,\ldots\}\) and all \(n,k\ge2\), \[ (n+k-1)^{C_1\min(n,k-1)}\le Y_L(n,k) \le (n+k-1)^{C_2\min(n,k-1)} . \] For \(k=2\), Phillipson and Rojas construct \(n+1\) roots \cite[Theorems 1.5 and 1.6]{PR}. Bihan's Theorem~A gives the sharp upper bound \(m(C)+1\le n+1\) for positive solutions of a generic real system with circuit support \(C\), where \(m(C)\) is the affine dimension of its minimal dependent subset \cite{Bihan}. A nonsingular root forces full affine span by the Jacobian calculation in Section~\ref{gale}. Any finite collection of nonsingular positive roots persists under a sufficiently small generic real perturbation of the coefficients on the combined support, by the implicit function theorem. This gives \(Y_{\mathbb R}(n,2)\le n+1\). Phillipson and Rojas \cite[\S1.2]{PR} credit Bertrand, Bihan and Sottile, whose \(2n+1\) bound counts all real roots of generic systems on primitive circuits \cite{BBS}. The complex and real suprema agree \cite[Theorem 1.10]{PR}. \begin{corollary}\label{cor} For \(n\ge2\) and \(L\in\{\mathbb R,\mathbb C,\mathbb Q_3,\mathbb Q_5,\ldots\}\), \[ n+1\le Y_L(n,2)\le(n+1)^7 . \] \end{corollary} \begin{proof} The cited results give the lower bound and the Archimedean cases. For odd \(p\), Theorem~\ref{thm} gives at most \(256(n+1)(1+\lfloor\log_3(2n+2)\rfloor)\) roots. At \(n=2\) this is \(1536\le3^7\). For \(n\ge3\), \(2(n+1)<3^{n+1}\), hence the logarithmic factor is at most \(n+1\). Since \(256\le(n+1)^5\), the bound is at most \((n+1)^7\). \end{proof} Thus \(C_1=1\) and \(C_2=7\) suffice at \(k=2\) for every field in the conjecture. The full conjecture asks for one pair of constants for all \(k\). The field \(\mathbb Q_2\) lies outside its range. There \(-1\) is positive and the torsion-free argument below fails. The earlier general \(p\)-adic estimate has the form \((Cn)^n\) at \(k=2\) \cite[\S1.2]{PR}, by Rojas's arithmetic Descartes rule \cite[Theorem 1]{Rojas}. Theorem~\ref{thm} gives \(O(n\log n)\) uniformly in odd \(p\). Goldstein, Rojas, Stone and Vera recall a bound of \(n+1\) for tropically generic circuits \cite[\S1.1]{GRSV}. For \(p\ge n+1\) their poster states \(2n+2\) under nonvanishing conditions and when the numerator and denominator of their one-variable reduction have disjoint sets of zeros modulo \(p\) \cite[Theorem 1.5]{GRSV}. They ask to “remove Hypotheses (a) and (b)” and bound \(N_p^{n+2,n}=Y_{\Qp}(n,2)\) \cite[p.~3, after Example 1.6]{GRSV}. Theorem~\ref{thm} answers that question for every odd prime. Their bound is sharper on their class. Goldstein proves \(2n+2\) for \(p>n\) and nondegenerate circuits with nonzero maximal coefficient minors and pairwise distinct reduced ratios in his dissertation \cite[Theorem 2.3.10]{Goldstein}. The poster announces a full version in preparation \cite[p.~3]{GRSV}. Koiran, Portier and Rojas bound valuation vectors of finitely many torus roots for circuit supports in general position \cite[Theorem 1.10(2)]{KPR}. For a sum of two products of powers of linear factors, their Corollary~1.5 bounds the number of valuations and the multiplicity of roots away from common zeros when the two lower Newton hulls share no vertex. Lemma~\ref{depth} counts the residue disks of positive roots without either hypothesis. Avendaño and Ibrahim give an upper bound for regular systems, which have binomial initial forms at finitely many tropical weights and satisfy semiregularity there \cite[Definition 4.1 and Theorem 1.1]{AI}. The improvement concerns \(n\ge2\). For trinomials the maximum is three when \(p\ge5\) \cite[Theorem 1.2 and Remark 1.3]{PR}, drawing on Avendaño and Krick \cite[Theorem 1.4, Example 1.5 and Theorem 1.6]{AK}. At \(p=3\) a trinomial with four positive roots is known \cite[Example 1.7]{GRSV}. Theorem~\ref{thm} and the \(p\)-adic upper bound in Corollary~\ref{cor} are formalized in Lean~4 with mathlib (Section~\ref{formal}). \section{Proof overview} At a nonsingular root, the \(n+2\) exponent vectors have one independent affine relation. It gives an equation \(R(u)=1\) on a line. The degree of \(R\) can be arbitrarily large even in two variables, but its logarithmic derivative \(D=R'/R\) has at most \(n\) finite zeros away from the zeros and poles of \(R\). Group the parameters of positive nonsingular roots in residue disks according to their distances from these zeros and poles. Between branch points of the resulting tree, the corresponding valuation of \(D\) changes slope only at projected zeros. The denominators \(k\) in the logarithm series cost at most \(\lfloor\log_p(2m)\rfloor\) in valuation for \(m\) centers. This bounds the number of disks that can contain roots. Each disk contains at most \(16+2J\) roots, where \(J\) counts zeros of \(D\) in a slightly larger disk. The larger disks are disjoint, so each such zero contributes only once. \section{The equation on a line}\label{gale} \begin{proof}[Proof of Theorem~\ref{thm}, reduction to one variable] Choose one monomial in the combined support, divide every equation by it, and let \(y_1,\ldots,y_{n+1}\) be the remaining monomials, with exponent matrix \(E\) having \(n+1\) rows. In the new variables the system is \(c+Ay=0\), where \(c\in\Qp^n\) is the column of constant coefficients and \(A\) is the \(n\)-by-\((n+1)\) matrix of the other coefficients. At a torus zero this normalization rescales the Jacobian by a nonzero scalar. The differential of the monomial map is \(\operatorname{diag}(y)E\operatorname{diag}(x)^{-1}\). Thus a nonsingular zero forces both \(E\) and \(A\) to have rank \(n\). If such a zero exists, the affine solution set is a line \(y=c'+du\). Call a parameter \(u\in\Qp\) \emph{eligible} if it is the image on this line of a positive nonsingular torus root. Choose a nonzero integral relation \(\beta\) among the rows of \(E\). The character \(y^\beta\) is one on the monomial image. Its differential at an image point has rank one and annihilates the image of the monomial differential, hence has that image as its kernel. If the restriction \(R(u)=(c'+du)^\beta\) were identically one, the line direction \(d\) would therefore be the image of a nonzero tangent vector killed by the original Jacobian. Any other constant gives no roots. Moreover, two positive roots with the same \(u\) have componentwise quotient in the kernel of the monomial map. By the adjugate of a nonzero maximal minor of \(E\), each quotient coordinate is a root of unity. The positive subgroup is torsion-free for odd \(p\), by valuation and the injective logarithm on \(1+p\Zp\). It suffices to bound the distinct eligible parameters. After combining factors with the same zero and omitting zero total exponents, write \[ R(u)=c_0\prod_{i=1}^{m}(u-a_i)^{e_i},\qquad D(u)=\frac{R'(u)}{R(u)}=\sum_{i=1}^{m}\frac{e_i}{u-a_i}. \] The \(a_i\in\Qp\) are distinct, \(1\le m\le n+1\), and each \(e_i\in\mathbb Z\setminus\{0\}\). Each center \(a_i\) is the zero of some affine coordinate \(y_j=d_j(u-a_i)\). At an eligible parameter, \(y_j\) is a monomial in positive coordinates and is itself positive. Thus \(\ac(u-a_i)=\ac(d_j)^{-1}\) is fixed for every \(i\). The numerator of \(D\) over the product of its \(m\) distinct poles has degree at most \(m-1\) and is nonzero. \end{proof} \section{How many disks can contain roots?} For \(u\in\Qp\) away from the centers let \(t=\max_i v(u-a_i)\in\mathbb Z\) and choose a center \(a\) attaining it. The disk \(v(z-a)\ge t\) is independent of the choice. Every center in this disk has distance of valuation exactly \(t\) from \(u\). Fixing any one of those centers, its prescribed leading digit places all eligible \(u\) at this location in one residue disk \(B(u)=u+p^{t+1}\Zp\). Every point of \(B(u)\) has the same valuations against all centers, so residue disks from distinct locations are disjoint. Allowing real depths produces a tree. Two paths of disks about \(a_i,a_j\) agree up to depth \(v(a_i-a_j)\), where they branch. For instance, the paths about \(0\) and \(p^2\) agree up to depth \(2\). An open edge is a depth interval on a path between branch points, or a ray beyond them. A finite zero \(\gamma\) of \(D\) over an algebraic closure projects to the disk about a closest center at depth \(\max_i v(\gamma-a_i)\). \begin{lemma}\label{depth} Let \(\Lambda=\lfloor\log_p(2m)\rfloor\), where \(m\) is the number of centers of \(R\). The number \(N\) of distinct residue disks \(B(u)\) for eligible parameters \(u\) satisfies \(N<(6\Lambda+14)m\). \end{lemma} \begin{proof} The tree has at most \(m-1\) branch points because each split adds at least one path. Write \(b\) for their number. Truncating the rays gives a finite tree with \(b\) branch vertices and \(m+1\) endpoints, one of them on the outer ray. It has \(b+m\le2m-1\) edges. For \(m=1\) the entire line of depths is one edge. Mark also the projections of the at most \(m-1\) finite zeros of \(D\). This leaves at most \(3m-2\) open segments and \(2m-2\) marked points. On an edge before these extra marks choose a center \(a\) on its path and put \(w=u-a\), \(b_i=a_i-a\). A center is inner if \(v(b_i)>t\) and outer if \(v(b_i)0\) the two coefficients in the new coordinate are \[ g_kp^{kt}=-\frac1k\sum_{\rm outer}e_i(p^t/b_i)^k,\qquad g_{-k}p^{-kt}=-\frac1k\sum_{\rm inner}e_i(b_i/p^t)^k . \] Each is \(-T_k/k\) for a power sum \(T_k=\sum_{\nu=1}^q e_\nu\lambda_\nu^k\) with \(q\le m\) and \(\lambda_\nu\in p\Zp\). The polynomial \(\prod_\nu(X-\lambda_\nu)\) gives a recurrence for the power sums \(T_k\). The coefficient of \(T_{k-i}\) has valuation at least \(i\). If the first \(q\) sums vanish, the whole side vanishes. Otherwise their minimum valuation \(\mu\) gives, by induction, \[ v(T_k)\ge\mu+\max(0,k-q). \] For \(k>2q\), \(k-q>\log_2 k\ge v_p(k)\). Such an index has \(v(T_k/k)>\mu\), whereas some index at most \(q\) gives valuation at most \(\mu\). Hence every index attaining \(h(t)\) has \(0<|k|\le2m\). Differentiation multiplies the coefficient of \(w^k\) by \(k\) in \(wG'\), so at each integral depth \[ 0\le\Phi(t)-h(t)\le\Lambda . \] Both valuations here are integers. On a compact subinterval, only finitely many terms can meet the valuation of any one nonzero term, by the uniform tail estimate above. Thus \(h\) is locally the minimum of finitely many affine functions of distinct nonzero slopes. It is concave with no constant interval. A zero of \(G\) requires either \(h(t)=v(\log C)\) if \(\log C\ne0\), or a tie between nonconstant minimizers, hence a corner of \(h\). The first alternative occurs at most twice. On a subdivided segment \(h-\Phi\) is concave. At each of the \(\Lambda+1\) possible integer heights it can have at most two corners. Indeed, three points at one height force equality with the chord between the outer points, so the middle lies on a straight segment. There are at most \(2(\Lambda+1)\) corner depths and two more depths where \(h(t)=v(\log C)\) if \(\log C\ne0\). Adding the marked points gives \( N\le(3m-2)(2\Lambda+4)+(2m-2)<(6\Lambda+14)m . \) \end{proof} \section{How many roots lie in one disk?} For a polynomial \(H\ne0\) put \(d_r(H)=\max\{i:|H_i|r^i =\max_\ell |H_\ell|r^\ell\}\), where \(H_i\) is its coefficient of degree \(i\). This index adds under multiplication. Indeed the product of the last maximizing coefficients strictly dominates every other summand at their summed index. A linear factor \(z-\alpha\) contributes one exactly when \(|\alpha|\le r\). Factoring over an algebraic closure therefore shows that \(d_r\) counts the roots in the closed disk of radius \(r\), with multiplicity. \begin{lemma}\label{disk} Let \(B(u)\) be a residue disk of radius \(r\) containing an eligible parameter. If \(J\) counts the zeros of \(D\), with multiplicity, in the concentric closed disk of radius \(r\sqrt p\), then \(B(u)\) contains at most \(16+2J\) eligible parameters. \end{lemma} \begin{proof} For a disk \(b+p^{t+1}\Zp\), scale \(u=b+p^{t+1}z\) and put \(\rho=\sqrt p\). All centers have scaled distance at least \(p\). Write the scaled rational function as \(P/Q\), set \(\Delta=P-Q\), and put \(W=P'Q-PQ'\). Both \(P,Q\) have no zeros on the radius-\(\rho\) disk, so the zeros of \(W\) there are those of \(D\) in the corresponding enlargement. Choose a power \(M\ge2\) of \(p\) large enough that the radius-\(\rho\) Gauss norm of \(M\Delta Q'\) is strictly smaller than that of \(W\). Every eligible parameter in the disk gives a zero of \(\Delta\) in \(\Zp\) in the scaled coordinate \(z\). Thus it also gives a zero of \(H=\Delta Q^{M-1}\), whose derivative satisfies \[ H'=Q^{M-2}(W+M\Delta Q'),\qquad d_\rho(H')=J . \] The equality uses the strict norm inequality and \(d_\rho(Q)=0\). Put \(K=d_1(H)\) and \(j=J+1\). If \(K\le j\) then \(K\le J+1\le16+2J\). Otherwise \(K-1>J\), the last maximizing index for \(H'\) at radius \(\rho\), while \(|H_j|\le |H_K|\). Consequently \[ |KH_K|\rho^{K-1}<|jH_j|\rho^{j-1}\le |jH_K|\rho^{j-1}. \] Since \(\rho=p^{1/2}\), division by \(|KH_K|\rho^{j-1}\) gives \[ (K-j)/2