PRH | Aux | 4.3.4 • Collatz Proof Verification: Isabelle/HOL
Authors/Creators
Description
This note gives a fully explicit, lemma-by-lemma specification of the Lyapunov-certificate method for the accelerated Collatz map. It is arranged to be directly transcribed into a prover Isabelle/HOL and avoids hidden assumptions. The only external finite input we assume is a verified residue certificate (for $k=13$, a set of $2^{12}=4096$ linear inequalities). We enforce a strict, conservative policy on the unique exceptional residue class $r^*$ : at $r^*$ we always take the minimal admissible valuation $v_2=k$ and the canonical successor $R_{\star}=\operatorname{odd}\left(3 r^*+1\right) \bmod 2^k$. Standard facts from elementary number theory are stated when used and referenced to standard sources. No results about global functional graphs or probabilistic heuristics are invoked. All related Isabelle/HOL theories, which cover the proof and beyond, are fully executable, and all sessions build cleanly in Isabelle (all proofs checked; everything green).
Files
Additional details
Related works
- Is obsoleted by
- Preprint: 10.5281/zenodo.18451967 (DOI)
- Is supplement to
- Preprint: 10.5281/zenodo.17240514 (DOI)
References
- G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th ed., Oxford Univ. Press, 2008
- K. Ireland and M. Rosen, A Classical Introduction to Modern Number Theory, 2nd ed., Springer GTM 84, 1990.
- J. C. Lagarias, "The 3x + 1 problem and its generalizations," American Mathematical Monthly 92 (1985), 3–23.
- R. Bellman, Dynamic Programming, Princeton Univ. Press, 1957.
- R. M. Karp, "A characterization of the minimum cycle mean in a digraph," Discrete Mathe- matics 23 (1978), 309–311.
- N. J. Higham, Accuracy and Stability of Numerical Algorithms, 2nd ed., SIAM, 2002.