collatzprefixverification

Computational verification of base-3 prefix class contraction for the Collatz map.

https://github.com/the-math-gremlin/collatzprefixverification

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.7%) to scientific vocabulary
Last synced: 8 months ago · JSON representation ·

Repository

Computational verification of base-3 prefix class contraction for the Collatz map.

Basic Info
  • Host: GitHub
  • Owner: the-math-gremlin
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 805 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 11 months ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

Collatz Prefix Verification

This repository contains the data and code used to verify the contraction of all base-3 prefix classes under the Collatz map, supporting the paper:

"From Infinite to Finite: A Proof of the Collatz Conjecture via Prefix Partition and Height Descent"
by Sadie A. Sherratt


📌 Overview

Every base-3 prefix of length 10 was tested for contraction under the modified Collatz map:

For each prefix r in the range [0, 3^10), the minimal representative n₀ = 3^10 × r was generated.

The Collatz map T(n) was defined as:

T(n) = n / 2 if n is even

T(n) = (3n + 1) / 2 if n is odd

Each trajectory was checked for one of the following outcomes:

A strict drop in the symbolic height function

Entry into the known terminal cycle {1, 2, 4}

No prefix failed to contract.


🔍 Purpose

This computational experiment supports the main theoretical claim of the paper:
Every ternary prefix class contracts in symbolic height, providing a finite partition of the natural numbers under the Collatz map and proving universal convergence.


⚙️ How to Use

  1. Make sure you have Python 3.10+ installed.
  2. Run the script:

python prefix_verification.py

  1. This will generate a new file prefix_summary.csv with the results of all 59,049 prefix class checks.

📂 Files

  • prefix_verification.py – Verifies symbolic height contraction for each prefix class.
  • prefix_summary.csv – Output: contraction type and stats for each prefix.
  • README.md – This file.
  • LICENSE.txt – MIT License.
  • citation.bib – BibTeX citation for the paper.

📖 Citation

If you use this code or data, please cite:

@misc{sherratt2025collatz, author = {Sadie A. Sherratt}, title = {From Infinite to Finite: A Proof of the Collatz Conjecture via Prefix Partition and Height Descent}, year = {2025}, note = {Preprint}, url = {https://sherrattmath.org/collatz-paper} }


📝 License

This project is licensed under the MIT License. See LICENSE.txt for full terms.


© 2025 Sadie A. Sherratt. All rights reserved.

Owner

  • Login: the-math-gremlin
  • Kind: user

Citation (citation.bib)

@misc{sherratt2025collatz,
  author = {Sadie A. Sherratt},
  title = {From Infinite to Finite: A Proof of the Collatz Conjecture via Prefix Partition and Height Descent},
  year = {2025},
  note = {Preprint},
  url = {https://sherrattmath.org/collatz-paper}
}

GitHub Events

Total
  • Watch event: 1
  • Push event: 4
  • Create event: 2
Last Year
  • Watch event: 1
  • Push event: 4
  • Create event: 2

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 5
  • Total Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
S. Sherratt s****t@g****m 5

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels