pith. machine review for the scientific record. sign in

arxiv: 2605.12148 · v1 · submitted 2026-05-12 · 🧮 math.CO

Recognition: 2 theorem links

· Lean Theorem

Closed Expressions for the Weight Distributions of Codes Associated with Perfect Codes

Denis Krotov, Minjia Shi, Tuvi Etzion, Wenhao Song

Pith reviewed 2026-05-13 04:38 UTC · model grok-4.3

classification 🧮 math.CO
keywords weight distributionsperfect codescovering codescompletely regular codescombinatorial counting1-perfect codesextended perfect codesdiamond codes
0
0 comments X

The pith

Complete weight distributions are derived for five families of codes linked to perfect codes by elementary combinatorial methods.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

This paper brings together five structures in coding theory for the first time: 1-perfect codes, their extensions, nearly perfect 1-covering codes and their extensions, plus diamond codes. It calculates the full weight distribution for each family. The calculations use basic counting arguments rather than heavy algebraic or other advanced tools. Knowing these distributions shows exactly how many codewords exist at each possible weight, which is useful for understanding the codes' structure and performance in detecting and correcting errors. The approach treats all five families uniformly because of their shared combinatorial properties.

Core claim

The paper shows that the weight distributions of 1-perfect codes, extended 1-perfect codes, nearly perfect 1-covering codes, extended nearly perfect 1-covering codes, and diamond codes can all be expressed in closed form through direct combinatorial counting without the need for sophisticated mathematical machinery.

What carries the argument

The uniform application of combinatorial counting techniques to determine the number of codewords of each weight in these five code families.

Load-bearing premise

The five structures are assumed to be sufficiently related that the same combinatorial counting techniques apply uniformly to all of them without additional case-by-case adjustments.

What would settle it

Computing the weight distribution for a specific small-length code in one of the families, such as a diamond code of length 7, and finding it differs from the formula provided would disprove the general expression.

read the original abstract

Perfect codes are arguably the most fascinating structures in combinatorial coding theory, and their classification and weight distribution are of considerable interest. This classification also involves the analysis of some related structures. This paper considers five closely related structures, but all of them have never been tied together before. These structures are 1-perfect codes, extended 1-perfect codes, nearly perfect 1-covering codes, extended nearly perfect 1-covering codes, and one family of completely regular codes (to be called diamond codes). The current work concentrates on the weight distributions of these five families of codes. In the past, some of these weight distributions were not computed, some required heavy tools, and for some only the weight enumerator was presented. We provide complete weight distributions for all five families using some methods that do not require any heavy tools.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

0 major / 2 minor

Summary. The paper derives closed-form weight distributions for five families of codes associated with perfect codes—1-perfect codes, extended 1-perfect codes, nearly perfect 1-covering codes, extended nearly perfect 1-covering codes, and diamond codes—by applying uniform combinatorial counting arguments after establishing the necessary relations among the families, without relying on heavy machinery.

Significance. If the derivations are correct, the work provides a valuable unified treatment of these related structures, making previously unavailable or cumbersome weight distributions explicit and accessible. This strengthens the combinatorial toolkit for analyzing perfect and nearly perfect codes and their extensions.

minor comments (2)
  1. [Abstract / Introduction] The abstract states that some weight distributions 'were not computed' or 'required heavy tools' previously; a brief table or paragraph in the introduction explicitly identifying which families fall into each category would strengthen the motivation.
  2. [Introduction] The claim that the five structures 'have never been tied together before' would benefit from a short diagram or explicit list of the bijections/equivalences used to transfer the counting arguments across families.

Simulated Author's Rebuttal

0 responses · 0 unresolved

We thank the referee for the positive assessment of the manuscript, the recognition of its unified combinatorial approach, and the recommendation for minor revision. No major comments were raised in the report.

Circularity Check

0 steps flagged

Derivation self-contained via direct combinatorial counting

full rationale

The paper states that it obtains complete weight distributions for the five families (1-perfect codes, extended 1-perfect codes, nearly perfect 1-covering codes, extended nearly perfect 1-covering codes, and diamond codes) by applying uniform combinatorial counting techniques derived from the definitions of the codes and their standard relations (extensions, coverings, completely regular properties). No equations reduce a claimed prediction to a fitted parameter by construction, no self-definitional loops appear, and no load-bearing uniqueness theorems or ansatzes are imported solely via self-citation. The abstract and approach emphasize methods that avoid heavy tools, indicating the results follow from explicit counting arguments applied to the code structures themselves rather than from re-expressing inputs.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The central claim rests on standard combinatorial properties of perfect codes and covering codes; no free parameters or invented entities are mentioned in the abstract.

axioms (1)
  • domain assumption The standard definition and sphere-packing properties of 1-perfect codes hold over the relevant alphabets.
    Invoked implicitly when relating the five code families.

pith-pipeline@v0.9.0 · 5439 in / 1048 out tokens · 39925 ms · 2026-05-13T04:38:17.356496+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

Reference graph

Works this paper leans on

10 extracted references · 10 canonical work pages

  1. [1]

    BORUCHOVSKY ANDT

    A. BORUCHOVSKY ANDT. ETZION,Nearly perfect covering codes, https://arxiv.org/abs/2405.00258v1 (2024)

  2. [2]

    BORUCHOVSKY, T

    A. BORUCHOVSKY, T. ETZION,ANDR. M. ROTH,On nearly perfect covering codes,IEEE Trans. Inf. Theory,71 (2025) 2494–2504

  3. [3]

    ETZION,Perfect Codes and Related Structures,World Scientific, 2022

    T. ETZION,Perfect Codes and Related Structures,World Scientific, 2022

  4. [4]

    ETZION ANDA

    T. ETZION ANDA. VARDY,Perfect binary codes: constructions, proper- ties, and enumeration,IEEE Trans. Inf. Theory,40 (1994), 754–763

  5. [5]

    D. S. KROTOV ANDV. N. POTAPOV,Completely regular code and equitable partitions,inCompletely Regular Codes in Distance Regular Graphs,M. SHI ANDP. SOL ´E, editors, CRC Press (2025), 1–84

  6. [6]

    F. J. MACWILLIAMS ANDN. J. A. SLOANE,The Theory of Error- Correcting Codes,Amsterdam: North-Holland, 1977

  7. [7]

    M. SHI, T. ETZION, D. KROTOV,ANDW. SONG,Five related families of codes associated with perfect codes,in preparation

  8. [8]

    STRUIK,Covering codes,Ph.D

    R. STRUIK,Covering codes,Ph.D. thesis, Eindhoven University of Technology, Eindhoven, The Netherlands, 1994

  9. [9]

    STRUIK,An Improvement of the Van Wee Bound for Binary Linear Covering Codes,IEEE Trans

    R. STRUIK,An Improvement of the Van Wee Bound for Binary Linear Covering Codes,IEEE Trans. Infor . Theory,40 (1994), 1280–1284

  10. [10]

    G. J. M.VANWEE,Improved sphere bounds on the covering radius of codes,IEEE Trans. Infor . Theory,34 (1988), 237–245