arXiv:2608.29389cs.ITAug 2026

Manuscript Offprint

arXiv:2608.29389

On systematicity of linear function-correcting codes

Duy Ho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The standard formulation of function-correcting codes uses systematic encodings. We study the redundancy cost of this constraint when both the prescribed function and the encoding are linear. We introduce the function-separation distance and show that several classical unequal error protection parameters are special cases. For linear functions and encodings, this distance is the first relative generalized Hamming weight of the code relative to the encoded kernel. We formulate free and systematic linear separation problems. We prove that the optimal free redundancy depends only on the rank of the function, and determine the optimal systematic redundancy for prescribed separations d≤3d \leq 3.

Keywords: Function-correcting codes, systematic encodings, function-separation distance, unequal error protection, optimal redundancy, systematicity gap.

Mathematics Subject Classification: 94B05, 94B60, 94B65

1 Introduction

In 2023, Lenz, Bitar, Wachter-Zeh, and Yaakobi introduced function-correcting codes (FCCs), a coding framework designed to protect the value of a prescribed function of a transmitted message against errors [7]. In contrast to classical error-correcting codes, which impose a minimum-distance requirement between every pair of distinct codewords in order to recover the entire message, FCCs impose such a requirement only on certain pairs of codewords. This relaxation is well motivated since there are scenarios where the receiver is interested only in specific parts of the transmitted message, rather than in recovering the entire message.

Since then, the theory of FCCs has developed along three main directions. First, the framework has been extended to different metrics and channel models, including the symbol-pair and b-symbol metrics, homogeneous and Lee metrics over finite rings, and the Rosenbloom-Tsfasman metric for parallel channels [5, 10, 11, 21, 23, 24, 25, 26]. Second, considerable attention has been devoted to optimal redundancy and to particular classes of functions. Zhang et al. improved bounds and constructions for the Hamming-weight and Hamming-weight-distribution functions [27], Ly and Soljanin studied redundancy over general finite fields [14], and Premlal and Rajan obtained new bounds and investigated FCCs for linear functions [17]. Third, several structural extensions of the FCC framework have been introduced. FCCs with data protection jointly protect the message and a prescribed function and also include an investigation of linear FCCs [19]. Function-correcting partition codes formulate the problem directly in terms of partitions of the message space and allow several functions to be protected simultaneously [20], while generalized function-correcting partition codes allow different partitions to receive different levels of protection [18].

The standard FCC formulation introduced in [7] uses systematic encodings. This means each codeword has the form (u,p(u))(u, p(u)), so that the original message coordinates are retained and redundancy is appended to them. Although this requirement is natural in applications, it imposes an additional structural constraint on the encoding and may increase the required redundancy. In this paper, we study the cost of this constraint in the linear setting. For a prescribed linear function f and a prescribed separation d, we compare arbitrary linear encodings with linear encodings that are systematic relative to a distinguished basis of the message space. We call the difference between the corresponding optimal redundancies the systematicity gap, and investigate when this gap vanishes and how large it can be.

Let V denote the message space. To compare these settings within a common framework, for a function f:V→Im(f)f: V \to \text{Im}(f) and an encoding Enc, we consider the function-separation distance δEnc(f)\delta_{\text{Enc}}(f), defined as the minimum Hamming distance between encoded messages having distinct function values. Given a prescribed separation d, the basic requirement is therefore

δEnc(f)≥d.\delta_{\mathrm{E n c}}(f)\geq d.

Depending on the linearity and systematicity conditions imposed on f and Enc, the general separation problem gives rise to the specializations represented in Figure 1. These problems are stated explicitly below.

I The separation problem. Given a function f:V→Im(f)f: V \to \text{Im}(f) and a prescribed separation dd, determine the least redundancy of an encoding Enc satisfying δEnc(f)≥d\delta_{\text{Enc}}(f) \geq d.

II The systematic separation problem. Given a function f:V→Im(f)f: V \to \text{Im}(f) and a prescribed separation dd, determine the least redundancy of an encoding Enc that is systematic relative to a distinguished basis E\mathcal{E} and satisfies δEnc(f)≥d\delta_{\text{Enc}}(f) \geq d.

For d=2t+1d = 2t + 1, this is the usual FCC problem, whose optimal redundancy is denoted by rf(k,t)r_f(k, t) in the literature.

III The free linear separation problem. Given a linear function f:V→Fqℓf: V \to \mathbb{F}_q^\ell and a prescribed separation dd, determine the least redundancy of a linear encoding Enc satisfying δEnc(f)≥d\delta_{\text{Enc}}(f) \geq d.

We denote the corresponding optimal redundancy by rffree,lin(d)r_{f}^{\text{free,lin}}(d).

II ∩ III The systematic linear separation problem. Given a linear function f:V→Fqℓf: V \to \mathbb{F}_q^\ell and a prescribed separation dd, determine the least redundancy of a linear encoding Enc that is systematic relative to E\mathcal{E} and satisfies δEnc(f)≥d\delta_{\mathrm{Enc}}(f) \geq d.

We denote the corresponding optimal redundancy by rf,Esys,lin(d)r_{f,\mathcal{E}}^{\mathrm{sys},\mathrm{lin}}(d).

Here, Problem II ∩ III denotes the common specialization of Problems II and III. Equivalently, it is the linear separation problem with the additional requirement that the encoding be systematic.

Figure

Figure 1: Specializations of the separation problem under linearity and systematicity constraints.

With the terminology above, in the present paper we address Problem III and its systematic subclass Problem II ∩ III. We determine the optimal redundancy in Problem III exactly for every prescribed separation d. For Problem II ∩ III, we establish general structural results and determine the optimal systematic linear redundancy for all prescribed separations d≤3d \leq 3. At separation d=3d = 3, our results characterize exactly when the systematicity gap is zero and show that it can be arbitrarily large.

The relation between FCCs and classical unequal error protection (UEP) codes was noted in [7, Sec. I-B], see also [10, 19]. The function-separation distance makes this relation precise. We show that the standard UEP parameters are function-separation distances of the corresponding coordinate and projection maps and, for linear functions and linear encodings, identify this distance with a relative generalized Hamming weight.

The content of the paper is organized as follows. In Section 2, we recall the basic definitions of encodings, function-correcting codes, function-separation distance, and the UEP parameters. In Section 3, we establish the correspondence between function-separation distance and classical UEP parameters, and derive the relative-distance and separation-vector representations for linear encodings and linear functions. In Section 4, we formulate the free and systematic linear separation problems, determine the optimal free linear redundancy, and study the effect of systematicity. In Section 5, we determine the optimal systematic linear redundancy for prescribed separations d≤3d \leq 3.