An Automated Approach to the Collatz Conjecture

Emre Yolcu, Scott Aaronson, Marijn J. H. Heule
5/31/2021
cs.LO

Official code: emreyolcu/rewriting-collatz (14 stars, Python, last commit 2023-10-07).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

An automated approach to the Collatz conjecture

140Python, ShellMay 26, 20213 years ago

Similar Papers

Cite this paper

@article{yolcu2021automated,
  title  = {An Automated Approach to the Collatz Conjecture},
  author = {Emre Yolcu and Scott Aaronson and Marijn J. H. Heule},
  year   = {2021},
  eprint = {2105.14697},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14697}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.14697.svg)](https://codeofpaper.com/paper/2105.14697)

Discussion