An Automated Approach to the Collatz Conjecture

Emre Yolcu,Scott Aaronson,Marijn J.H. Heule
DOI: https://doi.org/10.48550/arXiv.2105.14697
2023-01-01
Abstract:We explore the Collatz conjecture and its variants through the lens of termination of string rewriting. We construct a rewriting system that simulates the iterated application of the Collatz function on strings corresponding to mixed binary-ternary representations of positive integers. We prove that the termination of this rewriting system is equivalent to the Collatz conjecture. We also prove that a previously studied rewriting system that simulates the Collatz function using unary representations does not admit termination proofs via natural matrix interpretations, even when used in conjunction with dependency pairs. To show the feasibility of our approach in proving mathematically interesting statements, we implement a minimal termination prover that uses natural/arctic matrix interpretations and we find automated proofs of nontrivial weakenings of the Collatz conjecture. Although we do not succeed in proving the Collatz conjecture, we believe that the ideas here represent an interesting new approach.
Logic in Computer Science
What problem does this paper attempt to address?
The problem that this paper attempts to solve is about the automated proof method of the **Collatz conjecture**. Specifically, the authors explored simulating the application of the Collatz function through string rewriting systems and studied whether the termination of these systems can be used to prove the Collatz conjecture. The main contributions of the paper are as follows: 1. **Constructed a rewriting system**: This system can simulate the iterative application of the Collatz function on positive integers in a mixed binary - ternary representation. The paper proved that the termination of this rewriting system is equivalent to the establishment of the Collatz conjecture. 2. **Proved that some systems cannot prove termination through natural matrix interpretations**: In particular, for a rewriting system that simulates the Collatz function using unary representations, the paper proved that even when combined with the dependency pairs technique, it is impossible to prove its termination through natural matrix interpretations. 3. **Showed that non - unary representation systems are more suitable for automated methods**: Compared with the commonly used unary representation, the rewriting system using non - unary representation is easier to analyze and prove by automated methods. 4. **Automatically proved some weakened versions of the Collatz conjecture**: Although the Collatz conjecture has not been fully proven, the authors successfully found automated proofs of some weakened versions of the Collatz conjecture by implementing a minimal termination prover. In some of these proofs, relatively large matrices (such as 5 - dimensional matrices) are required, indicating that existing termination tools may require more resources to handle more complex problems. 5. **Observed the impact of heuristics in modern SAT solvers on performance**: The authors found that the phase - saving heuristic algorithm used by default in modern SAT solvers will reduce the performance of the solver in some cases, while using negative branching can improve performance. Overall, this paper proposes a new automated method based on string rewriting systems to explore the Collatz conjecture and its variants. Although it has not finally proven the Collatz conjecture, it provides new ideas and technical means for future automated proofs.