Sara D. Cardell, Gustavo Terra Bastos, Cintya Wink de Oliveira Benedito
Abstract
We study decoding procedures for a family of MDS array codes previously constructed from the Kronecker product of a superregular matrix and a non-singular matrix over a finite field. By exploiting the particular structure of their parity-check matrices, we develop decoding algorithms for different channel models. For the erasure channel, we provide an algorithm capable of recovering any pattern of up to n−k symbol erasures. For the q-ary symmetric channel, we investigate the decoding of one and two symbol errors and give explicit procedures for determining their locations and values. We also consider the particular case in which the superregular matrix is a Vandermonde matrix, showing how its additional algebraic structure can be exploited in the decoding process. Explicit examples over different finite fields are provided to illustrate the proposed procedures.
Reliable transmission and storage of information require mechanisms capable of recovering data affected by noise, interference, or failures. Coding techniques address this problem by introducing structured redundancy into the data, enabling the detection and correction of errors at the receiver or during data recovery [1, 2]. The error-correcting capability of a code is closely related to its minimum Hamming distance, which determines the largest number of errors that can be uniquely corrected. In particular, codes whose minimum distance attains the Singleton bound are known as maximum distance separable (MDS) codes and achieve the largest possible minimum distance for a given code length and dimension [1–3].
Array codes provide a natural framework for organizing code symbols into multidimensional structures, facilitating the representation and recovery of encoded data. These features have motivated their use in applications requiring efficient error control and decoding [3, 4]. When array codes also satisfy the MDS property, they combine the flexibility of the array representation with the optimal distance of MDS codes, making them particularly suitable for storage systems that require reliable and efficient data recovery.
MDS array codes have been constructed using different algebraic and combinatorial approaches. Classical contributions include the construction of array codes for phased burst correction by Blaum and Roth [5] and the subsequent development of MDS array codes with independent parity symbols in [6]. More recent constructions have addressed requirements arising in distributed storage systems, including efficient repair and reduced sub-packetization levels [7], as well as constructions based on deleted circulant matrices have been used to obtain MDS array codes and, subsequently, optimal locally repairable array codes [8]. Among algebraic approaches, constructions based on superregular matrices provide a natural framework for deriving MDS array codes together with their decoding procedures. In this context, MDS array codes whose parity-check matrices are obtained from block-superregular matrices composed of powers of a companion matrix, and also develop a decoding algorithm for the resulting codes [9]. Following these developments, [10] considers MDS array codes constructed from superregular matrices, with particular emphasis on Vandermonde matrices, and develops decoding algorithms for correcting symbol errors without prior knowledge of their locations. In addition, was proposed in [11] constructions of superregular and block-superregular matrices based on Kronecker products, providing a general algebraic framework for generating the matrix structures underlying the MDS array codes considered in this work.
The q-ary symmetric channel (q-SC) and the q-ary erasure channel (q-EC) are two standard channel models for coding over the finite field Fq. In the q-SC, each transmitted symbol is received correctly with probability 1−p, while with probability p it is replaced by one of the other q−1 symbols in Fq, each with probability p/(q−1) [12, 13]. In the q-EC, the output alphabet is Fq∪ε, and each transmitted symbol is received correctly with probability 1−ρ or erased with probability ρ, in which case the receiver observes the erasure symbol ε [14–16]. These channel models lead to fundamentally different decoding scenarios: in the q-EC, the locations of the erased symbols are known to the decoder, whereas in the q-SC, the locations of the corrupted symbols are unknown. Moreover, a code with minimum distance d can uniquely recover any pattern of up to d−1 symbol erasures [14].
In this work, we exploit the algebraic structure underlying the MDS array codes associated with the construction of superregular and block superregular matrices based on the Kronecker product of a superregular matrix and a non-singular matrix over a finite field [11] to derive decoding procedures for these two channel models. For the q-EC, we develop an algorithm capable of recovering any pattern of up to n−k symbol erasures. For the q-SC, where the error locations are not known to the decoder, we develop explicit procedures for correcting one and two symbol errors by determining both their locations and values. We further investigate the particular case in which the superregular matrix is Vandermonde, exploiting its additional algebraic structure to simplify the decoding procedures. These results highlight how the algebraic structure of the parity-check matrix can be directly exploited to design decoding algorithms for MDS array codes under substantially different channel conditions.
2 Preliminaries
Let Fq be the finite field with q elements. In this section we introduce the main notions of this work.
2.1 Linear codes
We now recall the definition of Fq-linear code over the alphabet Fqb [17, 18].
Definition 1 Let b be a positive integer. A code C is said to be an Fq-linear code of length n over Fqb if it is a linear subspace of the vector space Fqnb. Therefore, the codewords of C can be seen as codewords of length nb over Fq.
Let us denote by CFq and CFqb the code viewed over the different alphabets, Fq and Fqb, respectively. Both CFq and CFqb refer to the same set of codewords, but considered over different alphabets.
Let [N,K,D] denote the parameters of the code CFq. The number k=logqbCFqb is called the normalized dimension (or just dimension) of CFqb [17]. If b divides K then k=K/b. Thus, the parameters of the code CFqb are [n,k,d] over Fqb, where d is the minimum distance and n=N/b. The minimum distance of CFqb is measured with respect to the symbols of Fqb (see [18]).
Example 1 Consider the following matrix
G=10000100001000011110101111011010.
This matrix is a generator matrix of a binary code CF2 with parameters [8, 4, 3]. If we divide the bits of each codeword into groups of two elements, then the codewords, over the new alphabet F22, have length 4 and the normalized dimension is 2. The generator matrix can then be seen as a block matrix. If we consider the code CF22, then the parameters of the code are [4, 2, 3]. Notice that CF2 is not MDS, however the code CF22 is.
In general, the minimum distance of CFq is greater than or equal to the minimum distance of CFqb (see [19] for more details).
2.2 Superregular matrices
Definition 2 A matrix A is said to be a superregular matrix over Fq if every square submatrix of A is non-singular over Fq.
Example 2 The matrix
A=111234422
is superregular over F7, since its determinant is nonzero ( det(A)=2), all its entries are nonzero, and all its 2×2 minors are nonzero over F7.
These matrices are also known as MDS matrices, due to their relation with MDS (maximum distance separable) codes as we may see in the following theorem.
Theorem 1 [20] An [n,k,d]-linear code C over Fq with generator matrix G=[Ik∣A], where Ik is the k×k identity matrix and A∈Matk×n−k(Fq), is MDS if and only if A is a superregular (MDS) matrix over Fq.
There are several families of matrices that are superregular (as long as the field is large enough), for instance Cauchy and Vandermonde matrices [21, 22]. For more details about superregular matrix constructions, see [23].
Now, we introduce the definition of block superregular matrix.
Definition 3 A matrix A=[Aij]∈Matbm×bt(Fq), where each block Aij is of size b×b, is called a b-block superregular matrix if every square submatrix formed by complete b×b blocks Aij is non-singular over Fq.
is a 2-block superregular matrix over F7, since the matrices
[1011],[2022],[3033]
and A itself (det(A) = 1) are non-singular matrices over F7. Notice that A is not superregular over F7 (it has zero entries).
These matrices are related to MDS Fq-linear codes, as shown in the following theorem.
Theorem 2 ([18, 19]) Let G=[Ikb∣A] be an kb×nb generator matrix of an Fq-linear code CFqb with parameters [n,k] over Fqb. Then CFqb is MDS if and only if A is a b-block superregular matrix over Fq.
In [11], the authors introduced a new construction of superregular block matrices based on the Kronecker product of a superregular matrix and a non-singular matrix. In this work, we consider the Fq-linear code generated by one of these matrices, which is presented in the following result.
Theorem 3 [11, Corollary 2] If A∈Matr×s(Fq) is superregular and B1,B2,...,Bs∈Matn×n(Fq) are non-singular, then the matrix given by
Notice that if B1=B2=⋯=Bs=B, then the matrix M is the Kronecker product of A and B, that is, M=A⊗B.
3 Decoding algorithm in the Erasure Channel
The q-ary erasure channel (q-EC) is a discrete memoryless channel with input alphabet Fq and output alphabet Fq∪{ε}, where ε denotes an erasure symbol. Each transmitted symbol is received correctly with probability 1−ρ and is replaced by ε with probability ρ. Therefore, the receiver knows the locations of the erased symbols, although their values remain unknown [24].
Let C be a Fq-linear code over Fqb with parameters [n,k] and parity check matrix
with A=[aij]n−k×k superregular and B1,…,Bk non-singular of size b×b. Then, according to Theorem 3, M is b-block superregular. This means that C is an MDS code over Fqb (Theorem 2), i.e., the minimum distance of C is d=n−k+1.
Assume the codeword c is sent and we receive v=c+e, where e is the channel error and assume we are working in the erasure channel, that means that the code can correct up to n−k erasures.
The syndrome can be computed as the vector
st=Hvt=Hct+Het=Het.
Consider
s=[s1s2⋯sn−k]ande=[e1e2⋯en−k⋯en],
where si,ej∈Fqb, for i=1,2,…,n−k and j=1,2,…,n. Then, according to the form of M, we have that
si=j=1∑kaijBjej+ei+k,fori=1,2,…,n−k.
Over the erasure channel, the code can decode up to n−k erasures and the receiver knows the position of the erasures. Assume we receive the word v and n−k erasures occurred, t in the information part (the first k components) and s in the parity-check part (the last n−k components), with t+s=n−k. Denote by
Now, denote frt=Bireirt, for r=1,…,t, and ft+r=ek+jr, for r=1,…,s. Substituting in (2), we have, in total, n−k unknowns symbols: f1,f2,…,fn−k. The system can also be seen as:
be the submatrix of A consisting of the columns indexed by I, and
B∗=[ej1ej2⋯ejs]n−k×s,
where ej denotes the j-th standard basis vector of F2n−k, i.e., B∗ is composed of the columns of the identity matrix In−k with indices in J. Then the matrix of the linear system (3) with the unknowns f1,f2,…,fn−k is given by
We now analyze whether the matrix M∗ is invertible. The matrix A∗ has size (n−k)×t, while B∗ has size (n−k)×s. Since t+s=n−k, the matrix [A∗∣B∗] is a square matrix of size (n−k)×(n−k). Consequently, M∗=[A∗∣B∗]⊗Ib is also a square matrix. Its determinant is therefore given by
After a suitable permutation of its rows and columns, the matrix [A∗∣B∗] can be written in block triangular form as
[AJc,IAJ,I0Is],
where AJc,I is the submatrix of A obtained by selecting the rows indexed by Jc and the columns indexed by I. Since ∣Jc∣=t, this is a t×t minor of A. As A is superregular, every nontrivial square minor of A is nonzero. Hence
Notice that in Algorithm 1 we do not need all matrices Bi−1, just the ones corresponding to the positions of the errors in I. Furthermore, when M=A⊗B, we have a special case when B=B1=⋯=Bk. In this case, the algorithm is less complex, since we only have to compute B−1 once.
If we focus on the inverse of M∗, we see that
(M∗)−1=[A∗∣B∗]−1⊗Ib.
Therefore, if the inverse of [A∗∣B∗] can be efficiently computed, there is no need to explicitly compute the inverse of the larger matrix M∗. In this way, the decoding algorithm avoids the additional computations inverting a matrix of size (n−k)b×(n−k)b.
Let Jc={r1,…,rt} denote the complement of J in {1,…,n−k}. Since B∗ consists of the columns of In−k indexed by J, after a suitable permutation of the rows and columns, the matrix [A∗∣B∗] can be written as
[AJc,IAJ,I0Is].
Let C=AJc,I. Then
[CAJ,I0Is]−1=[C−1−AJ,IC−10Is].
Therefore, up to the corresponding permutation matrices, the inverse of [A∗∣B∗] is determined by the inverse of the t×t submatrix AJc,I.
Example 5 Consider de MDS array code presented in Example 4, where,
This example is particularly simple since [A∗∣B∗] is already in triangular form, convenient to compute the inverse. For larger matrices, the columns corresponding to B∗ may be distributed among different positions. In this case, suitable row and column permutations can be applied to obtain a block triangular form, after which the inverse can be computed using the inverse of the corresponding submatrix of A.
4 Decoding algorithm no Symmetric Channel
The q-ary symmetric channel (q-SC) is a discrete memory-less channel that generalizes the binary symmetric channel to the alphabet Fq [12]. Its input and output alphabets are both identified with Fq, and its transition probabilities are given by
Pr(Y=y∣X=x)={1−p,q−1p,y=xy=x.
Thus, each transmitted symbol is received correctly with probability 1−p, whereas, with probability p, it is replaced by one of the remaining q−1 symbols, each occurring with equal probability p/(q−1) [25]. For q=2, this model reduces to the binary symmetric channel.
If a q-ary code has minimum Hamming distance d, then nearest-neighbor decoding with respect to the Hamming distance corrects every error pattern of Hamming weight at most
t=⌊2d−1⌋.
Since C is an [n,k,n−k+1]q MDS code, it can correct up to
t=⌊2n−k⌋
symbol errors over the q-ary symmetric channel.
Consider again the Fq-linear code C, with parameters [n,k,n−k+1] consider in Section 3. Assume the codeword c is sent and we receive v=c+e. The syndrome can be computed as the vector
st=Hvt=Hct+Het=Het.
Consider
s=[s1s2⋯sn−k]ande=[e1e2⋯en−k⋯en],
where si,ej∈Fqb, for i=1,2,…,n−k and j=1,2,…,n.
The decoding procedure is developed by considering the possible locations of the symbol errors, leading to the cases presented in the following subsections.
4.1 Errors in the parity symbols
If l symbol errors ej1,…,ejl=0 occur in the parity symbols with indices k+j1,…,k+jl, respectively, where 1≤j1<⋯<jl≤n−k, then the error vector is given by
Notice that eji appears in the k+ji-th position in the error vector (whose length is n) and in the ji-th position in the syndrome vector (whose length is n−k), for i=1,…,l. Hence, the syndrome directly reveals the locations and values of all l symbol errors occurring in the parity symbols.
Example 6 Consider the matrices
A=[1222],B1=[1011],B2=[1101],
where A is superregular and B1,B2 are non-singular over F3. The corresponding matrix
is the parity-check matrix of an MDS F3-linear code with parameters [4,2,3] over F32. This code has 2 parity symbols and 2 information symbols. Assume the sent codeword is given by
c=[10∣10∣01∣20]
and that we receive the word
v=[10∣10∣00∣20].
The syndrome is calculated by
st=Hvt=0200.
Thus,
s1t=[02]ands2t=[00].
Since the error appears only in the 1st position of the vector syndrome, then the error is in the first parity symbol, that is, in the 3rd position of the codeword (2 information symbols + 1 parity symbol). Moreover, the error is equal to the syndrome symbol s1. Therefore, the codeword is:
c==[10∣10∣00∣20]−[00∣00∣02∣00][10∣10∣01∣20].
4.2 One error in the information symbols
If one symbol error ej=0 occurs in the information part, with 1≤j≤k, the error vector is given by
The complete decoding procedure is presented in Algorithm 2 in Appendix A.
Example 7 Consider the same code as in Example 6. Assume the sent codeword is given by
c=[10∣10∣01∣20]
and that we receive the word
v=[00∣10∣01∣20].
The syndrome is calculated by
st=Hvt=2010,
that is,
s1=[20]ands2=[10].
Since all the syndrome symbols are affected, this means that the error is in one of the 2 information symbols. Now, we consider the inverses of B1 and B2:
B1−1=[1021]andB2−1=[1201].
Now we multiply each symbol of the syndrome by both inverses:
Since [21] is not a column of A but [12] is the first column of A, the only possibility is that the error occurred in the first information symbol and the error is [2 0]. In this case the codeword would be:
Since [11] is not a column of A but [22] is the second column of A, the only possibility is that the error occurred in the second information symbol and the error is [1 2]. In this case the codeword would be:
c2==[00∣10∣01∣20]−[00∣12∣00∣00][00∣01∣01∣20].
To check which word is correct, we multiply again by H in order to obtain the syndrome. It is possible to check that
Hc1t=0000andHc2t=0012.
Therefore, the error occurs in the 1st information symbol and it is given by e1=[20]. The codeword is
c1=[10∣10∣01∣20].
Remark 1 If we consider B1=B2=⋯=Bk=B, that is all, the Bi matrices are equal, the complexity of the algorithm is lower, since we only have to compute one inverse matrix, B−1 and we do not have to test several possible cases. Algorithm 3 presents the recovery procedure for the special case in which all the matrices Bj are equal, that is, B1=⋯=Bk=B.
Example 8 Consider the matrices
A=[1222]andB=[1011],
where A is superregular and B is non-singular over F3. The corresponding matrix
H=[B2B2B2B]I4=1020112220202222I4,
is the parity-check matrix of an MDS F3-linear code with parameters [4,2,3] over F32. Assume the sent codeword is given by
c=[10∣10∣00∣20]
and that we receive the word
v=[10∣01∣00∣20].
The syndrome is calculated by
st=Hvt=0202.
Since all the syndrome symbols are affected, we know the error occurs in one of the first 2 information symbols. Now, we multiply each symbol of the syndrome by B−1:
When we multiply the syndrome by the inverse of B we obtain Aj⊗ej. In this case j=2 and the error is [2 1]. Therefore the error is in the second information symbol and the sent codeword is:
c==[10∣01∣00∣20]−[00∣21∣00∣00][10∣10∣00∣20].
Remark 2 To improve the efficiency of the algorithm, we can choose B matrices whose inverse is easy to compute, such as diagonal, orthogonal, Hadamard-type, permutation, triangular, Householder, circulant, or block-diagonal matrices.
4.3 One error in the information symbols and one error in the parity symbols
Consider two symbol errors, one error, ej1=0, in the information part and the other, ej2=0, in the parity part, with 1≤j1≤k and 1≤j2≤n−k. The error vector is given by
Now, since the matrix A is superregular, all entries are different from zero and we can define D=diag(a1j1−1,a1j2−1,…,an−k,j1−1). Thus, we can multiply (5) by D⊗Ib:
Notice that, in the resultant vector, all the syndrome symbols are equal to ej1t except for the j2-th symbol, which corresponds to the error ej2. Therefore, we can isolate ej2 and obtain it directly.
The complete decoding procedure is presented in Algorithm 4 in Appendix A.
Example 9 Consider the superregular matrix in F13 given by:
A=643933619
and the non-singular matrix
B=[1011].
The corresponding matrix
H=[A⊗B∣I6]=6B4B3B9B3B3B6B1B9BI6,
is the parity check matrix of an [6,3,4] MDS F13-linear code over F132. Assume that the codeword
c=[10∣10∣00∣110∣60∣70]
is sent, but we receive
v=[10∣11∣00∣110∣60∣71].
The syndrome is calculated by
st=Hvt=993334,
that is,
s1=[99],s2=[33]ands3=[34].
Suppose that one error occurred in the information part and another in the parity-check part. Multiplying the syndrome on the left by I⊗B−1, we obtain:
There are no similar symbols in the vector (7), therefore, we pass to the second column and do the same. Consider now the elements in second column of A, A2=[933]t, and construct
diag(9−1,3−1,3−1)=diag(3,9,9).
Then we mutiply the vector (6) by the diagonal matrix:
Notice that the first two symbols are equal, therefore that is the value of the error in the information part. Since we are currently working with the second column, the error is in position two of the information symbols:
e2=[01].
Since the third syndrome symbol is different, then we know there is another error in the third parity symbol, that is, the sixth symbol of the received word. Since we know that
Notice that, again, if we consider B1=B2=⋯=Bk=B, the complexity of the algorithm is reduced.
4.4 Two errors error in the information symbols
Consider two symbol errors in the information part, located at distinct positions 0≤j1≤j2≤k, with ej1=0 and ej2=0. The error vector is given by
where A∗ is the submatrix of A formed by the columns indexed by j1 and j2. The coefficient matrix A∗⊗Ib in (9) has dimensions (n−k)b×2b.
Notice that, since A is superregular, the matrix A∗⊗Ib has full column rank and therefore admits a left inverse. Since the system (9) has a unique solution, it is sufficient to consider any 2b linearly independent equations. In particular, we can use the first 2b equations, since the corresponding 2×2 submatrix of A∗ is non-singular by the superregularity of A.
Example 10 Consider the same code as in Example 9. Assume the same codeword
c=[10∣10∣00∣110∣60∣70]
but now with the received word
v=[10∣11∣23∣110∣60∣70].
The syndrome is computed by:
st=Hvt=018694,
that is,
s1=[01],s2=[86]ands3=[94].
Suppose both errors occurred in the information part. Multiplying the syndrome by I3⊗B−1:
However, this is not a codeword, since Hct=0, therefore, the errors are not in those positions. Testing the second and the third columns of A, that is, j1=2 and j2=3:
Remark 3 The left inverse of M=A∗⊗Ib is not unique in general. However, a particularly simple left inverse can be obtained by considering only the first 2b equations of (9).
Let
A2∗=[a1j1a2j1a1j2a2j2].
Since A is superregular, A2∗ is non-singular. Hence, we can express the matrix M as follows
M=[A2∗⊗IbA∗⊗Ib],
where A∗ consists of the remaining n−k−2 rows of A∗. Now, we may define
Thus, for fixed candidate positions j1 and j2, the first 2b equations are sufficient to determine the two corresponding error symbols, while the remaining equations can be used to verify whether the obtained solution is consistent with the complete syndrome.
For instance, in Example 10, we had the matrix
M=903030090303601090060109.
In this case, b=2. Considering the first 2b=4 rows of M, the corresponding 2×2 submatrix of A∗ is
Thus, the first four equations are sufficient to determine the two error symbols for the candidate positions j1=2 and j2=3, whereas the last two equations can be used to verify that the obtained solution is consistent with the complete syndrome.
5 Example with a Vandermonde matrix
Let α∈Fq and consider the Vandermonde matrix
A=αα2⋮αn−kα2α4⋮α2(n−k)⋯⋯⋯αkα2k⋮αk(n−k).
We assume that α is chosen so that A is superregular. Let B∈Matb×b(Fq) be a non-singular matrix. Then
For fixed candidate positions j1 and j2, consider the first 2b equations of (10). Their coefficient matrix is C⊗Ib, where
C=[ββ2γγ2].
Since A is superregular, det(C)=βγ2−β2γ=0. Consequently,
C−1=(βγ2−β2γ)−1[γ2−β2−γβ],
and a left inverse of the coefficient matrix in (10) is
L=[C−1⊗Ib∣02b×(n−k−2)b].
Thus, for each pair of candidate positions j1 and j2, the first 2b equations determine the corresponding error symbols, while the remaining equations can be used to verify whether the obtained solution is consistent with the complete syndrome.
Moreover, since β=αj1 and γ=αj2, the determinant of C can be expressed directly as a power of the primitive element α. Indeed,
det(C)=αj1+2j2−α2j1+j2=αj1+2j2(1−αj1−j2).
Therefore, since j1=j2, the factor 1−αj1−j2 is nonzero and may itself be written as a power of α by means of Zech logarithms [26]. If q is odd and
Zα(k)=logα(1+αk),
then, since −1=α(q−1)/2,
det(C)=αj1+2j2+Zα(j1−j2+2q−1).
In characteristic two, this reduces to
det(C)=αj1+2j2+Zα(j1−j2).
Thus, the inverse factor appearing in C−1 can be computed entirely at the exponent level, which may simplify its implementation when a discrete-logarithm or Zech-logarithm table for Fq is available.
The complete decoding procedure is presented in Algorithm 5 in Appendix A.
Example 11 Consider F8=F2(α), where α is a root of p(x)=1+x+x3. In particular, α3=α+1 and α7=1. Consider the matrix
A=αα2α3α2α4α6α3α6α9=αα2α3α2α4α6α3α6α2,
which is superregular over F8 and let
B=[1011].
The matrix B is non-singular and, in fact, B−1=B. Hence
H=αBα2Bα3Bα2Bα4Bα6Bα3Bα6Bα2BI6
is the parity-check matrix of an MDS F8-linear code with parameters [6,3,4] over F82.
Consider the codeword
c=[10∣00∣00∣α0∣α20∣α30].
Suppose that the error vector is
e=[α0∣00∣α0∣00∣00∣00],
so that two symbol errors occur at positions j1=1 and j2=3 of the information part. The received word is
v=c+e=[1+α0∣00∣α0∣α0∣α20∣α30].
Assume we do not know the error vector. The corresponding syndrome of v is
st=Hvt=Het=α0α0α60.(11)
Multiplying by I3⊗B we obtain
(I3⊗B)st=α0α0α60.
Let us first test the candidate positions j1=1 and j2=2. In this case, β=α, and γ=α2, and the coefficient matrix is
M1,2=α0α20α300α0α20α3α20α40α600α20α40α6.
The 2×2 matrix associated with the first four equations is
Hence the pair (1,3) is consistent with the complete syndrome given in (11) and the error vector is recovered as
e=[α0∣00∣α0∣00∣00∣00].
Consequently,
c=v−e=[10∣00∣00∣α0∣α20∣α30],
which is the transmitted codeword.
Notice that this example does not imply that every pattern of two symbol errors can be uniquely corrected by an [6,3,4] code. Rather, under the assumption that both errors occur in the information part, it illustrates how the Vandermonde structure can be exploited to determine the error values for each pair of candidate positions and how the remaining syndrome equations can be used to test the consistency of that pair.
Acknowledgments
This work was supported by supported by Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq), Brazil, with process 405842/2023-6. The first author was supported by FAPESP with processes 2024/05051-7 and 2024/00923-6. The second author was supported by project FAPEMIG RED-00133-21.
References
[1] Huffman, W.C., Pless, V.: Fundamentals of Error-correcting Codes, 1st edn. Cambridge University Press, Cambridge (2003)
[2] MacWilliams, F.J., Sloane, N.J.A.: The Theory of Error-Correcting Codes, 3rd edn. North-Holland Publishing Company, Amsterdam (1977)
[3] Blaum, M., Farrell, P.G., Tilborg, H.C.A.: Handbook of Coding Theory, 1st edn. Elsevier Science B.V., Amsterdam (1998)
[4] Farrell, P.G.: A survey of array error control codes. European Transactions on Telecommunications 3(5), 441–454 (1992) https://doi.org/10.1002/ett.4460030505
[5] Blaum, M., Roth, J.: New array codes for multiple phased burst correction. IEEE Transactions on Information Theory 39(1), 66–77 (1993) https://doi.org/10.1109/18.179343
[6] Blaum, M., Bruck, J., Vardy, A.: MDS array codes with independent parity symbols. IEEE Transactions on Information Theory 42(2), 529–542 (1996) https://doi.org/10.1109/18.485722
[7] Li, L., Yu, X., Luo, Y., et al.: MDS array codes with efficient repair and small sub-packetization level. Designs, Codes and Cryptography 92(12), 3783–3798 (2024) https://doi.org/10.1007/s10623-024-01440-8
[8] Fang, W., Lv, J., Chen, B., Xia, S.-T., Chen, X.: New constructions of MDS array codes and optimal locally repairable array codes. IEEE Transactions on Information Theory 70(3), 1806–1822 (2024) https://doi.org/10.1109/TIT.2024.3353111
[9] Cardell, S., Climent, J.-J., Requena, V.: A construction of MDS array codes. In: Proceedings of the International Conference on Data Mining. WIT Transactions on Information and Communication Technologies, vol. 45, pp. 47–58. WIT Press, Southampton, UK (2013). https://doi.org/10.2495/DATA130051
[10] Zanitti, D.B.C., Teixeira, I.S., Alves, C., Garde, I.A.A., Oliveira Benedito, C.W.: Decoding Algorithms for Symbol-Error Correction in MDS Array Codes via Superregular Matrices (2026). https://doi.org/10.48550/arXiv.2605.00376
[11] Bastos, G.T., Cardell, S.D.: Constructing superregular and block superregular matrices. Linear and Multilinear Algebra 74(8), 1062–1084 (2026) https://doi.org/10.1080/03081087.2026.2666859
[12] Weidmann, C., Lechner, G.: A Fresh Look at Coding for q-ary Symmetric Channels. IEEE Transactions on Information Theory 58(11), 6959–6967 (2012) https://doi.org/10.1109/TIT.2012.2216096
[13] Pernice, F., Sprumont, O., Wootters, M.: List-Decoding Capacity Implies Capacity on the q-ary Symmetric Channel. In: Proceedings of the 57th Annual ACM Symposium on Theory of Computing, pp. 855–866 (2025)
[14] Liva, G., Paolini, E., Chiani, M.: Bounds on the Error Probability of Block Codes over the q-Ary Erasure Channel. IEEE Transactions on Communications 61(6), 2156–2165 (2013) https://doi.org/10.1109/TCOMM.2013.032013.120504
[15] Shen, L., Fu, F.-W.: The Decoding Error Probability of Linear Codes Over the Erasure Channel. IEEE Transactions on Information Theory 65(10), 6194–6203 (2019) https://doi.org/10.1109/TIT.2019.2926075
[16] Chan, C.H., Fu, F.-W., Xiong, M.: Decoding Error Probability of Random Parity-Check Matrix Ensemble over the Erasure Channel. Designs, Codes and Cryptography 93(1), 51–77 (2025) https://doi.org/10.1007/s10623-024-01516-5
[17] Louidor, E., Roth, R.M.: Lowest density MDS codes over extension alphabets.
[18] Blaum, M., Roth, R.M.: On lowest density MDS codes. IEEE Transactions on Information Theory 45(1), 46–59 (1999)
[19] Cardell, S.D.: Constructions of MDS Codes over Extension Alphabets. PhD thesis, Departamento de Ciencia de la Computación e Inteligencia Artificial, Universidad de Alicante, Alicante, España (August 2012)
[20] Huffman, W.C., Pless, V.: Fundamentals of Error-Correcting Codes. Cambridge University Press, New York, NY (2003)
[21] Roth, R.M., Seroussi, G.: On generator matrices of MDS codes. IEEE Transactions on Information Theory 31(6), 826–830 (1985) https://doi.org/10.1109/TIT.1985.1057113
[23] Gupta, K.C., Pandey, S.K., Ray, I.G., Samanta, S.: Cryptographically significant mds matrices over finite fields: A brief survey and some generalized results. Advances in Mathematics of Communications 13(4), 779–843 (2019) https://doi.org/10.3934/amc.2019045
[24] Liva, G., Paolini, E., Chiani, M.: Bounds on the error probability of block codes over the q-ary erasure channel. IEEE Transactions on Communications 61(6), 2156–2165 (2013) https://doi.org/10.1109/TCOMM.2013.032013.120504
[25] Weidmann, C., Lechner, G.: A fresh look at coding for q-ary symmetric channels. IEEE Transactions on Information Theory 58(11), 6959–6967 (2012) https://doi.org/10.1109/TIT.2012.2208576
[26] Huber, K.: Some comments on Zech's logarithms. IEEE Transactions on Information Theory 36(4), 946–950 (1990) https://doi.org/10.1109/18.53764
A Algorithms
Algorithm 1 Recovery of the codeword c over the erasure channel
Input:
Matrices: B1,…,Bk, A.
Received codeword v completed with zeros.
I={i1,i2,…,it}: Positions of the errors in the parity-check part.
J={j1,j2,…,js}: Positions of the errors in the information part.
State M=A⊗(B1,…,Bk)
State H=[M∣Ib(n−k)]
Compute st=Hvt
if s=0
$c = v$
else if
Compute $M^* = [A^* | B^*] \otimes I_b$
Compute $N = (M^*)^{-1}$
Compute $[f_1 \ldots f_{n-k}]^t = N s^t$
State $e = [e_1 \ldots e_n] = 0$
for $r = 1 : t$
Compute $e_{i_r} = B_{i_r}^{-1} f_r$
end for
for $r = 1 : s$
State $e_{j_r+k} = f_{t+r}$
end for
Compute $c = v - e$
endif
Output: The codeword c
Algorithm 2 Recovery of the codeword c in the presence of a single error in the information part: distinct matrices B1,…,Bk
Input:
Matrices: B1,…,Bk, A.
Nonsingular matrices B1,…,Bk∈Matb×b(Fq).
A received word v.
State M=(A⊗Ib)diag(B1,…,Bk).
State H=[M∣Ib(n−k)].
Compute sT=HvT.
if s=0,
State c=v and stop.
endif
for j=1:k
Compute the normalized syndrome (u(j))T=(In−k⊗Bj−1)sT.
Compute the candidate error ejT=a1j−1(u1(j))T.
if (uℓ(j))T=aℓjejT, for every ℓ=1,…,n−k.
State e=[0⋯ej⋯0∣0⋯0].
Compute c=v−e.
if HcT=0
return c.
endif
endif
endfor
Output:
The recovered codeword c.
Algorithm 3 Recovery of the codeword c in the presence of a single error in the information part: equal matrices B1=⋯=Bk=B
Input:
Matrices A and B.
A received word v.
State M=A⊗B.
State H=[M∣Ib(n−k)].
Compute sT=HvT.
if s=0,
State $\boldsymbol{c} = \boldsymbol{v}$ and stop.
endif
Compute the normalized syndrome uT=(In−k⊗B−1)sT.
for j=1:k
Compute the candidate error $\widehat{\boldsymbol{e}}_j^T = a_{1j}^{-1}\boldsymbol{u}_1^T$.
if $\boldsymbol{u}_\ell^T = a_{\ell j}\widehat{\boldsymbol{e}}_j^T$ for every $\ell = 1, \ldots, n-k$.