Least lattice points for bit-polynomial chip-firing algorithms
A deterministic algorithm can decide whether Eulerian chip-firing halts and can compute the unique reduced divisor of a connected undirected multigraph in time polynomial in the binary input length. Both tasks reduce to finding the coordinatewise least fixed point of a bounded integer map. Large multiplicities enter through exact arithmetic, so the running time is polynomial in the bit lengths of the multiplicities and chip counts even when individual firings or borrowing moves would take exponentially many steps. Hujter, Kiss and Tóthmérész asked whether chip-firing halting is in P for Eulerian digraphs with multiple edges. The answer is yes for every finite, weakly connected, loopless Eulerian multidigraph with binary arc multiplicities and a nonnegative integer initial chip distribution given in binary. At a legal firing, a vertex with at least its out-degree in chips sends one chip along each outgoing arc. A maximal legal game halts when no vertex can fire. Problem 22, §5 of Hujter–Kiss–Tóthmérész · EGRES Open, "Complexity of the halting problem for Eulerian multigraphs" For a graph with \(n\ge2\) vertices, let \(a_{ji}\) count arcs from \(j\) to \(i\), let \(d_i=\sum_j a_{ij}=\sum_j a_{ji}>0\) be the common out-degree and in-degree, and let \(\sigma_i\) be the initial holding at vertex \(i\). For a nonnegative integer count vector \(p\), define \[T_i(p)=\left\lfloor\frac{\sigma_i+\sum_j a_{ji}p_j}{d_i}\right\rfloor, \qquad \tau_i(p)=\sigma_i+\sum_j a_{ji}p_j-d_i p_i. \] Here \(\tau_i(p)\) is the holding prescribed by those firing counts. Set \(W=1+\max_i d_i+\max_i\sigma_i\) and \(B=2^{\operatorname{bitlength}(n!W^n)}\), where \(\operatorname{bitlength}(N)\) is the number of binary digits of a positive integer \(N\). On \(\{0,\ldots,B\}^n\), compute the least fixed point \(\ell\) of \(t_i(p)=\min\{B,T_i(p)\}\). The game halts exactly when \(T(\ell)=\ell\). Any nonnegative integer vector \(p\) satisfying \(T(p)\le p\) bounds the firing counts of every legal play coordinatewise. Eulerian balance leaves the holdings unchanged when a common count is subtracted from every coordinate, so a halting game has a fixed-point certificate strictly below \(B\) in every coordinate. The least choice matters because clipping can introduce other fixed points. For example, the triangle with one arc in each direction along each edge and initial holdings \((2,0,0)\) halts after one firing, yet \(B\mathbf 1\) is a clipped fixed point with \(T_1(B\mathbf 1)=B+1\). Here and below, \(\mathbf 1\) denotes the all-ones vector of the relevant dimension and vector inequalities are coordinatewise. A single loopless vertex can fire indefinitely under the degree-zero rule. Disconnected graphs halt exactly when every weak component halts, and an empty graph halts immediately. Replacing each undirected edge by two opposite arcs gives the corresponding decision for loopless undirected multigraphs at arbitrary nonnegative chip totals, answering Hujter's conjecture. Hujter, Conjecture 1 and Theorem 2 The second EGRES question asks for a polynomial-time algorithm to find a \(v_0\)-reduced divisor equivalent to a given divisor on an undirected multigraph. The algorithm returns the unique reduced representative and an integer equivalence script for every finite connected undirected multigraph, any specified root \(q=v_0\), and any signed integer divisor \(D\), with multiplicities and coefficients given in binary. A divisor assigns an integer to each vertex. It is \(q\)-reduced if its coefficients away from \(q\) are nonnegative and every nonempty set \(A\) of nonroot vertices contains a vertex \(i\) whose coefficient is smaller than the number of edges from \(i\) to the complement of \(A\), counted with multiplicity. EGRES Open, "Complexity of computing a v-reduced divisor in multigraphs" · Archived problem entry, 2016 revision Delete loops, which contribute zero to the divisor Laplacian and all cut degrees. For a single vertex return \(D\). Otherwise let \(U=V\setminus\{q\}\), let \(a_{ij}\) be the undirected edge multiplicity, and let \(d_i=\sum_j a_{ij}\) include edges to the root. Write \(L=\operatorname{diag}(d)-(a_{ij})\) for the positive Laplacian, \(Q=L_{U,U}\) for its submatrix with the root row and column removed, and \(c=D|_U\). A normalised reverse-firing script \(z\in\mathbb Z^U\) represents the equivalent divisor \(D+L(z,0_q)\), where the script is extended by zero at \(q\). It is feasible when \(c+Qz\ge0\). Using exact rational linear solves and coordinatewise rounding, form \[s=\lfloor -Q^{-1}c\rfloor,\qquad C=\max_{i\in U}d_i,\qquad z^+=\lceil Q^{-1}(C\mathbf 1-c)\rceil, \qquad B=2^{\operatorname{bitlength}(1+\max_{i\in U}(z_i^+-s_i))}. \] The inverse \(Q^{-1}\) is entrywise nonnegative, so every feasible script satisfies \(z\ge s\). The script \(z^+\) is feasible and its translate \(z^+-s\) lies strictly below \(B\mathbf 1\). Set \(b=-c-Qs\) and, on \(\{0,\ldots,B\}^{U}\), compute the least fixed point \(\ell\) of \[t_i(p)=\min\left\{B,\max\left\{0,\left\lceil\frac{b_i+\sum_{j\in U}a_{ij}p_j}{d_i}\right\rceil\right\}\right\}. \] Return \(D_*=D+L(s+\ell,0_q)\), including the signed coefficient at the root. The script \(s+\ell\) is least among all feasible normalised scripts, even those outside the translated box. A subset of nonroot vertices that could fire together while keeping all nonroot coefficients nonnegative would give a smaller feasible script. This is the link between coordinatewise leastness and the reduced-divisor cut condition. Binary input matters even on the path \(q-a-b\) with edge multiplicities \(1,M\), \(M=2^r\), \(r\ge1\). With nonroot coefficients \((-M/2,M/2)\), the borrowing stage of the earlier algorithm takes exactly \(M\) moves before proceeding, on input of \(O(r)\) bits. Baker–Shokrieh, §5.3, Algorithm 4 and footnote 7 The shared least-fixed-point algorithm applies in dimension \(m\ge1\) on \(I=\{0,\ldots,B\}^m\) when \(B\) is a positive integer power of two, \(t:I\to I\) is coordinatewise monotone and exactly evaluable in polynomial bit time, and \(0\le t_i(v)-t_i(u)\le1\) for every coordinate \(i\) and all \(u,v\in I\) with \(u\le v\le u+\mathbf 1\). In the halting map this last condition comes from the incoming multiplicities summing to \(d_i\). In the divisor map the multiplicities within \(U\) sum to at most \(d_i\). For \(y\in[0,B]^m\), take \(a_i=\min\{\lfloor y_i\rfloor,B-1\}\) and sort the fractions \(y_i-a_i\) in decreasing order, with indices \(\pi(1),\ldots,\pi(m)\). Let \(v^0=a\) and \(v^j=a+\sum_{h=1}^j e_{\pi(h)}\), where \(e_i\) is the \(i\)-th coordinate unit vector. Put \(\alpha_0=1\), \(\alpha_{m+1}=0\), and \(\alpha_j=y_{\pi(j)}-a_{\pi(j)}\) for \(1\le j\le m\). The interpolation and its weights are \[w_j=\alpha_j-\alpha_{j+1},\qquad F(y)=\sum_{j=0}^m w_j t(v^j). \] The interpolant is monotone and nonexpansive in the sup norm. Use \(h=\lceil\log_2(16(m+1))\rceil\), \(b=h+\log_2 B\) and \(H=(1-2^{-b})F\). With \(\phi(u)=B(u+\mathbf 1)/2\), approximate the fixed point of \(\phi^{-1}\circ H\circ\phi\) on \([-1,1]^m\) to sup-norm error at most \(2^{-b}\). Map the approximation back with \(\phi\), then return any vertex \(v^j\) of largest weight at that point. The discount places the continuous fixed point below the least lattice fixed point. At the returned approximation, the sup-norm residual for \(F\) is strictly smaller than \(1/(m+1)\). The unit-increment condition prevents opposite signs in any one coordinate of the integral corner residuals, and the largest-weight rule recovers the exact least lattice fixed point. The continuous approximation uses an external preprint theorem for a sup-norm contraction with factor at most \(1-2^{-b}\). It takes time polynomial in \(m,b,k\) for accuracy \(2^{-k}\), with \(k=b\) here. At a dyadic query and requested precision \(r\), the scaled map can be evaluated to error at most \(2^{-r}\) by up to \(m+1\) exact evaluations of \(t\), dyadic arithmetic and rounding within the cube to \(r\) fractional bits. The resulting complexity is polynomial in the binary input length, including \(\log B\). OpenAI, *Strongly polynomial linear programming*, 24 November 2026 version, Theorem 8, PDF p. 38 Original problem sources. https://egres.elte.hu/tr/egres-17-01.pdf#page=14 https://arxiv.org/pdf/1507.03209v4#page=13
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24800584
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- preprint