Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Nondecreasing prefixes of arbitrary finite Mersenne length

Proved
CollatzWork.mersenne_prefix_nondecreasing

by Sodelin · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

collatz-work-import

Let T:N→NT:\mathbb N\to\mathbb NT:N→N be the shortcut Collatz map: T(n)=n/2T(n)=n/2T(n)=n/2 for even nnn and T(n)=(3n+1)/2T(n)=(3n+1)/2T(n)=(3n+1)/2 for odd nnn. Write TkT^kTk for its kkk-fold iterate, with T0(n)=nT^0(n)=nT0(n)=n.

Let L,q∈NL,q\in\mathbb NL,q∈N with q>0q>0q>0, and put N=2Lq−1N=2^Lq-1N=2Lq−1. Then

∀k<L,Tk(N)≤Tk+1(N).\forall k<L,\quad T^k(N)\le T^{k+1}(N).∀k<L,Tk(N)≤Tk+1(N).

The length L is arbitrary, but the conclusion is confined to the finite initial prefix.

Preamble
import Std
import Init.Grind.Ordered.Module
import Definitions.Def_CollatzWork_ConvergenceStatement
import Definitions.Def_CollatzWork_InverseWordBoundaryStatement
import Definitions.Def_CollatzWork_RefinedMersenneChild
import Theorems.Thm_CollatzWork_oddRun



Formal statement
theorem CollatzWork.mersenne_prefix_nondecreasing (L q : Nat) (hq : 0 < q) :
    ∀ k, k < L →
      shortcutIter k (2 ^ L * q - 1) ≤
      shortcutIter (k + 1) (2 ^ L * q - 1) := by sorry

Source
https://github.com/Sodelin/Collatz-Conjecture-Work/blob/026aa4ad4be6453a005ab950b160a9f2204c5271/lean/CollatzWork/FinitePaletteObstruction.lean#L84-L107

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