A 226-residue sieve modulo 4096 for Syracuse orbit minima
Provedsyracuse_odd_nondescending_minimum_mod4096collatznumber-theorysyracuse
An odd state at least 1,048,576 which never descends below itself under Syracuse must lie in one of the 226 residues encoded by the displayed bit mask modulo 4096. This applies to a minimum of a cycle and to the minimum of a nonperiodic tail.
Preamble
import Definitions.Def_syracuseStep import Mathlib.Logic.Function.Iterate import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Finset.Card
Formal statement
theorem syracuse_odd_nondescending_minimum_mod4096 :
((Finset.range 4096).filter (fun r => (0x8800800000000000800000808000000080008080080000008000000088000000880080800000800080000080880000008000808000000000000080008800000080008000800080008000000088000000800000800000008080008000080000008800808000008000800000808800000080008080080000008000000088000000880080008000000080000080000000008000808000000080800000008800000088008080000080008000008088000000800080800800000000008000000000008000808080008000800000008800000080000080000000808000000008000000880080808000800000000080800000008000808008000080800080008800000088000000800000008000008080000000800080800800008000000000080000008000808000008000800000008800000080000080080000000000800088000000800080808000800080000000800000008000008000000080800080000800000088008080800000008000008088000000800080800800008000008000880000008000800080000000800000008000000080000080080000808000000088000000880080800000800080000080880000008000800008000000000080008800000080008080800000008000000088000000000000800000008080008000080000008800800080008000800000808800000080008080080000808000800088000000 : ℕ).testBit r = true)).card = 226 ∧
∀ x : ℕ, 1048576 ≤ x → x%2=1 → (∀ j : ℕ, x ≤ syracuseStep^[j] x) →
(0x8800800000000000800000808000000080008080080000008000000088000000880080800000800080000080880000008000808000000000000080008800000080008000800080008000000088000000800000800000008080008000080000008800808000008000800000808800000080008080080000008000000088000000880080008000000080000080000000008000808000000080800000008800000088008080000080008000008088000000800080800800000000008000000000008000808080008000800000008800000080000080000000808000000008000000880080808000800000000080800000008000808008000080800080008800000088000000800000008000008080000000800080800800008000000000080000008000808000008000800000008800000080000080080000000000800088000000800080808000800080000000800000008000008000000080800080000800000088008080800000008000008088000000800080800800008000008000880000008000800080000000800000008000000080000080080000808000000088000000880080800000800080000080880000008000800008000000000080008800000080008080800000008000000088000000000000800000008080008000080000008800800080008000800000808800000080008080080000808000800088000000 : ℕ).testBit (x%4096) = true := by sorrySource
A kernel-checked shortcut affine descent sieve, with half-step and odd-part comparison adapted from immiq's accepted submission 15e9cc1c-1fe1-48ea-9827-5a349c909d76.