On q-ary codes with two distances d and d+1
Pith reviewed 2026-05-25 17:30 UTC · model grok-4.3
The pith
q-ary codes with distances d and d+1 arise from modifying equidistant codes
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper claims that q-ary codes with two distances d and d+1 admit several constructions, and that in the linear case all such codes can be obtained by a simple modification of linear equidistant codes, while upper bounds are derived for their maximum cardinality.
What carries the argument
Simple modification of linear equidistant codes, which produces all linear examples with distances d and d+1
If this is right
- All linear codes with these distances are generated by the modification.
- Upper bounds apply directly to limit maximum cardinality.
- Constructions work for both linear and nonlinear codes.
- Tables give explicit bounds for small q and n.
Where Pith is reading between the lines
- The modification may preserve algebraic structure that aids decoding algorithms.
- Similar modifications could classify codes with three or more distances.
- The bounds may be achieved by known combinatorial objects such as designs.
Load-bearing premise
That every linear code with distances d and d+1 arises from the described simple modification of an equidistant linear code.
What would settle it
A linear q-ary code with distances only d and d+1 that cannot be obtained from any equidistant linear code by the modification.
read the original abstract
The $q$-ary block codes with two distances $d$ and $d+1$ are considered. Several constructions of such codes are given, as in the linear case all codes can be obtained by a simple modification of linear equidistant codes. Upper bounds for the maximum cardinality of such codes is derived. Tables of lower and upper bounds for small $q$ and $n$ are presented.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper studies q-ary block codes having exactly two distances d and d+1. It supplies several constructions, states that every linear example arises from a simple modification of a linear equidistant code, derives upper bounds on maximum cardinality, and tabulates lower/upper bounds for small q and n.
Significance. A rigorous classification of linear two-distance codes together with matching bounds would be a modest but useful addition to the literature on constant-distance and two-weight codes; the tables could serve as a reference for small-parameter searches. The significance is limited by the absence of explicit definitions and derivations for the central linear-case claim.
major comments (2)
- [Abstract] Abstract (sentence 2): the assertion that 'in the linear case all codes can be obtained by a simple modification of linear equidistant codes' is load-bearing for the classification result yet supplies neither a definition of the modification operation nor a proof that every linear (d,d+1)-code is reached; the claim therefore cannot be verified from the manuscript.
- [Abstract] Abstract: the upper-bound derivations are announced but no explicit bound expressions, proof sketches, or comparison with known Singleton/Plotkin-type bounds appear; without these steps the claimed improvement cannot be assessed.
minor comments (1)
- [Abstract] Abstract: 'Upper bounds for the maximum cardinality of such codes is derived' contains a subject-verb agreement error ('bounds … is').
Simulated Author's Rebuttal
We thank the referee for the constructive comments. We address each major point below and will revise the manuscript to improve clarity and verifiability.
read point-by-point responses
-
Referee: [Abstract] Abstract (sentence 2): the assertion that 'in the linear case all codes can be obtained by a simple modification of linear equidistant codes' is load-bearing for the classification result yet supplies neither a definition of the modification operation nor a proof that every linear (d,d+1)-code is reached; the claim therefore cannot be verified from the manuscript.
Authors: We agree the abstract does not define the modification or include the proof. The body of the manuscript defines the modification (a coordinate-wise shift by a fixed vector applied to an equidistant code) and states the classification, but the referee is correct that an explicit proof is not provided. We will add both a precise definition and a short proof in a new subsection of the revised manuscript. revision: yes
-
Referee: [Abstract] Abstract: the upper-bound derivations are announced but no explicit bound expressions, proof sketches, or comparison with known Singleton/Plotkin-type bounds appear; without these steps the claimed improvement cannot be assessed.
Authors: The manuscript derives the bounds in Section 4 but presents them only as statements without formulas or comparisons in the abstract. We will insert the explicit bound expressions (a two-distance Plotkin-type bound and a linear-programming bound), a one-paragraph proof sketch, and a direct comparison with the Singleton and Plotkin bounds into both the abstract and the main text of the revision. revision: yes
Circularity Check
No circularity: constructions and bounds presented as independent results
full rationale
The abstract states that linear two-distance codes arise via simple modification of equidistant linear codes and that upper bounds are derived, but provides no equations, parameter fits, or self-citations that reduce any claimed result to its own inputs by construction. The modification is described as a construction rather than a definitional equivalence, and no load-bearing self-citation or ansatz smuggling is present. The derivation chain is therefore self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Boyvalenkov P., Delchev K., Zinoviev D. V., Zinoviev V. A., Codes with two distances: d and d + 1// Proceedings of the 16th International Workshop on Algebr aic and Combinatorial Coding Theory, Svetlogorsk (Kaliningrad re gion. Russia). 2018
work page 2018
-
[2]
Landjev I., Rousseva A., Storme L., On linear codes of almost constant weight and the related arcs// manuscript, 2019. 11
work page 2019
-
[3]
A., New upper bounds for error-correcting codes// Problems of I nfor- mation Transmission
Bassalygo L. A., New upper bounds for error-correcting codes// Problems of I nfor- mation Transmission. 1965. V. 1, N ◦ 1. P. 41 - 44
work page 1965
-
[4]
Bassalygo L. A., Zinoviev V. A., A note on balanced incomplete block-designs, near-resolvable block-designs, and q-ary optimal constant-weight codes// Problems of In- formation Transmission. 2017. V. 53. N ◦ 1. P. 51-54
work page 2017
-
[5]
Bassalygo L. A., Zinoviev V. A., Lebedev V. S., On m-nearly resolvable BIB designs and q-ary constant weight codes// Problems of Information Trans mission. 2018. V. 54. N ◦ 3. P. 54-61
work page 2018
-
[6]
Semakov N. V., Zinoviev V. A., Zaitsev V. G., Class of maximal equidistant codes// Problems of Information Transmission. 1969. V. 5. N ◦ 2. P. 84-87
work page 1969
-
[7]
Cambridge University Press, London, 1986
Beth T., Jungnickel D., Lenz H., Design Theory. Cambridge University Press, London, 1986
work page 1986
-
[8]
E., Tables of bounds for q-ary codes// http:www.win.tue.nl/˜aeb/
Brouwer A. E., Tables of bounds for q-ary codes// http:www.win.tue.nl/˜aeb/
-
[9]
Conway J. H., Sloane N. J. A., Sphere Packings, Lattices and Groups. Springer – Verlag, New York, 1988
work page 1988
-
[10]
A., On construction of q-ary equidistant codes// Problems of Information Transmission
Bogdanova G., Todorov T., Zinoviev V. A., On construction of q-ary equidistant codes// Problems of Information Transmission. 2007. V. 43. N ◦ 4. P. 13-36
work page 2007
-
[11]
Larman D. G., Rogers C. A., Seidel J. J., On two distance sets in Euclidean space// Bull. London Math. Soc. 1977. V. 9. P. 261-267
work page 1977
-
[12]
A generalization of Larman-Rogers-Seidel’s theorem// Dis crete Math
Nozaki H. A generalization of Larman-Rogers-Seidel’s theorem// Dis crete Math
- [13]
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.