Residue-class Syracuse descent from a truncated terminal divisor
ProvedCollatzFrontier.syracuse_terminal_budget_of_descentLet be the Syracuse map, . Suppose a finite sequence of exact affine steps with exponents satisfies
and a terminal row closes the chain with a not necessarily exact divisor exponent ,
If the total exponent budget fits the modulus, , then for every natural number .
Why the terminal exponent need not be exact. It is only required that divides , with quotient , not that be the true 2-adic valuation ; the exact-prefix transfer still pins the orbit down through step , and the terminal row only needs to bound the last image from above by plus a budget-respecting multiple of , which already makes strict.
Application. For the representative , fourteen Syracuse steps use thirteen exact rows (total exponent ) followed by one truncated terminal row with (a genuine divisor of the true final numerator, not its full valuation), reaching budget — three bits tighter than using the chain's full valuation sum of . This gives for every natural .
Formalization note. The hypotheses hstep/hodd pin down the exact intermediate orbit as in the fully-exact interface; only the single terminal divisibility hfinal is allowed to be inexact, together with the ordinary descent comparison hdesc : B < r.
import Definitions.Def_syracuseStep import Mathlib.Data.Nat.Factorization.Basic import Mathlib.Tactic.Ring import Mathlib.Logic.Function.Iterate import Mathlib.Tactic.Linarith
namespace CollatzFrontier
theorem syracuse_terminal_budget_of_descent
(a b : ℕ → ℕ) (r K k e B : ℕ)
(hstart : b 0 = r)
(hstep : ∀ i < k, 3 * b i + 1 = 2 ^ (a i) * b (i + 1))
(hodd : ∀ i < k, Odd (b (i + 1)))
(hfinal : 3 * b k + 1 = 2 ^ e * B)
(hbudget : (∑ i ∈ Finset.range k, a i) + e ≤ K)
(hdesc : B < r) (q : ℕ) :
syracuseStep^[k + 1] (r + 2 ^ K * q) < r + 2 ^ K * q := by sorry
end CollatzFrontier