Papers
Topics
Authors
Recent
Search
2000 character limit reached

Function-Correcting Lee Codes (FCLCs)

Updated 7 July 2026
  • FCLCs are Lee-metric codes that ensure the reliable recovery of a function f(u) rather than the full message, offering reduced redundancy.
  • They leverage irregular Lee-distance codes to establish Plotkin- and Gilbert–Varshamov-type bounds, linking redundancy to minimum required code length.
  • Explicit constructions target canonical functions like Lee weight, weight distribution, and modular sum, tailoring redundancy based on both function properties and local constraints.

Function-Correcting Lee Codes (FCLCs) are systematic function-correcting codes over Zm\mathbb{Z}_m designed for Lee-metric channels: instead of requiring reliable recovery of the entire message, they require reliable recovery of a prescribed function f(u)f(u) of the message uu, and they do so by enforcing distance constraints only between codewords associated with different function values. In the current literature, this perspective yields an exact redundancy characterization through irregular Lee-distance codes, general Plotkin- and Gilbert–Varshamov-type bounds, exact or near-exact results for several structured function classes, and a direct specialization of homogeneous-distance FCCs over Z4\mathbb{Z}_4, where homogeneous distance coincides with Lee distance (Verma et al., 23 Jul 2025).

1. Lee-metric setting and correction criterion

The ambient alphabet is Zm\mathbb{Z}_m, m2m\ge 2, with Lee weight

wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.

Under the symmetric labeling of residues, this becomes wL(x)=xw_L(x)=|x|. For vectors u,vZmku,v\in\mathbb{Z}_m^k, the Lee distance is

dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).

A Lee ball of radius f(u)f(u)0 around f(u)f(u)1 is f(u)f(u)2, and for f(u)f(u)3 its volume in f(u)f(u)4 is

f(u)f(u)5

which is the volume term used in Gilbert–Varshamov-type arguments (Verma et al., 23 Jul 2025).

An FCLC uses a systematic encoder

f(u)f(u)6

where f(u)f(u)7 is the redundancy. For a fixed function f(u)f(u)8 and Lee error radius f(u)f(u)9, the defining requirement is

uu0

This is strictly weaker than a classical uu1-error-correcting Lee code, which would require the same inequality for all uu2. Accordingly, any conventional Lee code with minimum distance uu3 is automatically an uu4-FCLC for every uu5, but usually with non-optimal redundancy (Verma et al., 23 Jul 2025).

The optimal redundancy is

uu6

The decoding implication is purely metric: if the received word uu7 satisfies uu8, then all codewords within Lee radius uu9 of Z4\mathbb{Z}_40 must correspond to the same function value, even if they do not determine the same message. A common misconception is that an FCLC is a weakened decoder for a conventional Lee code; in fact, the code design problem itself is different, because only function-distinct pairs must be separated (Verma et al., 23 Jul 2025).

2. Irregular Lee-distance codes and exact redundancy characterization

The central structural device is the irregular Lee-distance code. Given a symmetric nonnegative matrix Z4\mathbb{Z}_41, a set Z4\mathbb{Z}_42 is a Z4\mathbb{Z}_43-code in the Lee metric if

Z4\mathbb{Z}_44

The minimum length of such a code is denoted Z4\mathbb{Z}_45. When all off-diagonal entries of Z4\mathbb{Z}_46 equal a constant Z4\mathbb{Z}_47, this reduces to the standard parameter Z4\mathbb{Z}_48 for an Z4\mathbb{Z}_49-Lee code (Verma et al., 23 Jul 2025).

For messages Zm\mathbb{Z}_m0, the distance requirement induced by Zm\mathbb{Z}_m1 and Zm\mathbb{Z}_m2 is captured by

Zm\mathbb{Z}_m3

where Zm\mathbb{Z}_m4. This matrix measures exactly how much Lee distance the redundancy part must contribute after the systematic part contributes Zm\mathbb{Z}_m5 (Verma et al., 23 Jul 2025).

The exact equivalence theorem states that if Zm\mathbb{Z}_m6, then

Zm\mathbb{Z}_m7

Thus the optimal redundancy problem for FCLCs is equivalent to the shortest-length problem for an irregular Lee-distance code. A direct lower-bound corollary is that for any subset Zm\mathbb{Z}_m8,

Zm\mathbb{Z}_m9

This reduction is the Lee-metric analogue of the irregular-distance viewpoint used earlier for Hamming-metric FCCs and later for symbol-pair and sum-rank metrics (Verma et al., 23 Jul 2025, Xia et al., 2023, Kammila et al., 4 Jul 2026).

A second, smaller matrix acts on the image of m2m\ge 20. If m2m\ge 21, define

m2m\ge 22

and then

m2m\ge 23

This yields the general upper bound

m2m\ge 24

obtained by assigning the same redundancy vector to all messages with the same function value. When one can choose representatives m2m\ge 25 realizing the same matrix, the upper and lower bounds coincide and give an exact formula (Verma et al., 23 Jul 2025).

3. General redundancy bounds

The general lower bound is a Plotkin-type inequality for irregular Lee-distance codes. If m2m\ge 26 is an m2m\ge 27 Lee distance matrix, then

m2m\ge 28

For regular distance m2m\ge 29, this yields

wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.0

Two specializations are especially significant: for wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.1, Lee distance is Hamming distance, and the bound recovers the Hamming irregular-distance bound of Lenz et al.; for wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.2, where Lee distance coincides with homogeneous distance, the resulting bound improves the earlier wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.3 homogeneous-metric Plotkin bound of Liu–Liu by a factor of wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.4 (Verma et al., 23 Jul 2025).

The general upper bound is Gilbert–Varshamov-type: wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.5 It is obtained by a greedy construction that successively avoids Lee balls of the forbidden radii around previously chosen codewords (Verma et al., 23 Jul 2025).

A coarse but function-universal sandwich bound depends only on wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.6: wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.7 The lower bound comes from the existence, for every non-constant wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.8, of two messages at Lee distance wL(x)=min{x,mx},xZm.w_L(x)=\min\{x,m-x\},\qquad x\in\mathbb{Z}_m.9 with different function values; the upper bound comes from assigning one codeword of an wL(x)=xw_L(x)=|x|0-Lee code to each function value (Verma et al., 23 Jul 2025). The two-code case is exact: wL(x)=xw_L(x)=|x|1 Hence every non-constant FCLC satisfies

wL(x)=xw_L(x)=|x|2

For wL(x)=xw_L(x)=|x|3 this becomes wL(x)=xw_L(x)=|x|4, and for wL(x)=xw_L(x)=|x|5 it becomes wL(x)=xw_L(x)=|x|6 (Verma et al., 23 Jul 2025).

4. Locality in the Lee metric

A major structured subclass is defined through Lee-locality. For a function wL(x)=xw_L(x)=|x|7, the function ball is

wL(x)=xw_L(x)=|x|8

The function is locally wL(x)=xw_L(x)=|x|9 if

u,vZmku,v\in\mathbb{Z}_m^k0

If u,vZmku,v\in\mathbb{Z}_m^k1, one obtains locally binary Lee functions (Verma et al., 23 Jul 2025).

The key combinatorial device is a coloring map u,vZmku,v\in\mathbb{Z}_m^k2 such that

u,vZmku,v\in\mathbb{Z}_m^k3

whenever u,vZmku,v\in\mathbb{Z}_m^k4 or u,vZmku,v\in\mathbb{Z}_m^k5. Using a length-u,vZmku,v\in\mathbb{Z}_m^k6 Lee code u,vZmku,v\in\mathbb{Z}_m^k7, one then encodes

u,vZmku,v\in\mathbb{Z}_m^k8

which yields the general locality bound

u,vZmku,v\in\mathbb{Z}_m^k9

for every locally dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).0 function (Verma et al., 23 Jul 2025).

The locally binary case is completely characterized: dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).1 whenever dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).2 is locally dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).3. This gives an exact redundancy theorem rather than a one-sided bound (Verma et al., 23 Jul 2025).

Later explicit-construction work over dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).4 sharpened the locality picture for locally dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).5-bounded functions. If dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).6, it gives a direct scalar-parity construction with

dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).7

obtained by spacing dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).8 parity symbols in Lee distance and repeating the chosen symbol dL(u,v)=i=1kwL(uivi).d_L(u,v)=\sum_{i=1}^k w_L(u_i-v_i).9 times (K. et al., 3 Aug 2025).

5. Canonical function classes

Three function classes dominate the FCLC literature: Lee weight, Lee weight distribution, and modular sum. Over f(u)f(u)00, the same classes also appear in the homogeneous-distance FCC literature because homogeneous distance and Lee distance coincide there (Liu et al., 4 Jul 2025).

Function class Stated Lee-metric result Source
f(u)f(u)01 f(u)f(u)02 (Verma et al., 23 Jul 2025)
f(u)f(u)03 f(u)f(u)04 (Verma et al., 23 Jul 2025)
f(u)f(u)05 explicit FCLCs; f(u)f(u)06 for odd f(u)f(u)07 with f(u)f(u)08, and f(u)f(u)09 for even f(u)f(u)10 (K. et al., 3 Aug 2025)
locally f(u)f(u)11-bounded f(u)f(u)12 f(u)f(u)13 when f(u)f(u)14 (K. et al., 3 Aug 2025)

For the Lee weight function f(u)f(u)15, the image is f(u)f(u)16. The triangle inequality yields

f(u)f(u)17

for every f(u)f(u)18, so f(u)f(u)19 is locally f(u)f(u)20. At f(u)f(u)21, this gives

f(u)f(u)22

A stronger result uses explicit representatives f(u)f(u)23 satisfying

f(u)f(u)24

Consequently,

f(u)f(u)25

and

f(u)f(u)26

For f(u)f(u)27, one obtains the explicit lower bound

f(u)f(u)28

which over f(u)f(u)29 specializes to

f(u)f(u)30

That f(u)f(u)31 specialization exactly matches the earlier Liu–Liu lower bound, but the Lee-metric derivation holds for arbitrary f(u)f(u)32 (Verma et al., 23 Jul 2025).

For the Lee weight distribution function

f(u)f(u)33

the same weight-difference estimate implies

f(u)f(u)34

Hence f(u)f(u)35 is locally f(u)f(u)36, and at f(u)f(u)37,

f(u)f(u)38

This makes the dependence on the quantization parameter f(u)f(u)39 explicit: coarser quantization lowers the effective local alphabet size and can reduce redundancy (Verma et al., 23 Jul 2025).

The modular sum function was treated explicitly in later Lee-metric construction work. Over f(u)f(u)40, if

f(u)f(u)41

then there are explicit parity-symbol constructions with redundancy f(u)f(u)42 for odd f(u)f(u)43 and f(u)f(u)44, and redundancy f(u)f(u)45 for even f(u)f(u)46. The same work also derived lower bounds from a refined Plotkin-like bound and proved optimality in several concrete parameter regimes (K. et al., 3 Aug 2025).

Over f(u)f(u)47, the homogeneous-distance study gives additional exact small-f(u)f(u)48 statements because Lee and homogeneous metrics coincide there. For the Lee weight function on f(u)f(u)49, it yields

f(u)f(u)50

and supplies explicit constructions achieving those values (Liu et al., 4 Jul 2025).

6. Relation to adjacent FCC frameworks

FCLCs belong to a broader FCC program in which the metric changes but the function-centric logic remains stable. The Hamming-metric literature established the general FCC paradigm and proved the universal lower bound f(u)f(u)51 over finite fields, with equality for sufficiently large fields; symbol-pair and sum-rank works then recast the same design problem as one of irregular-distance coding in their respective metrics (Ly et al., 19 Apr 2025, Xia et al., 2023, Kammila et al., 4 Jul 2026). This suggests that the Lee-metric theory is not an isolated construction but one instance of a metric-dependent, irregular-distance framework.

At the same time, the Lee case has distinctive algebraic features. On f(u)f(u)52, the homogeneous weight

f(u)f(u)53

is exactly the Lee weight, so every FCCHD over f(u)f(u)54 is literally an FCLC (Liu et al., 4 Jul 2025). For f(u)f(u)55 with f(u)f(u)56, homogeneous distance remains a closely related but broader framework, and later work on finite chain rings extends locality, linear-function bounds, and explicit constructions in that setting (Verma et al., 15 Mar 2026).

A further branch studies strict FCCs with data protection, where the function is protected at a higher distance level than the underlying data. Those results are currently stated in the Hamming metric and use f(u)f(u)57-distance graphs, Cayley-graph structure, and subcodes generated by low-weight codewords (Rajput et al., 1 Mar 2026, Rajput et al., 29 Apr 2026). A plausible implication is that analogous Lee-distance graphs and Lee-weight-generated subcodes could support a strict Lee-metric theory, but that step is presented as a prospective direction rather than an established Lee-metric theorem in the cited works.

Across this literature, the central distinction remains the same: FCLCs are not merely Lee-metric error-correcting codes with a specialized decoder; they are codes whose distance constraints, redundancy bounds, and explicit constructions are tailored to the function itself. Later explicit comparisons with classical Lee error-correcting codes and codes that encode only function values show that FCLCs can significantly reduce redundancy while preserving function correctness (K. et al., 3 Aug 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Function-Correcting Lee Codes (FCLCs).