- The paper demonstrates that optimal classical codes, such as perfect codes, MDS codes, and linear codes spanned by minimum-weight codewords, cannot provide strictly stronger protection for function values than for the data itself.
- The analysis relies on an $\alpha$-distance graph framework, leveraging the graph connectivity and combination structure to derive non-existence proofs of strict FCCs based on the covering radius of the linear code.
- The 'connectivity-obstruction' theorem is central, showing that if a code’s minimum-distance graph is connected, then it cannot be an $(f:d,d_f)$-FCC for any functions where $d_f > \alpha$.
- follow_up_questions
- Follow Up Questions
- How does the $\alpha$-distance graph framework apply to other types of error-correcting codes?
- What are the implications of these findings for the design of new function-correcting codes that do offer strict data protection?
- How does this analysis impact the study of function-correcting codes with symbols and pairs-h?
- What metrics are currently used to measure the efficiency and effectiveness of function-correcting codes?
- Find recent papers on function correctness of coding and total analysis.
- output_files
- save.title.txt
- save.meta_description.txt
- save.key_takeaways.txt
- save.follow_up_questions.txt
Background and motivation
Function-correcting codes (FCCs), introduced by Lenz et al. [(Singh et al., 17 Mar 2025) is unrelated; the foundational reference here is the IEEE TIT paper cited as LBWY2023], relax classical error-correction requirements by imposing distance constraints only between codewords whose associated function values differ. This permits lower redundancy when the image of the function f:Fqk→Im(f) is much smaller than its domain, and a substantial literature has since developed bounds and constructions for specific channel models (symbol-pair and b-symbol read channels), metrics (Lee, homogeneous distance), and function classes (locally binary, locally bounded, Hamming weight).
A structural shortcoming of all prior FCC definitions is that they provide no guarantee for the data itself: pairs of messages mapping to the same function value may be encoded at arbitrarily small distance. The framework of FCCs with data protection, introduced in the companion work (Rajput et al., 23 Nov 2025), remedies this. An encoding Cf:Fqk→Fqk+r is an (f:dd,df)-FCC if every pair of distinct messages is at distance at least dd, while every pair with different function values is at distance at least df, where dd≤df. The case df=dd collapses to an ordinary error-correcting code; the interesting regime is that of strict (f:dd,df)-FCCs, where df>dd and the function enjoys strictly stronger protection than the data.
The present paper addresses a natural feasibility question: can well-known optimal families of classical codes be repurposed as strict FCCs? The answer developed here is negative in broad generality, established through a graph-theoretic analysis of code distance structure.
The b0-distance graph framework
The central object is the b1-distance graph b2 of a code b3, whose vertices are the codewords and whose edges connect pairs at Hamming distance at most b4, for b5. The minimum-distance graph b6 corresponds to b7. Since b8 is monotone in b9, connectivity at smaller Cf:Fqk→Fqk+r0 yields stronger conclusions.
The key observation is elementary but consequential: if Cf:Fqk→Fqk+r1 were an Cf:Fqk→Fqk+r2-FCC with Cf:Fqk→Fqk+r3, then the partition of Cf:Fqk→Fqk+r4 into fibers Cf:Fqk→Fqk+r5 would place no edges of Cf:Fqk→Fqk+r6 between distinct fibers. Hence:
- Connectivity obstruction: if Cf:Fqk→Fqk+r7 is connected, then Cf:Fqk→Fqk+r8 cannot be an Cf:Fqk→Fqk+r9-FCC for any nonconstant (f:dd,df)0 with (f:dd,df)1.
- Component-count refinement: if (f:dd,df)2 has (f:dd,df)3 connected components, no strict FCC exists for any (f:dd,df)4 with (f:dd,df)5 and (f:dd,df)6.
The bridge from these combinatorial conditions to classical code parameters is a covering-radius lemma: any two disconnected components of (f:dd,df)7 must lie at mutual distance exceeding (f:dd,df)8, and a midpoint argument shows that the distance between any bipartition of (f:dd,df)9 is at most dd0, where dd1 is the covering radius. Consequently dd2 is connected whenever dd3, yielding the general exclusion: a code with covering radius dd4 cannot serve as a strict dd5-FCC for any nontrivial dd6 with dd7.
Perfect codes
A perfect dd8-error-correcting code attains the Hamming bound and has covering radius exactly dd9. Applying the covering-radius lemma with df0, the minimum-distance graph of every perfect code is connected. The immediate corollary is a quantitative redundancy statement: any df1-FCC with df2 built on top of a perfect-code-length parameter must satisfy
df3
where df4 is determined by the Hamming bound equality df5. In other words, achieving even one unit of extra function protection costs at least the full redundancy of the underlying perfect code — such codes offer no "free" headroom for stricter function distances.
MDS codes
For maximum distance separable codes, connectivity of the minimum-distance graph is proved directly rather than via the covering radius. The proof rests on a projection argument exploiting the defining MDS property that every projection onto df6 coordinates is bijective. Given codewords df7, one constructs a neighbor df8 of df9 in dd≤df0 (i.e., dd≤df1) that agrees with dd≤df2 on strictly more coordinates than dd≤df3 does, so that dd≤df4. Iterating this descent produces a path from any dd≤df5 to any dd≤df6, establishing connectivity of dd≤df7 for every MDS code.
The consequence mirrors the perfect-code case: assuming an MDS dd≤df8 code exists (dd≤df9), any df=dd0-FCC with df=dd1 requires redundancy df=dd2. Since df=dd3 is already the full redundancy of the MDS code itself, MDS codes cannot provide strictly stronger function protection than data protection without additional redundancy beyond their Singleton-optimal allocation.
Linear codes spanned by minimum-weight codewords
The graph framework also admits a clean characterization for linear codes. For a linear df=dd4 code over df=dd5, adjacency in df=dd6 corresponds to differences lying in df=dd7, the set of minimum-weight codewords. It follows that df=dd8 is connected if and only if df=dd9: if the minimum-weight codewords span (f:dd,df)0, every codeword is reachable from zero along minimum-weight steps; otherwise, the cosets of the proper subcode (f:dd,df)1 form disconnected components. Many familiar linear codes satisfy the spanning condition, so Corollary col:LC excludes them wholesale as strict FCCs for any nontrivial function with (f:dd,df)2.
Extensions via known covering radii
Because only an upper bound on the covering radius is needed, the non-existence criterion extends to further families:
- Quasi-perfect codes (one-coordinate extensions of perfect codes, e.g., extended Hamming and extended Golay codes) have covering radius (f:dd,df)3, excluding strict FCCs with (f:dd,df)4.
- First-order Reed–Muller codes (f:dd,df)5 have exact covering radius (f:dd,df)6, giving explicit thresholds.
- General linear codes are covered by the Janwa–Mattson bound (f:dd,df)7 in terms of the dual distance (f:dd,df)8, and higher-order Reed–Muller codes by the Cohen–Litsyn upper bounds.
These results convert any published covering-radius estimate into a concrete non-existence threshold for strict FCCs.
Limitations and open questions
The results are inherently negative and conditional on the structure of existing codes; they do not establish existence of strict (f:dd,df)9-FCCs for any particular parameters, nor do they determine the optimal redundancy df>dd0 in cases where strict codes do exist. The covering-radius route gives sufficient, not necessary, conditions for connectivity, so codes with large covering radius may still fail to be strict FCCs for finer reasons left unexplored here. The component-count theorem (Theorem aDG2) suggests that codes whose minimum-distance graphs have few components could still support functions with small images at modestly elevated df>dd1; characterizing which codes admit such partial exclusions remains open. Finally, the analysis is confined to systematic encodings over the Hamming metric; extensions to other metrics or to the df>dd2-symbol and symbol-pair settings studied elsewhere in the FCC literature are not addressed.
Conclusion
This paper develops an df>dd3-distance-graph framework under which the feasibility of strict function-correcting codes with data protection reduces to connectivity properties of codes. The main conclusions are that perfect codes, MDS codes, and linear codes spanned by their minimum-weight codewords cannot provide strictly greater protection for function values than for data, and that any upper bound on a code's covering radius translates directly into a non-existence threshold df>dd4. These findings delineate the structural limits of repurposing optimal classical codes for hierarchical data-and-function protection, and indicate that strict FCCs, where they exist, require code constructions beyond the standard optimal families.