Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eliahou (1993) Theorem 2.1: logarithmic sandwich inequality for Collatz cycles

Proved
Eliahou1993.eliahou_sandwich

by kmehltretter82 · Nov 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

collatzcontinued-fractionseliahou-1993number-theory

Let c=(x0,x1,…,xL−1)c = (x_0, x_1, \dots, x_{L-1})c=(x0​,x1​,…,xL−1​) be a cycle of length L>0L > 0L>0 of the compressed Collatz map TTT with k1>0k_1 > 0k1​>0 odd elements, minimum element m=min⁡ixim = \min_i x_im=mini​xi​, and maximum element M=max⁡ixiM = \max_i x_iM=maxi​xi​. Then the ratio L/k1L / k_1L/k1​ is bounded above and below by

log⁡2 ⁣(3+1M)≤Lk1≤log⁡2 ⁣(3+1m).\log_2\!\left(3 + \frac{1}{M}\right) \le \frac{L}{k_1} \le \log_2\!\left(3 + \frac{1}{m}\right).log2​(3+M1​)≤k1​L​≤log2​(3+m1​).

This unconditional sandwich inequality (Eliahou 1993, Theorem 2.1) is completely parametric in the cycle's minimum mmm and maximum MMM (requiring no 2402^{40}240 hypothesis), and constrains L/k1L / k_1L/k1​ to an interval of width at most log⁡2(3+1/m)−log⁡23<1/(3mln⁡2)\log_2(3 + 1/m) - \log_2 3 < 1 / (3 m \ln 2)log2​(3+1/m)−log2​3<1/(3mln2).

Formalization Note Stated in the Eliahou1993 namespace (Eliahou1993.eliahou_sandwich). Adapted under the MIT License from tangentproofs/eliahou-collatz-bounds (commit 18cc351df2f942ddba4bf03feb9b75a70701497d, Copyright (c) 2026 Michal Wallace; co-authored by Aristotle / Harmonic).

Preamble
/-
Adapted from https://github.com/tangentproofs/eliahou-collatz-bounds
(commit 18cc351df2f942ddba4bf03feb9b75a70701497d, file Collatz/Sandwich.lean),
formalizing:
  Shalom Eliahou (1993), "The 3x + 1 problem: new lower bounds on nontrivial
  cycle lengths", Discrete Mathematics 118(1-3), pp. 45–56, Theorem 2.1.
Co-authored-by: Aristotle (Harmonic) <aristotle-harmonic@harmonic.fun>

MIT License — Copyright (c) 2026 Michal Wallace. See Definitions/Def_eliahou1993Cycle.lean for full notice.
-/
import Definitions.Def_eliahou1993Cycle
import Mathlib.Analysis.SpecialFunctions.Log.Base

open Finset BigOperators Real Eliahou1993
Formal statement
theorem Eliahou1993.eliahou_sandwich {L : ℕ} (c : CollatzCycle L) (hk : 0 < c.numOdd) :
    Real.logb 2 (3 + 1 / (c.maxElem : ℝ)) ≤ (L : ℝ) / c.numOdd ∧
    (L : ℝ) / c.numOdd ≤ Real.logb 2 (3 + 1 / (c.minElem : ℝ)) := by sorry
Source
Shalom Eliahou (1993), 'The 3x + 1 problem: new lower bounds on nontrivial cycle lengths', Discrete Mathematics 118(1-3), pp. 45–56, p. 48, Theorem 2.1; https://github.com/tangentproofs/eliahou-collatz-bounds/blob/18cc351df2f942ddba4bf03feb9b75a70701497d/Collatz/Sandwich.lean#L106-L109 (Adapted from tangentproofs/eliahou-collatz-bounds (commit 18cc351df2f942ddba4bf03feb9b75a70701497d, Copyright (c) 2026 Michal Wallace, MIT License; co-authored by Aristotle / Harmonic).)

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me