The setting
A counter machine has finitely many states and finitely many counters holding natural numbers , and halts if, starting from its start state and a given initial counter vector, it reaches its halt state. The question is whether halting, viewed as a relation on the initial counter vector, has a Diophantine representation whose auxiliary witness tuple is uniquely determined by the input.
Single-fold relations
For an index set and a relation on tuples , a unique-witness representation of consists of a finite set of unknowns and an integer polynomial in the argument variables indexed by and the unknown variables indexed by such that, for every , holds if and only if for some , and whenever and for , we have .✦
A relation on tuples is single-fold, written , when admits a unique-witness representation.✦
Counter machines
For a state set and a counter index set , a counter machine instruction is one of three kinds: a halt instruction ; an increment instruction for and ; or a test-and-decrement instruction for and .✦
A counter machine with state set and counter index set consists of an instruction map assigning an instruction to each state in , a start state , and a halt state such that if and only if .
A machine configuration for is a pair consisting of a state and a counter valuation .✦
The one-step transition sends a configuration to the configuration determined by : if , it leaves unchanged; if , it moves to with and for ; and if , it moves to when and otherwise to with and for .
For an initial counter vector and , the run for steps, written , is the -fold iterate .
The machine halts at step on , written , when has state and for every the configuration has state different from .
The machine halts on , written , when holds for some .
The halting equation system
For , bitwise domination, written , holds when for every .
For a finite state set , a finite counter index set and an initial counter vector , the starting clock offset is the natural number .
Write with for the counter index set augmented by a clock index . A halting witness tuple for state set and counter index set consists of natural parameters , state and branch records , and counter and clock records .✦
Fix a counter machine with finite state set and finite counter index set , and a halting witness tuple for and . For a state and branch index , the transition target state is when and , when and , when and , and undefined otherwise.
For and , the arc count is when and , when and , when and , and otherwise. The incoming flow at a state is .
For a counter , the increment total is the sum of over all with for some ✦, and the decrement total is the sum of over all with for some .
Write if and if . A halting witness tuple satisfies the halting equation system for and an initial counter vector when (1)✦
The claim
Proposition 7.2. For every counter machine with finite state set and finite counter index set , the halting predicate on initial counter vectors satisfies (2)✦
In the paper, the result reads: fix and a deterministic counter machine with finitely many states and counters, instructions and , and one halt state, each counter initialized by a fixed choice of an input coordinate or zero; there is a finite system of integer polynomial equations in and natural auxiliary variables whose complete auxiliary tuple has exactly one solution when the initialized machine halts and none when it does not.
In (2), the input tuple is the initial counter vector directly, and the single-fold representation consists of a single integer polynomial equation.
What is checked
Proposition 7.2 (2) is stated for a counter machine with finite state set and finite counter index set , its runs and halting predicate on initial counter vectors , and single-fold relations via unique-witness representations; the halting equation system (1) is stated over the same machine and input vector together with the starting clock offset , bitwise domination, a halting witness tuple , the incoming flows determined by transition target states and arc counts, and the counter increment and decrement totals.