Cycle extrema force mixed residues mod 4
ProvedCollatzFrontier.syracuse_cycle_extrema_mod_fourIn a nontrivial Syracuse cycle the smallest element is 3 mod 4 and any largest element is 1 mod 4. Consequently a nontrivial cycle must mix the two odd residue classes mod 4. The proof uses only the two-adic valuation classification of ascent/descent.
Preamble
import Mathlib import Definitions.Def_syracuseStep open Nat set_option autoImplicit false set_option maxHeartbeats 0
Formal statement
namespace CollatzFrontier
/-- In any nontrivial Syracuse cycle the minimum is `3 mod 4` and a maximum is `1 mod 4`; hence a nontrivial cycle cannot be supported on a single residue class mod 4. Structural, no case enumeration. -/
theorem syracuse_cycle_extrema_mod_four (m p j : ℕ) (hm : 0 < m) (hp : 0 < p) (hmodd : Odd m)
(hcyc : syracuseStep^[p] m = m)
(hmin : ∀ i : ℕ, m ≤ syracuseStep^[i] m) (hmne : m ≠ 1)
(hj : j < p) (hmax : ∀ i : ℕ, syracuseStep^[i] m ≤ syracuseStep^[j] m) :
m % 4 = 3 ∧ (syracuseStep^[j] m) % 4 = 1 := by sorry
end CollatzFrontier
Source
Corollary of CollatzFrontier.syracuse_ascent_mod_four_classification.