Superpermutation Almanac

Bounds

Halfar's explicit error bound

For large n, S(n) \le n!+(n-1)!+(n-2)!+2(n-4)!+306(n-4)!\,n^{-1/37}

For every n ≥ 5920·352³·6³⁷ (about 1.6·10⁴⁰). The same theorem gives the lower bound with −306(n−4)!·n^(−1/37) in place of the positive error term. This improves Pantone’s bound 42 throughout its range and lowers the starting threshold from about 3.6·10⁷⁰.

Holds for
large n
Announced
Nov 18, 2026
Proof
Lean proof
Coefficient of (n−3)!
0
Coefficient of (n−4)!
2
Points
0.0

By Jakub Halfar.

Evidence

Proof check

statement reviewed

Checked
Nov 18, 2026
Lean version
leanprover/lean4:v4.35.0
Mathlib commit
56a005855ea17e0b0958f73ec801ae140b0a1679
lean4checker
lean4-bundled@eb6cafb7290e8bd5f2937522d8d804f58f02bafc
nanoda
lean4-bundled@eb6cafb7290e8bd5f2937522d8d804f58f02bafc

build 679 s, peak 5.1 GB

Statement reviewed, not matched to a fixed statement.

Result 1 of batch L-0026, theorem explicit_error_37, checked in attempt 1: AlmanacSolution.lean, line 11.

theorem explicit_error_37 : AlmanacAdapter.ExplicitError37

Checked statement and definitions (JSON, 1.3 MB)

Repository at the checked commit · Repository archive (1.4 MB)

The construction and almost all of the proof are Jay Pantone's from b/42, and his files are unchanged. The new part is in lean/Asym37. It only changes how the deleted candidates are counted: once per distinct key (a pair of event types and a constant) instead of once per pair of events. That improves the exponent from 1/61 to 1/37:

\left|S(n) - n! - (n-1)! - (n-2)! - 2(n-4)!\right| \le 306\,(n-4)!\,n^{-1/37}

for every n \ge 5920 \cdot 352^3 \cdot 6^{37} (about 1.6 \cdot 10^{40}).