Residual mergers for 27 modulo 32 after two inverse runs along the ordinary orbit
Opencollatz_residual_twentyseven_mod_thirtytwo_after_two_inverse_runscollatzdynamical-systemsnumber-theory
Let be the ordinary Collatz map. Suppose satisfies , its residue modulo belongs to , and its residues modulo and differ from and , respectively. Assume every start that reaches one of in at most 16 steps is at least . Assume also that whenever , one has .
For nonnegative integers , write and . Whenever , define
Suppose every such choice gives . Prove that there nevertheless exist a positive integer and nonnegative integers for which .
Preamble
import Definitions.Def_collatzStepMap import Definitions.Def_collatzMinPreimage import Mathlib.Logic.Function.Iterate import Mathlib.Data.Nat.Factorization.Basic
Formal statement
theorem collatz_residual_twentyseven_mod_thirtytwo_after_two_inverse_runs (n : ℕ)
(hlarge : 2310000 ≤ n) (hclass : n % 32 = 27)
(hmod9 : n % 9 = 0 ∨ n % 9 = 1 ∨ n % 9 = 3 ∨ n % 9 = 6 ∨ n % 9 = 7)
(hpreimage : ∀ t : ℕ, t ≤ 128 → n ≤ collatzMinPreimage 16 (collatzStep^[t] n))
(h81 : n % 81 ≠ 10)
(h9216 : n % 9216 ≠ 1563)
(havoid : ∀ a m : ℕ, 3 * 2 ^ (a + m) ≤ 3 ^ m →
¬ 3 ^ m ∣ 2 ^ a * (3 * n + 1) + 1)
(hmiss : ¬ (∃ t e h d : ℕ,
let y := collatzStep^[t] n
let z := 2^e*y+1
let x := 2^h*(z/3^h)-1
let w := 2^d*x+1
let r := w.factorization 3
3^h ∣ z ∧ 2^r*(w/3^r)-1<n)) :
∃ k a b : ℕ, 0 < k ∧ k < n ∧ collatzStep^[a] n = collatzStep^[b] k := by
sorrySource
Residual case of https://prove2.me/theorems/06067a9c-68bd-455a-bf8a-a7075404caff after applying the proved two-run criterion https://prove2.me/theorems/23861851-bf9c-46bb-b5ca-3a429c228915 to this branch.