GENESIS

Paper · 3 pages · 1 October 2026

The sphere-covering bound in Lean

Thiago Patzdorf · Universidade de Caxias do Sul · thiagosleman@gmail.com · 10.5281/zenodo.23085770

PDF Fonte, tag v0.2.0 A mesma coisa, em português

Abstract

We formalize the classical sphere-covering lower bound on the covering number Kq(n,R) in Lean 4, against Mathlib v4.34.1. The library proves that every code over Z/qZ of length n which covers the space at Hamming radius R has at least ⌈qn/V⌉ words, where V is the size of a Hamming ball, and it checks eight numerical instances, including K7(9,4) ≥ 221. The same archive determines several small covering numbers exactly, among them K2(7,1) = 16 by the binary Hamming code of length 7, and it exhibits a 12-word covering of (F2)6 at radius 1. It does not prove matching upper bounds for the eight instances, does not decide whether those lower bounds improve the literature, and leaves K2(6,1) ≥ 11 conditional on a search the kernel did not finish.

The eight checked lower bounds

qnRVceiling
572365215
41042068651
5935989327
510462201158
59516726912
5943824552
78313153439
794182791221

Each number is a lower bound on every covering code. None of them is a construction. K7(9,4) ≤ 1351 is not a theorem in this paper.