arXiv · 2504.16265
One Unit Separates Polynomial Time from Undecidability in Term Coding
Abstract
Term coding provides a common algebraic framework for network coding, index coding and problems in extremal combinatorics. We exhibit a decision problem in which lowering an output threshold by just one changes the complexity from polynomial time to undecidability: no algorithm then halts with the correct answer on every input. The problem concerns dispersion, the maximum number of distinct output tuples obtainable by interpreting the function symbols in a tuple of terms on a finite alphabet. We restrict inputs by inequalities between terms and ask whether a given instance meets a prescribed output threshold for some alphabet size at least two. Both thresholds are considered on the same class of instances. A machine-checked Lean development and an interactive presentation of the paper accompany this work (GitHub: https://github.com/SR123/term-coding-disequality-lean; DOI: 10.5281/zenodo.22727895); Section 8 specifies its external input and verification limits.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Søren Riis. 2026-09-12. One Unit Separates Polynomial Time from Undecidability in Term Coding. https://arxiv.org/abs/2504.16265
Cite the original work for its findings. Save a collection to share your selection of sources.