This is a Lean formalization of an explicit positive-density theorem for Collatz convergence in logarithmic time, refining Lech Mazur's Theorem 1.1.
- For every
N ≥ 2^2^2^2^87640, at least a fraction1/2^2^2^87640of then < Nreach1within⌊10.46 log n⌋Collatz steps. - For every
N ≥ 2^2^2^2^87640, at least a fraction1/2^2^2^87640of then < Nare odd and reach1within⌊10.46 log n⌋Collatz steps and within⌊3.4881 log n⌋accelerated Collatz steps. - For every
scoprime to6and everyN ≥ 2^(s^3 · 2^2^2^87640), at least a fraction1/(s^4 · 2^2^2^87640)of then < Nare odd and reachswithin⌊10.46 log(n/s)⌋Collatz steps and within⌊3.4881 log(n/s)⌋accelerated Collatz steps. - For every
tnot divisible by3and everyN ≥ 2^(t^3 · 2^2^2^87640), at least a fraction1/(t^4 · 2^2^2^87640)of then < Nare odd and reachtwithin⌊10.46 log(n/t)⌋Collatz steps and reach the odd part oftwithin⌊3.4881 log(n/t)⌋accelerated Collatz steps.
See §Formal Challenge for a formal certificate.
This depends on Mathlib.
A formal challenge file certifying that this repository does formalize the results claimed above is located at Challenge/Basic.lean. This file only depends on Mathlib. It contains formal statements of §Main Results with sorry as proof.
This repository can be verified against the formal challenge with the Lean comparator on a Linux machine. First, follow the instructions in https://github.com/leanprover/comparator to install comparator. Then, run the following command:
lake env comparator Comparator/comparator.json
This repository has been locally verified with the comparator.