Generalized Collatz Function: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Polygon (talk | contribs)
Added category:functions
Turing Complete: Ref smallest known universal GCF
Line 14: Line 14:


== Turing Complete ==
== Turing Complete ==
Conway proved in 1972 that every Minsky machine, M, can be encoded into a GCF, g, such that for all n: M halts on input n iff g halts on input <math>2^{n+1}</math>.<ref name=":0" /> Kurtz and Simon proved in 2007 that the GCP is <math>\Pi_2^0</math>-complete.<ref name=":1" />
 
* Conway proved in 1972 that every Minsky machine, M, can be encoded into a GCF, g, such that for all n: M halts on input n iff g halts on input <math>2^{n+1}</math>.<ref name=":0" />
* Kurtz and Simon proved in 2007 that GCP is <math>\Pi_2^0</math>-complete.<ref name=":1" />
* Kascak proved in 1992 that there exists a Universal GCF with modulus 396.<ref>Frantisek Kascak. 1992. Small universal one-state linear operator algorithm. In: Havel, I.M., Koubek, V. (eds) Mathematical Foundations of Computer Science 1992. MFCS 1992. Lecture Notes in Computer Science, vol 629. Springer, Berlin, Heidelberg. [https://doi.org/10.1007/3-540-55808-X_31 doi:10.1007/3-540-55808-X_31]</ref> (Note: He calls them one-state linear operator algorithms (OLOA).)


== References ==
== References ==

Revision as of 19:31, 28 October 2025

A Generalized Collatz Function (GCF) is a function which naturally generalizes the classic Collatz function defined by Conway in his 1972 paper "Unpredictable iterations".[1] They are functions defined piecewise based upon the remainder of the input (modulo some value) where each case is an affine function. The behavior of GCFs is Turing compete. Many Busy Beaver champions and Cryptids simulate GCFs and more general Collatz-like functions.

Definition

An m-case GCF is a piecewise-defined function g::

g(n)={a0n+b0if n0(modm)a1n+b1if n1(modm)am1n+bm1if nm1(modm)

We say that g halts on input n if there exists a k such that gk(n)=1. A Generalized Collatz Problem (GCP) is the "mortality problem" for a GCF. In other words, it is the question: For a specific GCF g, does it halt (eventually reach 1) on all inputs.[2]

Turing Complete

  • Conway proved in 1972 that every Minsky machine, M, can be encoded into a GCF, g, such that for all n: M halts on input n iff g halts on input 2n+1.[1]
  • Kurtz and Simon proved in 2007 that GCP is Π20-complete.[2]
  • Kascak proved in 1992 that there exists a Universal GCF with modulus 396.[3] (Note: He calls them one-state linear operator algorithms (OLOA).)

References

  1. 1.0 1.1 John. H. Conway. 1972. Unpredictable iterations. In Proc. 1972 Number Theory Conf., Univ. Colorado, Boulder, pages 49–52.
  2. 2.0 2.1 Stuart A. Kurtz and Janos Simon. 2007. The undecidability of the generalized Collatz problem. In Jin-Yi Cai, S. Barry Cooper, and Hong Zhu, editors, Theory and Applications of Models of Computation, 4th International Conference, TAMC 2007, Shanghai, China, May 22-25, 2007, volume 4484 of Lecture Notes in Computer Science, pages 542–553. Springer, 2007. doi:10.1007/978-3-540-72504-6_49
  3. Frantisek Kascak. 1992. Small universal one-state linear operator algorithm. In: Havel, I.M., Koubek, V. (eds) Mathematical Foundations of Computer Science 1992. MFCS 1992. Lecture Notes in Computer Science, vol 629. Springer, Berlin, Heidelberg. doi:10.1007/3-540-55808-X_31