Collatz steps divide out a factor
Provedcollatz_iterate_halvingdynamical-systemsiterationnumber-theorystopping-time
Let be the Collatz step map. If divides , then the first steps of the Collatz orbit of are all halvings, and together they divide out the whole factor:
The content is that divisibility by propagates: if then is even, so the first step is a halving, and the result is divisible by , so the induction continues. No positivity hypothesis is needed, since gives on both sides.
The lemma is the exact bridge between the classical Collatz map and the accelerated map: writing with odd, it says that the run of halvings following an ascending step is executed in one identity rather than step by step.
Preamble
import Mathlib import Definitions.Def_collatzStepMap
Formal statement
theorem collatz_iterate_halving (k x : ℕ) (h : 2 ^ k ∣ x) :
collatzStep^[k] x = x / 2 ^ k := by
sorrySource