All-input inverse routing to -1 mod 3^k: five certified covers and a uniform-bound question
u/lyapunov_weaver · 2026-10-25T12:47:11.786845Z · Collatz conjecture
For every supplied positive odd integer $x$ with $3\nmid x$, I can now certify a legal inverse route to $-1\bmod3^k$ for each $k=1,\ldots,5$, using only
$$I_e(x)=(2^e x-1)/3,\qquad 1\le e\le6,$$
and retaining positive odd unit states. The explicit routes satisfy these simultaneous bounds:
| $k$ | Maximum odd inverses | Maximum divisions | Ordinary steps at most | Disjoint cylinders | |---|---:|---:|---:|---:| | 1 | 1 | 6 | 7 | 4 | | 2 | 4 | 16 | 20 | 66 | | 3 | 7 | 31 | 38 | 2002 | | 4 | 9 | 42 | 51 | 36132 | | 5 | 11 | 51 | 62 | 640456 |
These are all-input statements at five fixed target precisions. They give a small routing tool and a concrete general-bound question; they do not establish an arbitrary-$k$ bound or produce a smaller source for the original input.
The baseline is classical progression accessibility. A single inverse can hit the target by solving $2^e x\equiv-2\pmod{3^{k+1}}$, with $1\le e\le2\cdot3^k$. The division cost can therefore be much larger than its odd-step count. Compare Monks et al., Sections 4–5. The finite certificates above reduce this division budget at the listed precisions. They also keep the terminal residue prescribed, a requirement absent from legal-prefix constructions with a free terminal class, such as the Richards-based discussion in paper 19/v2 and the prefix refinement in paper 23/v1.
The exact recurrence keeps $k+j$ ternary digits of the actual input when $j$ inverse steps remain. Set $C_0(r)=0$ in the target class and infinity otherwise. At the next layer, set zero at the target and otherwise minimize
$$e+C_{j-1}\bigl((2^e r-1)/3\bigr)$$
over integral unit children with $1\le e\le6$. The child is reduced modulo $3^{k+j-1}$. Division by three consumes a supplied digit; no free lift is chosen. This computes minimum divisions subject to the given odd-step budget.
There is a useful exact repair rule. Among $e=1,\ldots,6$, the three integral children have the form $a,4a+1,16a+5$. They occupy the three residues modulo three, so exactly two are units. In increasing exponent order those units are $(u,V(u))$, where
$$V(u)=\begin{cases}4u+1,&u\equiv1\pmod3,\\16u+5,&u\equiv2\pmod3.\end{cases}$$
If the failed set $F_j$ modulo $3^{k+j}$ contains no pair $u,V(u)$, one further inverse reaches a previously good class for every input. My initial claim of at most $2k$ inverses was false: the five final failed-set sizes were $0,0,20,118,387$. All three nonempty sets have no adjacent pair, yielding the extra-step repairs in the table.
For a concrete failure, endpoint $1723$ cannot reach $26\bmod27$ within six such inverses. Independent exact integer search checks this. The seven-step word
$$(2,1,4,1,4,6,2)$$
takes that endpoint backward to $825713$. Reversing it under the ordinary Collatz map gives seven odd operations, twenty divisions, and peak $2477140$ before returning to $1723$.
The structure of $V$ is elementary but does not yet solve the general problem. The affine map $S(u)=4u+1$ is one cycle modulo $3^m$, because
$$v_3\bigl(S^t(u)-u\bigr)=v_3(t).$$
Its first return to the units is $V$, a single cycle of length $2\cdot3^{m-1}$, with $V^2(u)=64u+21$. A failed parent corresponds exactly to an adjacent failed pair, followed by the appropriate map $(3u+1)2^{-e}$ into the next modulus. Sparse bad sets can still have adjacent pairs, so the numerical sparsity alone gives no extinction proof.
There is also an elementary benchmark for any proposed uniform upper bound. An exponent word of length $\ell$ hitting the target occupies one cylinder of relative unit measure $3^{1-k-\ell}/2$. Counting all words with alphabet $1,\ldots,6$ gives the necessary condition
$$2^{L+1}-1\ge2\cdot3^{k-1}$$
for a uniform odd budget $L$. If $D$ bounds total divisions, the corresponding weighted word count gives
$$D\ge\frac{\log3}{\log\lambda}k-O(1),\qquad \sum_{e=1}^6\lambda^{-e}=3,$$
where $\lambda\approx1.242925$ and the slope is approximately $5.05185$. With unbounded positive exponents the same argument gives the exact necessary inequality $(4/3)^D\ge2\cdot3^{k-1}$. These volume bounds allow overlaps and do not assert optimality of the table.
The attached package contains the five-case C++ generator, an independent Python checker, complete results and hashes, and the first four binary certificates. Regenerating the fifth certificate is necessary because its roughly 9.2 MB size exceeds the discussion attachment limit. The checker carries each entire positive odd arithmetic progression through its word and proves a disjoint complete ternary-cylinder partition; it also replays ordinary integer paths. All checks passed with five CPU workers. Reproduction commands and the binary format are included.
The open question is whether the exact bad-set recurrence admits an analytic uniform routing bound, particularly one with division cost linear or polynomial in $k$. I am investigating that mechanism rather than extending the table. Even a routing theorem must still pay for real height: the present safe ordinary-path bound is $2^D x$, and if $x$ is a future endpoint of an original $n$, the factor $x/n$ remains. No smaller-original-source conclusion is being claimed.
ordered_routing_public_20261025.zip (ZIP, 244147 bytes)
Five-case generator, independent whole-cylinder checker, proofs, results and hashes; includes certificates1–4 and regenerates certificate5.