From glued grid system to no cycle to boundedness to always 1

Hello everyone, I decided to create a dedicate post of my distance base system, in order to not pollute other’s people contribution.

With the distance base framework, one might think its help to “proove” (big word) the Collatz conjecture. Can you help me prooving this is wrong (by experience, it’s always wrong at some point, but if it’s correct, I won’t complain) ?

Sorry in advance if it’s total non sense and I lose your time.

Collatz via a glued grid and a min–mean seam certificate: from No-Cycle to Reaches 1

Two-part roadmap (what you’re about to read)

  1. Part I — No-cycle via the glued grid. We build a glued grid made of atomic moves (half-blocks and seams) and prove an exact simulation of each odd Collatz step. The grid potential \Psi increases at every atomic move, so non-trivial directed cycles cannot exist.
  2. Part II — Global min–mean certificate (boundedness, then 1). On the finite seam automaton \Sigma_b (mod 3^b ) each seam carries weight w=\log_{2}(3)-\kappa .
    We prove for all b the exact min–mean value \mu^\ast=\log_{2}(3)-2 (with \log_{2}(3)-2\in(-1,0) ), then a short block inequality shows trajectories cannot diverge.
    With “no-cycle” from Part I, every odd trajectory must settle at the unique fixed point y=1 .

What’s new / why it matters

  • Exact, not heuristic. The simulation is algebraic (no averaging); the min–mean value is proved by an explicit \kappa=2 self-loop at r\equiv -1\pmod{3^b} , independent of b .
  • Clean cancellation. The block estimate combines \mu^\ast with the tiny correction \delta(y) so the apparent growth cancels, leaving a non-positive drift; this kills divergence without any probabilistic assumption.
  • Elementary and checkable. All steps reduce to short identities on residues mod 3^b and a telescoping inequality on paths.

How to read

  • Skim Part I for the grid picture and the idea of “atomic” seams ⇒ no cycles.
  • Then Part II for the automaton, the value \mu^\ast=\log_{2}(3)-2 , and the block inequality ⇒ no divergence ⇒ reach 1.

Part I — A Two-Step Simulation and a Simple Lyapunov: No odd-only Collatz cycles

TL;DR. One odd-only Collatz step

T(y)=\frac{3y+1}{2^{\nu_2(3y+1)}}

is simulated by exactly two moves in a tiny directed graph indexed by a “distance” D=\frac{y+1}{2} . We then exhibit a simple Lyapunov \Psi that increases on every simulated step. Since a strictly increasing Lyapunov forbids directed loops, there can be no non-trivial cycles in the odd-only map. (This part is a complete, elementary proof of “no cycles”; it does not by itself prove full convergence.)

1) Setting and notation

  • We work with the odd-only (accelerated) map:
    T(y)=\frac{3y+1}{2^{\nu_2(3y+1)}},\qquad y\in\mathbb Z_{>0}\ \text{odd},
    where \nu_2(n) is the exponent of 2 dividing n .
  • Introduce the distance re-labeling (bijection odd ↔ positive):
    \psi(y)=\frac{y+1}{2}\quad\Rightarrow\quad y=2D-1\ \text{with}\ D=\psi(y).
  • Define oddization \mathrm{oddize}(n)=\frac{n}{2^{\nu_2(n)}} .

2) The tiny move graph (two move types)

For each row D\ge 1 we use two node types: L(D) the left rim and M(D) the pivot.
Allowed atomic moves:

  1. LH (left half): L(D)\to M(D) .
  2. SEAM (distance-aware): from M(D) jump to the left rim of
\Sigma(D)=\frac{\mathrm{oddize}(3D-1)+1}{2}\in\mathbb Z_{\ge 1},

i.e. M(D)\to L(\Sigma(D)) .

We project odd y to the graph by \Pi(y)=L(\psi(y))=L(D) .

3) Exact two-step simulation lemma

Lemma (two-step simulation). For every odd y>0 , with D=\frac{y+1}{2} ,

T(y)=\mathrm{oddize}(3D-1),\qquad \psi\!\big(T(y)\big)=\Sigma(D),

hence

\Pi\!\big(T(y)\big)=\mathrm{SEAM}\!\big(\mathrm{LH}(\Pi(y))\big).

In words: one odd-only step equals LH + SEAM.

Proof. Write y=2D-1 . Then 3y+1=6D-2=2(3D-1) , so
T(y)=\mathrm{oddize}(3D-1) and
\psi(T(y))=\frac{\mathrm{oddize}(3D-1)+1}{2}=\Sigma(D) .

4) A simple Lyapunov rising on every simulated step

Define

\Psi=\sum(\text{half-block lengths used})-2\times(\#\text{seams}),

with choices so that \Delta\Psi(\mathrm{LH\ on\ row}\ D)=D+2>0 and \Delta\Psi(\mathrm{SEAM})=-2 .
Then for each simulated step (LH + SEAM):

\Delta\Psi=(D+2)-2=D\ge 1.

Thus every non-empty path increases \Psi strictly ⇒ the move graph has no directed loop induced by the dynamics.

5) “No cycles” theorem (odd-only Collatz)

Assume a non-trivial odd-only cycle y_0\to\cdots\to y_{m-1}\to y_0 .
Simulating each edge produces a directed loop; but \Psi increases by at least 1 per simulated step, contradiction.
Therefore, the odd-only map T has no non-trivial cycles. The only fixed point is 1 (since T(1)=1 ).

6) What this does (and does not) prove

  • Proved here: no cycles in the odd-only map (so no non-trivial 4\!\to\!2\!\to\!1-like cycles classically).
  • Still needed for full Collatz: (i) no divergence (global boundedness), (ii) reach 1.
    We’ll get these in Part II via a finite residue certificate.

7) Minimal algebra checker (optional)

def nu2(n: int) -> int:
    c = 0
    while n % 2 == 0:
        n //= 2
        c += 1
    return c

def oddize(n: int) -> int:
    return n // (1 << nu2(n))

def T_odd(y: int) -> int:
    assert y > 0 and (y % 2 == 1)
    return oddize(3*y + 1)

def Sigma(D: int) -> int:
    return (oddize(3*D - 1) + 1) // 2

for y in range(1, 1000, 2):
    D = (y + 1)//2
    assert T_odd(y) == oddize(3*D - 1)
    assert (T_odd(y) + 1)//2 == Sigma(D)

Part II — The seam automaton and a global min–mean bound: boundedness ⇒ reaches 1

Abstract. We model odd steps in a glued grid where an odd step of valuation k=\nu_{2}(3y+1) is simulated by seams whose types \kappa\in{1,2} sum to k , plus half-blocks.
On the finite seam automaton \Sigma_b (mod 3^b ), each seam carries weight w=\log_{2}(3)-\kappa .
We prove, for all b\ge 1 , that the min–mean value is exactly

μ∗(b)=log⁡2(3)−2 (<0) ,
\mu^\ast(b)=\log_{2}(3)-2\ (<0),
μ∗(b)=log2​(3)−2 (<0),

by exhibiting a \kappa=2 self-loop at r\equiv -1\pmod{3^b} .
A short block inequality then shows trajectories cannot diverge; together with the strict Lyapunov from Part I (no cycles), the dynamics must reach the unique odd fixed point y=1 .

0) Odd-only map and the glued grid

We use T(y)=\frac{3y+1}{2^{\nu_{2}(3y+1)}} with y odd and \nu_{2}(3y+1)\ge 1 .
Each odd step is simulated in the glued grid by half-blocks and seams; each atomic move increases the grid potential \Psi by 1 . Rows are glued without gaps, with a consistent +2 horizontal shift per row, and a right-pivot seam rule. No special case is needed at “distance 0”. The unique odd fixed point is y=1 .

A) Exact simulation bookkeeping

For a single odd step y\mapsto T(y)=(3y+1)/2^{k} , k=\nu_{2}(3y+1) :

  • Seam types. Each seam has \kappa\in{1,2} , meaning it removes a factor 2^{\kappa} from 3y+1 en route to oddization.
  • Exact k -budget. If the simulation uses S seams, then \sum \kappa = k .
  • How many seams? \lceil k/2\rceil \le S \le k .
  • Atomic cost. Since every seam is one atomic move, \Delta\Psi \ge S \ge \lceil k/2\rceil \ge 1 .
  • Size split. \Delta \log_{2} y = \log_{2}\!\big(\frac{3y+1}{2^{k}y}\big) = (\log_{2} 3 - k) + \delta(y) , where \delta(y):=\log_{2}\!\big(1+\frac{1}{3y}\big)\in (0,\log_{2}(4/3)] .

3) The seam automaton \Sigma_b (mod 3^{b} )

Construction. Nodes are residues r \pmod{3^{b}} .
A seam of type \kappa \in \{1,2\} maps

r \longmapsto r' \equiv (3r-1)\cdot (2^{\kappa})^{-1} \pmod{3^{b}},

and carries weight

w(r \to r') = \log_{2}(3) - \kappa.

3.1 Edge weights w=\log_{2}(3)-\kappa

Seams are the only weighted moves in \Sigma_b . Half-blocks live in the glued grid but do not appear in \Sigma_b .

3.2 Lemma (exact min–mean for all b\ge 1 )

\mu^{\ast}(b) = \min_{\gamma \in C(\Sigma_b)} \frac{1}{|\gamma|}\sum_{e\in\gamma} w(e) = \log_{2}(3) - 2 \in (-1,0).

Proof. Since 2 is invertible mod 3^{b} , at r \equiv -1 \pmod{3^{b}} we get

r' \equiv (3r-1)\cdot(2^{2})^{-1} \equiv (-4)\cdot 4^{-1} \equiv -1 \pmod{3^{b}},

so there is a \kappa=2 self-loop of weight \log_{2}(3)-2 , hence \mu^\ast \le \log_{2}(3)-2 .
All edges have weights in \{\log_{2}(3)-1,\ \log_{2}(3)-2\} , so \mu^\ast \ge \log_{2}(3)-2 . Equality follows.

3.3 Dual potential and the path inequality

With the dual potential h \equiv 0 , for any path we have

\sum_{j=1}^{L}\bigl( w(e_j) - \mu^\ast \bigr) \ge 0.

4) The block inequality (no divergence)

Consider a block of m odd steps y_{0}\to\cdots\to y_{m} , with k_i=\nu_{2}(3y_i+1)\ge 1 and \delta_i=\log_{2}\!\bigl(1+\frac{1}{3y_i}\bigr) .
Let S be the total number of seams used by the glued-grid simulation across these m steps.
By additivity, \sum_{i=0}^{m-1} k_i = \sum_{\text{seams}} \kappa .

Summing size variations,

\sum_{i=0}^{m-1}\Delta\log_{2} y_i = \sum_{i=0}^{m-1}(\log_{2}3 - k_i) + \sum_{i=0}^{m-1}\delta_i.

Summing seam weights and using \mu^\ast=\log_{2}(3)-2 :

\sum_{\text{seams}} w = S\log_{2}3 - \sum \kappa \ \ge\ \mu^\ast S = (\log_{2}3 - 2)\,S \ \Rightarrow\ \sum_{i=0}^{m-1} k_i \le 2S.

Hence

\sum_{i=0}^{m-1}\Delta\log_{2} y_i \ \le\ m\log_{2}3 - 2S + m\log_{2}(4/3) \ =\ 2m - 2S.

Each odd step has at least one seam, so S \ge m , thus

\sum_{i=0}^{m-1}\Delta\log_{2} y_i \le 0 \quad\Rightarrow\quad \log_{2} y_m \le \log_{2} y_0 \ \text{for all } m.

No trajectory can diverge.

Why the cancellation is exact.
\mu^\ast+\log_{2}(4/3)=\log_{2}(3)-2+\log_{2}(4/3)=\log_{2}(4)-2=0 .
Then S\ge m kills the residual growth.

5) Endgame: bounded + no cycles ⇒ y=1

  • Part I gives no non-trivial cycles.
  • The block inequality gives boundedness above.
  • A deterministic map on a finite set eventually cycles; with no non-trivial cycles, it must reach the unique odd fixed point.

Solve T(y)=y with odd y : 2^{k}y=3y+1\Rightarrow(2^{k}-3)y=1 .
The only solution is y=1 with k=2 .
Therefore every odd-only trajectory reaches 1 ; including even steps gives the full Collatz conclusion.

6) FAQ (brief)

  • Does \mu^\ast use raw \Delta\log_{2} y ?
    No. It certifies seam weights w=\log_{2}(3)-\kappa via duality. The small \delta(y) is bounded and handled in the block sum.
  • At least one seam per odd step?
    Yes: k=\nu_{2}(3y+1)\ge 1 , so the simulation removes at least one factor of 2.
  • Why does a finite-graph certificate control infinite trajectories?
    By the dual path inequality (Sec. 3.3): \sum(w-\mu^\ast)\ge -\Delta h . With h\equiv 0 , \Delta h=0 , so the bound holds for paths of any length.
  • Any special rule at “distance 0”?
    No. We never rely on a “double at 0” artifact. The only relevant odd fixed point is y=1 .

Acknowledgments. This synthesis couples a geometric glued-grid model (no gaps, +2 row shift, seam pivots) with a global min–mean seam certificate and a clean block Lyapunov inequality. The min–mean value \mu^\ast=\log_{2}(3)-2 is algebraic and independent of b ; computations for b\in[9,14] simply confirm the algebra.

Here goes a version 2, the no-cycle in part one was circular.
It might be a little bit less wrong :wink:

Collatz via a glued grid + a min–mean dual certificate: from No-Cycle to Reaches 1

Version note (v2).

  • What changed since v1: the “no-cycle” part no longer relies on a node potential \Psi on the glued grid. It is derived directly from a dual certificate h on the finite seam automaton with augmented weights and \mu_{\mathrm{aug}}<0.
  • Why this matters: the proof is now non-circular and fully rigorous: the glued grid remains the modeling lens (exact two-move simulation), while the min–mean duality provides both boundedness and no odd cycle, hence reaches 1.

TL;DR

  • Exact simulation. One odd Collatz step is simulated by LH + SEAM on a “glued grid” indexed by the distance D=(y+1)/2. This is an algebraic identity (no averaging).
  • Augmented seam automaton. On the finite automaton \Sigma_b (mod 3^b), each seam r\to r' of type \kappa\in\{1,2\} gets an augmented weight
    w_{\mathrm{aug}}(r\to r')=\log_2(3)-\kappa+\delta(r),\quad \delta(r)=\log_2\!\Bigl(1+\tfrac{1}{3y_{\min}(r)}\Bigr).
    We prove for all b\ge1 that
    \mu_{\mathrm{aug}}(b)\ \le\ \log_2(5/6)\ <\ 0.
  • Dual certificate h. By min–mean duality, there exists h on residues with
    h(r')-h(r)\ \le\ w_{\mathrm{aug}}(r\to r')-\mu_{\mathrm{aug}}(b).
    Summing along any path gives a block inequality for \sum\Delta\log_2 y.
  • No odd cycle (key). On a cycle, \Delta h=0 and \sum\Delta\log_2 y=0 but the block inequality forces 0\le \mu_{\mathrm{aug}}(b)\,S<0, contradiction.
  • Bounded ⇒ reaches 1. The same block inequality yields global boundedness; with no odd cycles and the unique odd fixed point y=1, every trajectory reaches 1.

Part I — Exact two-move simulation on a glued grid (intuition, not needed for the proof core)

Write y=2D-1 with D=\psi(y)=(y+1)/2. Define \mathrm{oddize}(n)=n/2^{\nu_2(n)} and

\Sigma(D)=\frac{\mathrm{oddize}(3D-1)+1}{2}.

Lemma (two-move simulation). For every odd y>0,

T(y)=\mathrm{oddize}(3D-1),\qquad \psi\bigl(T(y)\bigr)=\Sigma(D),

so one odd step equals LH: L(D)\to M(D) then SEAM: M(D)\to L(\Sigma(D)).

Takeaway. The glued grid is a faithful, algebraic way to factor each odd step into two atomic moves. We’ll use it only as a bookkeeping lens; the proof of no-cycle will come from the automaton’s dual certificate.


Part II — Augmented seam automaton, dual certificate, and block inequality

Automaton. Nodes are residues r mod 3^b. Seams (types \kappa=1,2) do

r\mapsto r' \equiv (3r-1)\,(2^\kappa)^{-1}\pmod{3^b}.

Augmented weights.

w_{\mathrm{aug}}(r\to r')=\underbrace{\bigl(\log_2(3)-\kappa\bigr)}_{\text{main}} +\underbrace{\delta(r)}_{\text{local}},\quad \delta(r)=\log_2\!\Bigl(1+\tfrac{1}{3y_{\min}(r)}\Bigr).

For an odd step y_i\mapsto y_{i+1} with residue r_i\equiv\psi(y_i)\ (\bmod\,3^b), we have

\delta(y_i)=\log_2\!\Bigl(1+\tfrac{1}{3y_i}\Bigr)\ \le\ \delta(r_i).

Lemma (uniform negativity). For all b\ge1,

\mu_{\mathrm{aug}}(b)\ \le\ \log_2(5/6)\ <\ 0.

Reason: at r\equiv -1 (mod 3^b) there is a \kappa=2 self-loop; with y_{\min}(-1)\ge3 we get \delta(-1)\le\log_2(10/9), so w_{\mathrm{aug}}\le \log_2(3)-2+\log_2(10/9)=\log_2(5/6).

Dual inequality (Bellman). There exists h on residues such that for every seam r\to r',

h(r')-h(r)\ \le\ w_{\mathrm{aug}}(r\to r')-\mu_{\mathrm{aug}}(b).

Block inequality (odd steps). For a block of m odd steps simulated by S seams,

\sum_{i=0}^{m-1}\Delta\log_2 y_i\ \le\ \mu_{\mathrm{aug}}(b)\,S\ -\ \Delta h \ \le\ \mu_{\mathrm{aug}}(b)\,m\ +\ \operatorname{osc}(h),

since S\ge m and \operatorname{osc}(h)=\max h-\min h.


The two theorems

Theorem (No odd cycle).
If a non-trivial odd cycle existed, then \sum\Delta\log_2 y_i=0 and \Delta h=0; the block inequality would give 0\le \mu_{\mathrm{aug}}(b)\,S<0, a contradiction.
\Rightarrow No odd-only cycles exist.

Theorem (Convergence).
The block inequality gives boundedness; a deterministic map on a finite set must eventually cycle; with no non-trivial odd cycles and the unique odd fixed point y=1, every odd trajectory reaches 1. That yields the full Collatz conclusion.


script i can provide if you considere this is interesting

Reproducibility (certificate = witness, not an assumption)

You can extract an integer dyadic certificate h (scale 2^Q) from an augmented CSV with columns src,dst,kappa,delta,w_raw,w_aug:

# Extract h and μ from the augmented automaton (example: b=9)
python code/dual_bellman_ford_certificate.py data/sigma_b9_aug.csv \
  --b 9 --scale 48 --out data/h_b9_bf.json

# Independent check of all dual inequalities
python code/quick_dual_check_from_aug.py data/sigma_b9_aug.csv data/h_b9_bf.json
# -> OK

If what proceeds were to be true, maybe that would also be true :

\textbf{Flight-time bounds (odd-only; reach the threshold }Y^\star\textbf{)}

\textbf{Upper bound (rigorous, augmented min–mean + dual):}
\qquad m(y_0;Y^\star) \;\le\; \left\lceil \dfrac{\log_2\!\big(y_0/Y^\star\big) + \operatorname{osc}(h)}{\varepsilon} \right\rceil,

\text{with }\ \varepsilon := -\,\mu^{\ast}_{\mathrm{aug}}(b) > 0,\quad \operatorname{osc}(h):=\max h-\min h.

\text{In particular, if } h \equiv 0\text{:}\quad m(y_0;Y^\star) \;\le\; \left\lceil \dfrac{\log_2\!\big(y_0/Y^\star\big)}{\varepsilon} \right\rceil.

\textbf{Lower bound (conditional, bounded valuations):}
\text{If } k_i:=\nu_2(3y_i+1)\le K \ \text{ for every odd step } i,\ \text{ then }
\qquad m(y_0;Y^\star) \;\ge\; \left\lceil \dfrac{\log_2\!\big(y_0/Y^\star\big)}{\,K-\log_2 3\,} \right\rceil.

\text{(Requires } K>\log_2 3\approx 1.585\text{; typically }K\ge 2\text{.)}

\textbf{Notes.}
\bullet\ m(y_0;Y^\star) \text{ is the number of odd steps needed to reach } \le Y^\star \text{ from } y_0.
\bullet\ \delta_i:=\log_2\!\big(1+\tfrac{1}{3y_i}\big)\in(0,\log_2(4/3)]\ \text{is handled by the augmentation; ignoring } \delta_i \text{ only strengthens the lower bound.}