Superpermutation Almanac

Bounds

Halfar's explicit error bound with exponent 1/20

For large n, S(n) \le n!+(n-1)!+(n-2)!+2(n-4)!+214\,(n-4)!\,(\ln n)^{1/10}\,n^{-1/20}

For every n ≥ 2904·10400²·6²⁰·4² (about 1.84 × 10²⁸). The same theorem gives the lower bound obtained by subtracting the error term. Its error is strictly smaller than bound 48’s throughout that bound’s range, and its starting threshold is lower.

Holds for
large n
Announced
Nov 22, 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 22, 2026
Lean version
leanprover/lean4:v4.35.0
Mathlib commit
56a005855ea17e0b0958f73ec801ae140b0a1679
lean4checker
lean4-bundled@eb6cafb7290e8bd5f2937522d8d804f58f02bafc
nanoda
lean4-bundled@eb6cafb7290e8bd5f2937522d8d804f58f02bafc

build 598 s, peak 5.8 GB

Statement reviewed, not matched to a fixed statement.

Result 1 of batch L-0033, theorem explicit_error_log20, checked in attempt 1: AlmanacSolution.lean, line 12.

theorem explicit_error_log20 : AlmanacAdapter.ExplicitErrorLog20

Checked statement and definitions (JSON, 1.3 MB)

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