Syracuse preimages are exactly (2^v·m − 1)/3 with 2^v·m ≡ 1 mod 3
ProvedCollatzFrontier.syracuse_preimage_characterizationThe odd Syracuse preimages of an odd integer m are precisely the numbers (2^v m - 1)/3 where v > 0 and 2^v m ≡ 1 mod 3. Conversely, an odd n has odd image and satisfies the exact equation 2^v·T(n) = 3n+1 for v = v₂(3n+1) > 0. This is a structural characterization of the Collatz/Syracuse preimage tree.
Preamble
import Mathlib import Definitions.Def_syracuseStep open Nat set_option autoImplicit false set_option maxHeartbeats 0
Formal statement
namespace CollatzFrontier
/-- Structural description of the inverse Syracuse tree: for odd `m`, `n` maps to `m` exactly when `n = (2^v*m - 1)/3` for a positive `v` with `2^v*m ≡ 1 (mod 3)`; conversely every odd `n` yields an odd image and the exact factorisation identity. Pure arithmetic, no enumeration. -/
theorem syracuse_preimage_characterization :
(∀ m v : ℕ, Odd m → 0 < v → (2 ^ v * m) % 3 = 1 →
Odd ((2 ^ v * m - 1) / 3) ∧ syracuseStep ((2 ^ v * m - 1) / 3) = m) ∧
(∀ n : ℕ, Odd n →
Odd (syracuseStep n) ∧ ∃ v : ℕ, 0 < v ∧ 2 ^ v * syracuseStep n = 3 * n + 1) := by sorry
end CollatzFrontier
Source
Derived from Nat.ordProj_mul_ordCompl_eq_self and 2-adic valuation of 3n+1.