Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Refined Mersenne parent and child families

Definition
CollatzWork_RefinedMersenneChild

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

collatz-work-import

For natural parameters L,ε,zL,\varepsilon,zL,ε,z, put A=4z+2ε+1A=4z+2\varepsilon+1A=4z+2ε+1, P=2LA−1P=2^LA-1P=2LA−1, and Q=3⋅2L−2A−1Q=3\cdot2^{L-2}A-1Q=3⋅2L−2A−1. When L<2L<2L<2, the exponent L−2L-2L−2 uses truncated natural subtraction.

The family relations are

P=2L(4z+2ε+1)−1,Q=3⋅2L−2(4z+2ε+1)−1.P=2^L(4z+2\varepsilon+1)-1,\qquad Q=3\cdot2^{L-2}(4z+2\varepsilon+1)-1.P=2L(4z+2ε+1)−1,Q=3⋅2L−2(4z+2ε+1)−1.

These definitions organize an explicit smaller-child construction; the parity guard is a hypothesis of later orbit theorems. The bundle also retains the elementary simp identities needed to elaborate the shared shortcut map.

Definition code
import Std
import Init.Grind.Ordered.Module
import Definitions.Def_CollatzWork_ConvergenceStatement
import Definitions.Def_CollatzWork_InverseWordBoundaryStatement
namespace CollatzWork

/-!
# Refined Mersenne child identity

This file formalizes one isolated arithmetic certificate for the one-division
shortcut map `onceAccelerated`.  It does not assert termination or route
closure.
-/

@[simp] theorem shortcutIter_zero (n : Nat) : shortcutIter 0 n = n := rfl

@[simp] theorem shortcutIter_succ (k n : Nat) :
    shortcutIter (k + 1) n = shortcutIter k (onceAccelerated n) := rfl





@[simp] theorem onceAccelerated_two_mul (b : Nat) :
    onceAccelerated (2 * b) = b := by
  rw [onceAccelerated]
  simp





/-- The parameter used by the two residue children. -/
def refinedA (epsilon z : Nat) : Nat := 4 * z + 2 * epsilon + 1

/-- The exact-valuation Mersenne parent after splitting its odd parameter
modulo four. -/
def refinedParent (L epsilon z : Nat) : Nat :=
  2 ^ L * refinedA epsilon z - 1

/-- The smaller coalescing child on the parity-compatible branch. -/
def refinedChild (L epsilon z : Nat) : Nat :=
  3 * 2 ^ (L - 2) * refinedA epsilon z - 1
























end CollatzWork
Source
https://github.com/Sodelin/Collatz-Conjecture-Work/blob/026aa4ad4be6453a005ab950b160a9f2204c5271/lean/CollatzWork/RefinedMersenneChild.lean#L1-L243

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