Specifying and Verifying the Convergence Stairs of the Collatz Program

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Ebnenasir, Ali
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911791475326976
author Ebnenasir, Ali
author_facet Ebnenasir, Ali
contents This paper presents an algorithmic method that, given a positive integer $j$, generates the $j$-th convergence stair containing all natural numbers from where the Collatz conjecture holds by exactly $j$ applications of the Collatz function. To this end, we present a novel formulation of the Collatz conjecture as a concurrent program, and provide the general case specification of the $j$-th convergence stair for any $j > 0$. The proposed specifications provide a layered and linearized orientation of Collatz numbers organized in an infinite set of infinite binary trees. To the best of our knowledge, this is the first time that such a general specification is provided, which can have significant applications in analyzing and testing the behaviors of complex non-linear systems. We have implemented this method as a software tool that generates the Collatz numbers of individual stairs. We also show that starting from any value in any convergence stair the conjecture holds. However, to prove the conjecture, one has to show that every natural number will appear in some stair; i.e., the union of all stairs is equal to the set of natural numbers, which remains an open problem.
format Preprint
id arxiv_https___arxiv_org_abs_2403_04777
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Specifying and Verifying the Convergence Stairs of the Collatz Program
Ebnenasir, Ali
Discrete Mathematics
Data Structures and Algorithms
Formal Languages and Automata Theory
D.3.1; F.3.1; F.2.2
This paper presents an algorithmic method that, given a positive integer $j$, generates the $j$-th convergence stair containing all natural numbers from where the Collatz conjecture holds by exactly $j$ applications of the Collatz function. To this end, we present a novel formulation of the Collatz conjecture as a concurrent program, and provide the general case specification of the $j$-th convergence stair for any $j > 0$. The proposed specifications provide a layered and linearized orientation of Collatz numbers organized in an infinite set of infinite binary trees. To the best of our knowledge, this is the first time that such a general specification is provided, which can have significant applications in analyzing and testing the behaviors of complex non-linear systems. We have implemented this method as a software tool that generates the Collatz numbers of individual stairs. We also show that starting from any value in any convergence stair the conjecture holds. However, to prove the conjecture, one has to show that every natural number will appear in some stair; i.e., the union of all stairs is equal to the set of natural numbers, which remains an open problem.
title Specifying and Verifying the Convergence Stairs of the Collatz Program
topic Discrete Mathematics
Data Structures and Algorithms
Formal Languages and Automata Theory
D.3.1; F.3.1; F.2.2
url https://arxiv.org/abs/2403.04777