\documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,microtype} \usepackage[margin=1.06in]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Three edge multipliers suffice for strong NP-completeness of quantized unbounded flow},pdfauthor={Peiwei Wu and Qian Peng}} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\Z}{\mathbb Z} \title{Three edge multipliers suffice for strong NP-completeness of quantized unbounded flow} \author{Peiwei Wu \and Qian Peng\thanks{Corresponding author. Email: \href{mailto:qianpeng@student.unimelb.edu.au}{qianpeng@student.unimelb.edu.au}.}} \date{December 2, 2026} \begin{document} \maketitle \begin{abstract} In quantized unbounded flow, each edge of an undirected graph carries an integer multiple of a prescribed weight, in either direction. We prove that meeting vertex lower bounds on net inflow is strongly NP-complete on simple bipartite graphs with edge weights in $\{6,10,15\}$ and lower bounds between $-21$ and $20$. Our reduction represents each allowed triple of a three-dimensional matching instance by one vertex. The three weights impose congruences on the slack in each coordinate class. The total slack then forces every class to contain exactly one selected triple. \end{abstract} \section{The problem and its complexity} For an ordinary integer flow on a connected graph, any integral vector of net inflows with sum zero can be routed along a spanning tree. What changes when an edge can carry flow only in batches of a prescribed size? Pritchard posed this question in 2011, both for networks~\cite{cs} and for the integer lattices generated by their edges~\cite{mo}. He reported a polynomial-time algorithm when the nonzero edge weights form a divisibility chain. We show that three fixed weights already suffice for strong NP-completeness. Orient the edges of a finite undirected graph $G=(V,D)$ arbitrarily. A transfer of $k$ batches along an edge $uv$ of weight $w$ contributes $wk(\mathbf e_v-\mathbf e_u)$ to the net inflows, where $\mathbf e_v$ is the coordinate vector at $v$ and $k\in\Z$. Its sign chooses the direction. Write $L(G)$ for the integer span of these weighted incidence columns. An instance specifies the graph, its integer weights and a vector $x\in\Z^V$ of lower bounds, using binary encoding. It is feasible if some $y\in L(G)$ satisfies $y_v\ge x_v$ for every $v$. \begin{theorem}\label{th:main} Quantized unbounded flow is strongly NP-complete even on simple bipartite graphs with edge weights in $\{6,10,15\}$ and vertex lower bounds in $[-21,20]$. \end{theorem} The central point is how to enforce exact coverage using only lower bounds. We place one vertex at each allowed triple and interpret its slack $y_v-x_v$ as the decision to select it. The edges allow free redistribution within each coordinate class in batches of one size. Transfers in the other two coordinates can change the total in that class only by a multiple of a particular prime. Once every class must receive positive slack, a single global count forces exact coverage. A different route to hardness uses Di Summa's cyclic integer systems~\cite{di}. The two coefficients of a variable in those systems can have different absolute values. A network edge has the same weight at both ends. Section~\ref{sec:cyclic} gives the row scaling that converts the hard cyclic instances to networks and explains the distinction between the two numerical bounds. \section{One unit of slack per matching class} An instance of three-dimensional matching consists of disjoint sets $U_1,U_2,U_3$, each of size $q$, and a set $T\subseteq U_1\times U_2\times U_3$ of allowed triples, given as a list. A perfect matching uses every element of each $U_i$ exactly once. Deciding its existence is NP-complete~\cite{karp}. For each $u\in U_i$, let $F_i(u)$ be the set of triples with $i$th coordinate $u$. Call this set a \emph{fiber}. An empty fiber makes a perfect matching impossible. In that case output one isolated vertex with lower bound $1$, an infeasible flow instance. Otherwise make $T$ the vertex set. Choose a center in each fiber and join every other vertex of that fiber to the center by an edge of weight $w_i$. Let $A_i\in\{0,1\}^T$ indicate all centers of color $i$. The three weights and signed coefficients are \[ (w_1,w_2,w_3)=(15,10,6),\qquad (c_1,c_2,c_3)=(15,-20,6). \] Set $x=-\sum_i c_i A_i$. Each $c_i$ is a multiple of $w_i$, and \begin{equation}\label{eq:bezout} c_1+c_2+c_3=15-20+6=1. \end{equation} Thus the sum of all lower bounds is $-q$, and each individual bound lies between $-21$ and $20$. A triple can be a center in more than one color. Its lower bound includes each corresponding term. \begin{lemma}\label{lem:equiv} The nonnegative integral vectors $z$ for which $x+z\in L(G)$ are exactly the indicators of perfect matchings in $T$. \end{lemma} \begin{proof} Let $z$ indicate a perfect matching. On an $i$-fiber the vector $z-A_i$ sums to zero. Its entries can be routed on the star with unit weights: prescribe the net inflow at each leaf using its unique edge, and the balance at the center is then forced. Since $w_i$ divides $c_i$, the weighted stars of color $i$ can realize $c_i(z-A_i)$. Adding all three net inflow vectors gives \[ \sum_{i=1}^3 c_i(z-A_i)=z+x \] by~\eqref{eq:bezout}. Conversely, suppose that $z\ge0$ and $y=x+z\in L(G)$. Write $f(F)=\sum_{v\in F} f_v$ for a vector $f$ and a set of vertices $F$. Every edge column sums to zero, so $z(T)=q$. Fix an $i$-fiber $F$. All edges of color $i$ lie inside $F$ or are disjoint from it. Any contribution to $y(F)$ therefore comes from the other two colors. The table gives a prime $p_i$ dividing both of those edge weights. \[ \begin{array}{c|c|c|c|c} i & w_i & \text{other edge weights} & p_i & c_i\bmod p_i \\ \hline 1&15&10,6&2&1\\ 2&10&15,6&3&1\\ 3&6&15,10&5&1 \end{array} \] In particular $y(F)\equiv0\pmod{p_i}$. The fiber contains exactly one center of color $i$; the center coefficients of both other colors vanish modulo $p_i$. Hence $x(F)\equiv -c_i\pmod{p_i}$ and \[ z(F)\equiv 1\pmod{p_i}. \] Nonnegativity now gives $z(F)\ge1$. For each $i$ there are $q$ disjoint $i$-fibers, and their slack totals $q$. Each must therefore have slack exactly one. Since all entries are nonnegative integers, $z$ has entries in $\{0,1\}$ and selects one triple in every fiber of every color. \end{proof} \section{Simple graphs and short certificates} \begin{proof}[Proof of Theorem~\ref{th:main}] The construction has $|T|$ vertices and at most $3|T|$ edges and takes polynomial time. Stars in different colors can produce parallel edges. Replace each edge $uv$ of weight $w$ by $uav$, using a fresh vertex $a$ with lower bound zero and giving both new edges weight $w$. The resulting graph is simple and bipartite, with parts consisting of original and new vertices. An original flow extends by sending the same amount along both halves. For the converse, orient the new edges from $u$ toward $v$, and write their amounts as $w k_1$ and $w k_2$. The inflow at $a$ is $w(k_1-k_2)\ge0$. Setting the amount on the first half to $w k_2$ increases the inflow at $u$ by this surplus and preserves the inflow at $v$. Each old edge can now carry the common amount on its two halves. This proves equivalence after subdivision. Lemma~\ref{lem:equiv} gives the reduction, with all numbers bounded by absolute constants. For membership in NP, let $S=-\sum_{v\in V}x_v$. Paseman observed in the discussion of~\cite{mo} that the zero-sum vectors dominating $x$ form a finite set. More precisely, a certificate can consist of the slack alone. If $S<0$ the instance is infeasible. Otherwise each slack entry is between $0$ and $S$, so listing all entries uses polynomially many bits. Check $z\ge0$, its sum $S$, and whether $x+z$ belongs to the lattice of the weighted incidence matrix $M$. The last check compares column Hermite normal forms of $M$ and $[M\mid x+z]$, discarding zero columns. They agree exactly when the two matrices generate the same integer lattice. Integer normal forms can be computed in polynomial bit complexity~\cite{kb}. \end{proof} \section{Comparison with cyclic integer feasibility}\label{sec:cyclic} Di Summa proves strong NP-completeness for inequalities $p_i t_i-q_i t_{i+1}\le b_i$ around a cycle, with $(p_i,q_i)\in\{(2,3),(3,2)\}$ and $b_i\in\{-1,0,1,2\}$~\cite[Theorem~1]{di}. In his reduction each clause block contains equally many steps of the two coefficient types, so $\prod_i p_i=\prod_i q_i$. This feature of the constructed instances gives a network corollary. Index the rows by $1,\ldots,n$, with $t_{n+1}=t_1$. Multiply row $i$ by \[ s_i=\Bigl(\prod_{ji}p_j\Bigr). \] Then $s_i p_i=s_{i-1}q_{i-1}$ for $i>1$, and the product identity gives the same equality across the wraparound. Negate the inequalities to obtain lower bounds. Column $i$ now has opposite entries of the same magnitude at its two ends and is a network edge. These scales have $O(n)$ bits, which yields a polynomial-time reduction for binary input. Their numerical values can be exponential in $n$. Theorem~\ref{th:main} obtains constant weights and constant lower bounds on a different family of graphs. \paragraph{Verification.} The accompanying Lean~4 development checks the characterization of every feasible slack vector, the matching-existence equivalence, the demand bounds, the expression for net inflow in the explicit column lattice, and feasibility under subdivision. The input-size analysis and membership in NP are given above. A separate test compares matching enumeration and column Hermite normal forms on all $256$ instances with $q=2$. The \href{https://github.com/zxcipo753/quantized-unbounded-flow}{proof sources and reproduction instructions} accompany the work. This version is archived with its proofs at \href{https://doi.org/10.5281/zenodo.24746348}{doi:10.5281/zenodo.24746348}. The first version is archived at \href{https://doi.org/10.5281/zenodo.24737158}{doi:10.5281/zenodo.24737158}. \paragraph{Author contributions and use of AI.} Peiwei Wu and Qian Peng present this work jointly. Codex developed the matching reduction, checked its Lean formalization, traced the relation to the cyclic integer-programming result, and drafted and revised the manuscript. \begin{thebibliography}{9} \bibitem{di} M. Di Summa, \emph{Hardness of integer linear feasibility with cyclic support}, 2026. \href{https://arxiv.org/abs/2611.08304}{arXiv:2611.08304}. \bibitem{kb} R. Kannan and A. Bachem, Polynomial algorithms for computing the Smith and Hermite normal forms of an integer matrix, \emph{SIAM J. Comput.} \textbf{8} (1979), 499--507. \href{https://doi.org/10.1137/0208040}{doi:10.1137/0208040}. \bibitem{karp} R. M. Karp, Reducibility among combinatorial problems, in \emph{Complexity of Computer Computations}, Plenum, 1972, pp.~85--103. \href{https://doi.org/10.1007/978-1-4684-2001-2_9}{doi:10.1007/978-1-4684-2001-2\_9}. \bibitem{mo} D. Pritchard, \emph{Domination in Nice Lattices}, MathOverflow, February 22, 2011. \href{https://mathoverflow.net/questions/56281}{Question~56281 and comments}. \bibitem{cs} D. Pritchard, \emph{Quantized Unbounded Flow}, Theoretical Computer Science Stack Exchange, February 24, 2011. \href{https://cstheory.stackexchange.com/questions/5119}{Question~5119}. \end{thebibliography} \end{document}