Irregular Lee Distance Codes
- Irregular Lee distance codes are families of codes in Lee-metric spaces that relax uniform separation and perfect tiling, encompassing various non-linear, non-periodic, and heterogeneous constructions.
- They enable function protection by using distance-matrix constraints and function-correcting strategies that reduce redundancy compared to classical full error correction.
- Their study leverages algebraic, probabilistic, and spectral methods to derive bounds and guide constructions in both ring-linear and non-linear coding settings.
Irregular Lee distance codes are code families in Lee-metric spaces for which uniform pairwise separation, perfect tiling structure, or homogeneous algebraic behavior is relaxed or absent. In the cited literature, the phrase does not denote a single universally fixed class. It can refer to arbitrary codes with no linearity or regularity assumption, to explicitly defined -irregular-Lee-distance codes whose pairwise lower bounds are prescribed by a matrix, and to non-perfect, non-periodic, non-free, or heterogeneous Lee-metric constructions that arise when perfect Lee sphere tilings fail or when coordinate behavior varies across a ring-filtration or weight-spectrum hierarchy (Polak, 2018, K. et al., 3 Aug 2025, Kim, 2017).
1. Formal setting and meanings of irregularity
The Lee metric on is
and on it becomes the metric
A code in the Lee metric is any subset , and no linearity or regularity is assumed in the general definition. The extremal size parameter is
with the minimum Lee distance of 0 (Polak, 2018).
Several distinct notions of “irregularity” appear in the literature.
| Sense | Formal object | Source |
|---|---|---|
| Arbitrary Lee code | Any 1 | (Polak, 2018) |
| Distance-matrix irregularity | 2-code with 3 | (K. et al., 3 Aug 2025) |
| Non-perfect/non-tiling behavior | Codes without perfect Lee sphere tilings | (Kim, 2017, Qureshi, 2018) |
| Ring-theoretic heterogeneity | Non-free codes, support subtypes, filtration layers | (Byrne et al., 2021, Bariffi et al., 2023) |
| Weight-spectrum irregularity | Many distinct Lee weights or non-few-weight behavior over 4 | (Wang et al., 15 Feb 2025) |
The explicit distance-matrix notion is the most formal. A set 5 is a 6-irregular-Lee-distance code if there exists an ordering such that
7
and the minimum feasible length is denoted 8 (K. et al., 3 Aug 2025). When 9 for all 0, this reduces to the usual regular-distance shortest-length problem 1.
A different but complementary use of “irregular” arises in 2-linear constructions. There the focus is not on pair-specific minimum distances but on non-uniform or highly constrained Lee weight distributions. For odd 3, some defining-set constructions produce 3-weight or otherwise controlled multi-weight Lee codes, whereas for even 4 the same constructions produce many more distinct Lee weights and are described as “performing worse,” with full weight distributions left undetermined (Wang et al., 15 Feb 2025).
2. Perfect tilings, nonexistence, and why irregularity becomes necessary
Perfect Lee codes are the regular benchmark against which irregularity is often measured. In 5, a perfect 6-error-correcting Lee code is a subset 7 such that every vector lies within Lee distance at most 8 from a unique codeword. In 9, this is equivalent to a translational tiling by Lee spheres 0. For 1, there is a natural bijection between 2-codes and 3-codes that are unions of cosets of 4, so perfect Lee codes are exactly translational tilings of 5 by Lee spheres, up to periodicity mod 6 (Kim, 2017).
The central obstruction is the Golomb–Welch conjecture: for 7 and 8, there exist no 9-codes. For 0, the Lee sphere size is
1
A number-theoretic nonexistence theorem proves that if 2 is prime, 3 is the least positive integer with 4, 5 is the least positive integer with 6, and the Diophantine equation
7
has no solution, then no 8-code exists. This excludes, for example,
9
and is expected to apply to infinitely many dimensions if there are infinitely many primes of the form 0 (Kim, 2017).
For linear perfect 2-error-correcting Lee codes, the obstruction is stronger. Let
1
One result shows that
2
implies 3, hence
4
Thus a positive lower density of dimensions forbid linear perfect 2-error-correcting Lee codes (Qureshi, 2018).
A further algebraic treatment via group rings and characters proves nonexistence of linear perfect Lee codes of radii 5 and 6 for infinitely many dimensions, and for radius 7 it excludes all 8 except
9
This is obtained by translating the perfect tiling condition into group-ring identities such as
0
for radius 1, then deriving contradictions via character values, finite-field reductions, and arithmetic conditions on prime divisors of 2 (Zhang et al., 2018).
These results do not directly address nonlinear perfect Lee codes. In particular, the positive-density nonexistence argument for linear 3-codes uses quotient groups and homomorphisms, and there is no immediate analogue for a general nonlinear code (Qureshi, 2018). This clarifies a common misconception: linear nonexistence strengthens the Golomb–Welch picture but does not settle the nonlinear case. Still, the cumulative effect is clear. In many parameter regimes, perfect regular tilings are impossible, so any high-performance Lee code must be non-perfect, non-lattice, non-periodic, or otherwise irregular.
3. Distance-matrix irregularity and function-correcting Lee codes
The most explicit modern formalization of irregular Lee-distance coding appears in the theory of function-correcting Lee codes (FCLCs). Here one does not need uniform separation between all message pairs. One only needs enough separation to recover a function value 4 from a Lee-corrupted systematic encoding 5 when at most 6 Lee errors occur (K. et al., 3 Aug 2025).
For a function 7, the distance requirement matrix on a message set 8 is
9
where 0. The optimal redundancy is exactly the shortest length of an irregular Lee-distance code with this matrix: 1 This identity shows that irregular Lee-distance coding is not merely a relaxation of classical minimum-distance coding; it is the natural geometry of function protection under Lee-metric channels (K. et al., 3 Aug 2025).
A reduced description replaces the full 2 matrix by a function-distance matrix on 3. For function values 4,
5
and then
6
This yields
7
with equality when representatives realizing all pairwise function distances exist (K. et al., 3 Aug 2025).
The paper also proves a Plotkin-like lower bound for irregular Lee-distance codes. If 8, then 9 is bounded below by a multiple of 0, with four cases depending on the parity of 1 and 2. For example, when 3 is even and 4 is even,
5
For odd 6, the extremal per-coordinate pairwise Lee-distance distribution is not the same as in the even case, and the refined bound corrects earlier Lee Plotkin-like arguments that treated both parities uniformly (K. et al., 3 Aug 2025).
This framework becomes explicit for several function classes. For the Lee weight function 7, the induced function-distance matrix has entries
8
and the optimal redundancy is exactly 9. For the modular sum 0, a suitable set of representatives again makes the reduced matrix exact, so
1
For locally 2-bounded functions, colorings of local Lee balls produce explicit parity constructions with redundancy
3
when 4 (K. et al., 3 Aug 2025).
The significance is structural. Regular Lee codes impose one scalar lower bound on all pairs. Irregular Lee-distance codes replace this with a geometry of pair-specific constraints induced by a function or task. That shift permits systematic encoders whose redundancy can be strictly smaller than that required either for full error correction of the data or for separate protection of the function values as abstract symbols (K. et al., 3 Aug 2025).
4. Universal bounds, spectral obstructions, and the abundance of nonlinear irregular codes
A second major strand of the literature treats irregular Lee codes in the broad sense of arbitrary, possibly nonlinear codes. The central object is still
5
but no algebraic structure is assumed. A semidefinite programming hierarchy 6 is defined over all small subsets 7, with constraints 8 whenever 9 and moment matrices 00. The resulting bound
01
holds for all codes, including nonlinear and irregular ones. For 02, 03 coincides with the Delsarte bound in the Lee scheme; for 04, the triple-based SDP produces several new upper bounds on 05, and in particular recovers the exact value 06 (Polak, 2018).
These SDP bounds are symmetry reduced using the action of 07, block-diagonalized representation-theoretically, and therefore remain computable for moderate 08. Their importance for irregular codes is direct: they constrain every code of the given Lee distance, whether linear, nonlinear, periodic, non-periodic, or distance-matrix based (Polak, 2018).
A complementary graph-theoretic viewpoint identifies Lee codes with independent sets in Lee graphs. The Lee graph
09
has graph distance equal to Lee distance, and
10
Distance-11 colorings of 12 are partitions of 13 into Lee codes of minimum distance at least 14. Spectral ratio bounds on 15 therefore yield upper bounds on 16 and lower bounds on the number of code classes needed in any partition. For 17, one obtains
18
and a complete characterization of perfect Lee codes of minimum distance 19: 20 This gives a spectral and number-theoretic obstruction to perfect regular partitions and, by consequence, constrains any irregular partition into distance-3 Lee codes as well (Abiad et al., 2024).
The probabilistic side of the subject shows that irregular Lee codes are not exceptional; they are generic. For fixed 21 and 22, the number of 23-Lee-error-correcting codes in 24 is at most
25
for 26, via graph containers. For larger 27, specifically 28, the number is at most
29
For fixed-size nonlinear codes, the density threshold occurs at size 30: if 31, a random subset of size 32 is asymptotically almost surely a 33-Lee-error-correcting code, while if 34, it is asymptotically almost surely not (Willenborg et al., 2023).
This suggests a sharp dichotomy. Highly structured regular objects—perfect codes, MLD codes, Lee-equidistant modules—are rare and rigid. By contrast, nonlinear irregular Lee codes are exponentially abundant in the relevant counting regimes. The “generic” Lee code is therefore not a perfect tiling or a classical algebraic design, but an irregular independent set in a large Lee graph (Willenborg et al., 2023).
5. Algebraic irregularity over rings: non-free codes, generalized Lee weights, and weight-spectrum heterogeneity
Over 35, irregularity is often algebraic rather than merely combinatorial. A linear code has subtype 36, rank
37
free rank 38, and socle
39
Non-free codes, with nontrivial 40-torsion, are the ring-theoretic archetype of irregular Lee codes in this setting (Byrne et al., 2021).
A Plotkin-like inequality for linear Lee codes begins from
41
where 42 is the average Lee weight. The refined bound of (Byrne et al., 2021) uses the rank 43 and the torsion depth of a minimal-Hamming-weight vector in the code, yielding
44
with
45
More generally, if a minimal-Hamming-weight vector lies in 46, then
47
This refines earlier Chiang–Wolf and Wyner–Graham Plotkin-like bounds in the non-free case and explicitly exploits irregular torsion structure (Byrne et al., 2021).
The same paper also shows that optimal codes for Singleton-like and Plotkin-like Lee bounds are very few. For example, in 48, the only linear codes meeting the 49-Singleton bound are 50, its dual, and the ambient space. Over 51 with 52 odd and 53, Lee-equidistant codes have rank at most 54, and the paper completes Wood’s classification by giving explicit minimal-length constructions for rank 55 and rank 56 cases (Byrne et al., 2021). This is an important corrective to the intuition imported from field-based Hamming theory: extremal Lee behavior over rings is often non-free and highly torsion-sensitive.
A different refinement of Lee irregularity appears in generalized Lee weights. Over 57, three support notions are introduced: support subtype 58, join-Lee support, and column-Lee support. The support subtype records, coordinate by coordinate, which ideal 59 is generated by the coordinate projection of the code; this already encodes heterogeneous coordinate activity. Join-Lee generalized weights
60
reduce to generalized Hamming weights of the socle scaled by 61, giving the bound
62
Column-Lee generalized weights and filtration subcodes
63
yield stronger Singleton-like bounds that explicitly track where rows and columns vanish along the 64-adic filtration (Bariffi et al., 2023).
The filtration viewpoint is especially relevant to irregular Lee codes because it captures multi-level protection and heterogeneous coordinates directly. Instead of measuring only the rank of a subcode, it measures how deep subcodes lie inside the ideal filtration. This provides upper bounds on 65 that are sensitive to the detailed support profile of the code rather than just its ambient length and size (Bariffi et al., 2023).
Over 66, a complementary sort of irregularity appears in Lee weight distributions. Using trace-evaluation codes over 67, several classes of linear codes have explicitly determined Lee weight distributions for odd 68. For 69 with 70 of the same parity, one obtains 3-weight Lee codes of length 71. For 72 and for complements 73, one obtains structured multi-weight codes with weights of the form 74 or 75 perturbed by terms of order 76. For even 77, the same constructions yield many more distinct Lee weights and are described as “performing worse,” with full weight distributions not determined (Wang et al., 15 Feb 2025). Here irregularity is spectral rather than geometric: the code remains linear, but its Lee weight spectrum becomes much less uniform.
6. Constructions, long-code asymptotics, and open directions
The absence of perfect regular Lee codes does not imply a lack of strong constructive families. One route is via long algebraic-geometric constructions. Concatenation of an outer AG code over 78 with an inner short Lee-metric code over 79 yields families whose rate 80 and relative Lee distance 81 satisfy
82
where 83 are the inner parameters. With Lee-metric BCH inner codes over 84, the resulting asymptotic line is approximately 85 for suitable 86 and 87 (Randriam et al., 2013).
A more intrinsic AG bound, the corrected “Victorian” bound, shows that from a curve of genus 88 over 89 with at least 90 rational points one obtains shortened codes over 91 with parameters 92 and Lee distance
93
for 94. Asymptotically, if 95, then
96
A further descent argument from 97 to 98 uses explicit combinatorics of Lee spheres in 99 to derive constructive lower bounds on the asymptotic Lee-rate function 00 that beat Gilbert-type Lee bounds in substantial parameter ranges (Randriam et al., 2013). These families are regular in construction, but they furnish asymptotic benchmarks for any irregular alternative.
Another axis of generalization is the restricted-error model over 01. If 02 is a subgroup with 03, the restricted weight is
04
and 05 recovers the Lee weight. Gaussian and Eisenstein integer constructions correspond to 06 and 07, respectively, and explicit parity-check constructions correct two or three such restricted errors (Zumbrägel, 19 Jan 2026). The paper suggests, at a conceptual level, that one could allow different subgroups 08 across coordinates, yielding a non-uniform restricted-error metric. This suggests a route toward genuinely irregular Lee-type metrics, although it is presented as a conceptual extension rather than a developed theory (Zumbrägel, 19 Jan 2026).
Several open directions recur across the literature. Nonlinear perfect 09-codes remain open despite strong linear nonexistence evidence (Qureshi, 2018). Quasi-perfect, almost-perfect, and defect-tolerant Lee tilings are repeatedly suggested as the natural replacement for impossible perfect structures (Kim, 2017, Zhang et al., 2018). Higher-level SDP hierarchies beyond triples may sharpen universal upper bounds for arbitrary Lee codes (Polak, 2018). Spectral methods have so far been pushed mainly for 10, and extending optimized 11 bounds to higher 12 remains nontrivial (Abiad et al., 2024). Over 13, the even-14 Lee weight distributions of trace-evaluation constructions remain unresolved (Wang et al., 15 Feb 2025). For FCLCs, broader families of functions and tighter irregular Plotkin- or GV-type bounds remain to be developed (K. et al., 3 Aug 2025).
A recurring conclusion is that irregularity in the Lee metric is not a residual pathology. It is a structural necessity in regimes where perfect tilings fail, a formal design principle in distance-matrix and function-correcting settings, a generic phenomenon in the counting theory of nonlinear codes, and an algebraic resource in ring-linear constructions where torsion, filtration depth, and non-uniform weight spectra materially affect what is achievable.