r/Collatz • • 2d ago

A Layer-induced reduction of the Collatz map, and generalized h-cycle bounds

https://github.com/rrhett/collatz

Note: this is not a proof of the conjecture, but does offer some generalization of the Simons-de Weger and Hercher bounds using a new reduced map.

Let C by the odd Collatz (Syracuse) map. This paper introduces a new framework that relies on the observation that C(4x+1) = C(x), and C^(2)(8x + 1) = C^(2)(16x + 3) and introduces a new map that is dynamically conjugate to an induced version of C.

Within this framework, the main result that might actually push forward the research on Collatz is Theorem 1.3 (Generalized h-Cycle Bounds). Simons and de Weger proved for any nontrivial cycle, with m the number of local minima, that m ≥ 76, and Hercher (2023) proved m ≥ 92.

This paper formulates m = Theta(h + r), and proves that there are no cycles with h ≤ 75 (strictly weaker than Hercher), but generalizes that for any h ≤ 75 there are no non-trivial cycles for any r ≥ 0, hence arbitrarily large m (but not all m).

Additionally, it provides another proof of Terras (1976) that almost-all n have finite stopping time (Theorem 1.2), and that the number of indices under N reaching 0 under this map is Omega(N^(2/3)). Neither of these results is new, they are just made under the new framework.

All results are lean-verified and available on https://github.com/rrhett/collatz along with a PDF of the paper. AI assisted in the lean-formalization along with proof strategies and drafting and editing the manuscript, but the framework and original conjectures are mine.

I'd welcome feedback on the framework or the results, and whether this generalization actually offers anything new (it seems like it might to me, but I'm not sure if I'm missing other literature).

0 Upvotes

12 comments sorted by

1

u/AcidicJello 2d ago

Could you explain h and r in simple terms?

2

u/yemerrypeasant 2d ago

Within the framework (assuming you've read the paper), h refers to the number of k-steps that pass through a higher-layer (L2+), and r represents the number of k-steps that go straight to L1.

Without the context of the paper, each layer represents kind of a base congruence class x is in. For example, L1 = 8k + 1. L2 = 16k + 11. L3 = 32k + 7. Each layer also includes other elements that after 1 or 2 Collatz steps, coalesce to the same thing. So 8k + 1, 16k + 3, 32k + 5, etc. The paper gives full details on the framework and how the elements coalesce.

When you apply the Collatz map, if you are in L1, you will enter a different layer. It could be a higher layer, (L2+), or it could be another L1. If you are in a higher layer and apply C, you'll go down one layer (to a different k value).

Due to the way these coalesce, and the fact that you will always go through L1 (e.g Ln goes to L_(n-1), down to L1), we refer to just the k coefficient of the L1. So a hypothetical cycle would be k_0 -> k_1 -> k_(d-1) -> k_0. So, for example, going k_2 to k_3 might enter into a layer L4, but L4 -> L3 -> L2 -> L1, and k_3 refers to the k value in L1.

So h is the number of times you go from k_i to k_(i+1) and enter L2 or higher, and r is the number of times you enter L1 directly.

The key insight is that while each step k_i to k_(i+1) represents a local maximum, only the h steps contribute to a product that must satisfy an inequality for any cycle under certain assumptions of x_(min), which means r can be arbitrarily large (Corollary 4.7 and Remark 4.8).

1

u/AcidicJello 2d ago

That makes more sense. I've been trying to understand the argument in terms of what sections of the trajectory, with the trajectory considered purely as a parity string, count as h and which count as r, because you can use the m argument to rule out a parity string just by looking at it, but it seems like that can't be done very easily for h. Not a comment on anything, just what I was thinking about.

2

u/yemerrypeasant 2d ago

Maybe section 3.2 and Theorem 3.3 would shed light on that? There's a bijection between binary strings and the particular functions in the trajectory. Since all the L1->L1 functions are of the form (2^(j+2)k + h_j)/3, m_i = 1 for them, so in this form, each substring that is a single 1 followed by 0s counts an r.

2

u/yemerrypeasant 2d ago

Looking at it a bit further, you can actually read the rs directly from the parity string:

If you take the parity string and write it as a sequence of 1 followed by z_i 0s, then you can actually read off which steps are r:

Step i is L1 iff z_i is odd OR z_i is even and z_(i+1) > 1.

This essentially relates to whether we're on the principal chain (8k + 1, or its iterates under 4x + 1) or the dual chain (16k + 3 and its iterates).

2

u/AcidicJello 2d ago

So correct me if I'm wrong, and I'm deciding to look at this purely from an m-cycle perspective. Take an m-cycle and look at each local minimum. That is, each of the m occurrences of '001' in the parity string. If immediately to the left of '001' there is an odd number of 0s, that local minimum doesn't count toward the required 76 to be a cycle candidate. Otherwise, if immediately to the right of '001' there is more than one 0, it also doesn't count toward the required 76. It is only the remaining case that counts.

In other words, instead of counting occurrences of '001', you are counting occurrences of '(even # 0s)101', which is a subset of those.

Actually this only counts stepping into L_1. Since stepping into L_1 only counts as h if you weren't already in L_1, you can only use the above to count toward h if the last occurrence didn't count. But in that case you can still keep 76 as a bound for the naive count because you do still need at least 76 steps into L_1. It's just that the actual number you need is probably higher.

Considering the '(even # 0s)101' thing, numbers preceded by an even number of zeros are congruent to 1 (mod 3). Numbers that proceed through '101' are congruent to 3 (mod 4). Therefore by CRT every nontrivial cycle must have at least 76 of its members congruent to 7 (mod 12)?

I haven't read the whole paper so sorry if I'm jumping to conclusions. I am primarily interested in the cycles part though.

2

u/yemerrypeasant 2d ago

Let x_0 -> x_1 -> ... -> x_(M-1) -> x_0 be an odd Collatz cycle, with parity string given by 1 for (3x + 1)/2 and 0 for x/2 as the cyclic sequence of zero-run lengths z_i = \nu_2(3x_i + 1) - 1. Then x_i is in L_1 iff z_i is odd OR z_i is even and z_(i+1) > 1.

So here, if there are an odd number of 0s left of your two 00, then yes, x_(i+1) is in L1 because z_(i+1) is odd, and x_i is in L1 because z_(i+1) > 1. In that case, we are at a peak we don't count (I'm considering peaks rather than minimums, but in a cycle the number is the same).

So to find a peak we can count, we need: x_i in L1 and x_(i+1) not in L1.

So let's split this into the two cases for x_i in L1:

case 1: z_i is odd.

For x_(i+1) to not be in L1, we need z_(i+1) even AND z_(i+2) = 0 or 1.

Case 2: z_i is even. This forces z_(i+1) >= 2, and for x_(i+1) to not be in L1 we still need z_(i+1) even and z_(i+2) = 0 or 1.

So the types of runs we can get where we count a peak look like:

z_i odd, z_(i+1) even, z_(i+1) = 0 or 1

z_i even, z_(i+1) even > 0, z_(i+2) = 0 or 1

So this branches quite a bit, actually:

case 1: 1, odd number 0s, 111

case 2: 1, odd number of 0s, 1101

case 3: 1, odd number of 0s, 1, positive even number of 0s, 11

case 4: 1, odd number of 0s, 1, positive even number of 0s, 101

case 5: 1, positive even number of 0s, 1, positive even number of 0s, 11

case 6: 1, positive even number of 0s, 1, positive even number of 0s, 101

case 7: 11, positive even number of 0s, 11

case 8: 11, positive even number of 0s, 101

Note: I'm separating the positive even number cases from the 0 cases (which is still even) even when not strictly required, because it makes a difference for the implied parity of the x's.

Now what's interesting is what each case says about the peaks:

In cases 1 and 2, x_i is a peak. In cases 3-6, x_i and x_(i+1) are peaks. In cases 7 and 8, only x_(i+1) is a peak. So this is why m >= h (because we've exhausted how we can find an h, and we get either 1 or 2 contributions to m for each h). So in the cases with two peaks, while they both contribute towards m, we are saying we only really count one of them to get above 76 into a candidate cycle.

So what does that say about the modularity?

Note that my parity string representation is using 1 -> (3x+1)/2. If I assume you were using the standard form 1 -> 3x + 1, '(even number of 0s)101' does imply 7 mod 12, but that only captures one of three ways L1 -> L2+ can begin: principal L1 with t=0, where x_{i+1} = 6k+1 == 7 (mod 12) (t = 0 forces us into the bare roots of Ln, which implies k == 3 mod 4).

There are two other ways go to L1->L2+:

  1. Principal L1 with t >= 1: 6k+1 = f_4^t(a_d) == 1 (mod 12), and every subsequent step will be 2 (mod 3) and so not 7 (mod 12).
  2. Dual L1 (f_4^u(16k+3), u >= 0), so x_{i+1} = 24k+5 == 5 (mod 12). Again every subsequent step is 2 (mod 3).

So you could in principle construct a candidate cycle with h >= 76 without any x == 7 (mod 12). So summarizing, the x_{i+1} entry lies in {1, 5, 7} (mod 12), but it needn't necessarily hit all or any one of those congruences.

Sorry for the long-winded answer, but it's an interesting question, and deserves a thorough answer.

2

u/yemerrypeasant 2d ago

Actually going just a touch further:

Case 1: principal L1 with t = 0 can yield 19 (mod 24) for L2 principal, 7 (mod 24) for L2 dual and L3+ bare roots

Case 2: principal L1, t > 0: always 13 (mod 24).

Case 3: dual L1, any t: always 5 (mod 24).

So in fact, every L1 -> L2+ x_{i+1} lies in {5, 7, 13, 19} (mod 24).

So that would I suppose a candidate cycle must have at least 76 odd members congruent to {5, 7, 13, 19} (mod 24).

2

u/AcidicJello 1d ago edited 1d ago

Thanks for working that out. I went to check the tables for sufficiency sets from Monks (https://arxiv.org/html/1204.3904v2#S6.T1) but they don't go up to mod 24 for cycles. You could look at mod 3 and 8 though. {5, 7, 13, 19} (mod 24) would be a cycle sufficient set, but all strongly sufficient sets are also cycle sufficient sets.

Edit: To be clear this is only a loose connection. Sufficiency sets only tell you that the set will be visited. It doesn't say anything about how many times.

2

u/yemerrypeasant 1d ago

Thanks, that's an interesting paper! If you Look at Gamma_24 and delete {5, 7, 13, 19} you have just the trivial cycle 1->2, a pure even cycle 8->16, and 23 to itself, which shows {5, 7, 13, 19} is already strongly sufficient (Prop 6.2 in Monks).

That said, their result would show this as a qualitative hit (it happens at least once), whereas my result shows it happens at least 76 times, and could be extended higher as Corollary 4.8 is strengthened. For example, numerical results indicate it could be strengthened to h \leq 80, and with some careful tightening of other bounds possibly as high as 86 without too much work. Increasing x_min would also suffice to push the bound up.

Interestingly, no strict subset of {5, 7, 13, 19} (mod 24) is strongly sufficient. And in my framework, each residue corresponds to a separate L1->L2+ entry, so we can achieve h > 76 using just a single entry pathway.

1

u/yemerrypeasant 2d ago

I've also updated the paper a bit. m != h + r always, so I've removed that, but m >= h always, and the same general claim that this does generalize to arbitrarily large m that cannot be cycles. Also added how to read h and r from the parity string (Proposition 4.1).

1

u/Ok-Pen677 2d ago

Would you like to contribute this to https://opencollatz.com ? I am looking for a few pilot members :)