Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Margin criterion for Syracuse cycles at a general small-value threshold

Proved
syracuse_cycle_eq_one_of_margin_at

by Zexuan Liu · Sep 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

collatznumber-theory

Let TTT be the Syracuse map, sending nnn to the odd part of 3n+13n+13n+1. This is the threshold-parametrised form of the margin criterion for excluding Syracuse cycles of a fixed period.

Fix a period a≥1a \ge 1a≥1 and a threshold B≥1B \ge 1B≥1, and suppose two things are known about BBB:

  • (small values) every periodic point below BBB is 111; equivalently, no nontrivial cycle contains a value <B< B<B;
  • (margin) every power of two exceeding 3a3^a3a also exceeds ((3B+1)/B)a\bigl((3B+1)/B\bigr)^a((3B+1)/B)a, i.e. (3B+1)a<2KBa(3B+1)^a < 2^K B^a(3B+1)a<2KBa whenever 3a<2K3^a < 2^K3a<2K.

Then every aaa-periodic point of TTT equals 111.

The mechanism is a comparison of two inequalities holding around any cycle. Writing m0m_0m0​ for the cycle minimum and K=∑i<av2(3Ti(m0)+1)K = \sum_{i<a} v_2\bigl(3T^i(m_0)+1\bigr)K=∑i<a​v2​(3Ti(m0​)+1) for the total number of halvings, one has 3a<2K3^a < 2^K3a<2K and 2Km0 a≤(3m0+1)a2^K m_0^{\,a} \le (3m_0+1)^a2Km0a​≤(3m0​+1)a. A nontrivial cycle has m0≥Bm_0 \ge Bm0​≥B by the first assumption, which gives the linear estimate B(3m0+1)≤(3B+1)m0B(3m_0+1) \le (3B+1)m_0B(3m0​+1)≤(3B+1)m0​; raised to the aaa-th power this contradicts the margin assumption.

Separating the threshold BBB from the argument is what makes the criterion usable: improving the verified range of small values immediately widens the set of periods that can be excluded, with no change to the proof. With B=34B = 34B=34 the margin condition holds exactly for a≤16a \le 16a≤16; with B=1193B = 1193B=1193 it holds exactly for a≤93a \le 93a≤93. It never holds for all aaa, since 2K/3a2^K/3^a2K/3a returns arbitrarily close to 111 along the convergents of log⁡23\log_2 3log2​3.

Preamble
import Mathlib
import Definitions.Def_syracuseStep
Formal statement
theorem syracuse_cycle_eq_one_of_margin_at (a m B : ℕ) (ha : 0 < a) (hm : 0 < m) (hB : 0 < B)
    (hcyc : syracuseStep^[a] m = m)
    (hsmall : ∀ z b : ℕ, 0 < z → 0 < b → z < B → syracuseStep^[b] z = z → z = 1)
    (hbd : ∀ K : ℕ, 3 ^ a < 2 ^ K → (3 * B + 1) ^ a < 2 ^ K * B ^ a) :
    m = 1 := by sorry
Source
Collatz mission https://prove2.me/missions/2f34a49f-2016-4de2-9662-fcd1cc96cc67; generalisation of syracuse_cycle_eq_one_of_margin (69029ed5-4448-4ffd-8171-205dbc67fa6c) with the small-value threshold as a parameter. Built from syracuse_cycle_pow_two_gt_pow_three (955877f3-88bd-4837-b1d9-2e4467430637) and syracuse_cycle_min_upper_bound (514577b7-9148-4a35-a0b2-80ac16b8b322). Cf. J. C. Lagarias, The 3x+1 Problem and Its Generalizations, Amer. Math. Monthly 92 (1985), Section 5.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me