The Syracuse step size is determined by the input mod 8
ProvedCollatzFrontier.syracuse_mod8_valuation_classificationFor odd n, v₂(3n+1) is exactly 1 when n ≡ 3 or 7 mod 8, exactly 2 when n ≡ 1 mod 8, and at least 3 when n ≡ 5 mod 8. Accordingly the Syracuse step is (3n+1)/2, (3n+1)/4, or at most (3n+1)/8. This refines the mod-4 ascent/descent classification to exact step sizes.
Preamble
import Mathlib import Definitions.Def_syracuseStep open Nat set_option autoImplicit false set_option maxHeartbeats 0
Formal statement
namespace CollatzFrontier
/-- Exact two-adic valuation of `3n+1` for odd `n` by `n mod 8`, with the corresponding bounds on the Syracuse step. Structural arithmetic; no enumeration. -/
theorem syracuse_mod8_valuation_classification (n : ℕ) (hnodd : Odd n) :
((3 * n + 1).factorization 2 = 1 ↔ (n % 8 = 3 ∨ n % 8 = 7)) ∧
((3 * n + 1).factorization 2 = 2 ↔ n % 8 = 1) ∧
(3 ≤ (3 * n + 1).factorization 2 ↔ n % 8 = 5) ∧
((n % 8 = 3 ∨ n % 8 = 7) → syracuseStep n = (3 * n + 1) / 2) ∧
(n % 8 = 1 → syracuseStep n = (3 * n + 1) / 4) ∧
(n % 8 = 5 → syracuseStep n ≤ (3 * n + 1) / 8) := by sorry
end CollatzFrontier
Source
Structural refinement of the two-adic valuation analysis of 3n+1.