1. Introduction
Since Shannon’s foundational work in 1948, linear codes have been studied primarily over finite fields, where the ambient space is a vector space and duality is governed by a bilinear or Hermitian inner product; classical references include [
1,
2]. A major expansion of the subject began in the 1990s, when it was recognized that several families of highly structured nonlinear binary codes possess a natural linear algebraic description over
, thereby explaining their formal duality and related enumerator identities [
3]. This insight helped establish codes over rings as a robust generalization of the field case; see, e.g., [
4].
In parallel, there has been renewed interest in codes over non-unital rings, where duality and hull phenomena acquire new features and motivate refined algebraic criteria; see, for instance, [
5,
6,
7,
8]. Another natural direction is to weaken distributivity rather than commutativity or the existence of a unit. Near-rings and near-fields provide precisely such a setting: one retains an additive group together with an associative multiplication that is distributive on only one side, and in the near-field case, each nonzero element admits a multiplicative inverse.
Among these, the Dickson near-fields form a distinguished and historically important family originating in Dickson’s work on finite algebras [
9]; see also the classical treatment of finite near-fields in [
10]. From the standpoint of coding theory, this one-sided distributive environment forces an inherently asymmetric linear algebra: right scalar actions behave well, while left multiplication can fail to be additive, so standard constructions from the field case must be reformulated carefully. In particular, duality and hull phenomena—which underpin structural characterizations of LCD, self-orthogonal, and self-dual codes—are no longer automatic, since the dual of a right-linear code need not be right-linear a priori and parity-check-type descriptions may require additional hypotheses. This motivates a systematic development of Hermitian-type duality for right-linear codes over Dickson near-fields. Related one-sided linear-algebra phenomena also appear in broader near-field/near-vector-space settings; see, for instance, [
11]. The starting point for coding over Dickson near-fields is the recent case study of the smallest example,
, developed in [
12].
This paper extends the study from to the general Dickson near-field associated with an odd prime p. This extension is significant because it moves from a single small case to an infinite family of genuinely one-sided distributive algebras, allowing us to separate features that are intrinsic to near-field linear algebra from phenomena that may be accidental in . In contrast to the field case, is not a two-sided vector space: left distributivity may fail in . Hence, even if is right-linear, it is not automatic that its Hermitian dual is again right-linear; this motivates the stability hypothesis used later to recover right-linearity of the dual. One of the main theoretical hurdles is therefore to identify natural hypotheses under which Hermitian duality behaves well in the right-linear category and admits parity-check-type descriptions.
We develop a self-contained framework for right-linear codes in
tailored to this one-sided setting. We formalize generator-matrix methods and right monomial equivalence and show that every right-linear code is right-monomially equivalent to one with a systematic generator matrix obtained via one-sided row operations. Using Galois (Frobenius) conjugation (the Frobenius automorphism of
), we introduce the Hermitian Dickson inner product and the associated duality. A key novelty is our treatment of the Hermitian right dual: under a natural left-stability hypothesis on the conjugate code, we prove that
is again right-linear and contains the right row span of an explicit matrix
, providing an effective substitute for classical parity-check matrices in this non-field setting. In the
-systematic regime we derive explicit descriptions together with the expected dimension relation. We then establish Gram-type criteria, in terms of
, characterizing Hermitian Dickson LCD, self-orthogonal, and self-dual codes. Finally, we provide computational data by classifying Hermitian Dickson self-orthogonal right-linear codes in short lengths. As an additional perspective, one-sided/asymmetric mechanisms also appear in modern optimization and learning through nonlocal or tempered memory update rules; see, for example, Tempered Fractional Gradient Descent in [
13].
The paper is organized as follows.
Section 2 recalls the Dickson near-field structure on
and introduces the one-sided linear algebra used throughout.
Section 3 develops the basic theory of right-linear codes over
, including systematic form and parameter bounds.
Section 4 introduces the Hermitian Dickson inner product and establishes its fundamental properties and studies the resulting duality, with emphasis on the systematic case and Gram-type criteria.
Section 5 classifies Hermitian Dickson self-orthogonal right-linear codes over
for
, in lengths at most 8 and right dimension at most 2. Finally,
Section 6 collects our conclusions and several directions for further work.
2. The Dickson Near-Field on
Let p be an odd prime. Fix a nonsquare and write Let be the Frobenius automorphism, . Since is cyclic of order , it has a unique subgroup of index 2, namely the set of all nonzero squares; denote it by .
For
, define the map
by
Following [
9], define the Dickson right product on
by
where juxtaposition denotes the usual field multiplication in
. Equivalently, for
,
We write for the resulting Dickson near-field of order .
Proposition 1 ([9]). The Dickson product ∘ is associative on . Moreover, is a group under ∘. Lemma 1. For all :
- (a)
Right distributivity: .
- (b)
Identity: and .
- (c)
Zero: and .
- (d)
Inverses:
If , then y has a unique two-sided inverse with respect to ∘. In particular, the unique element satisfying and iswhere denotes the inverse of y in the usual field multiplication of .
Proof. - (a)
For any
,
since
is additive.
- (b)
Since , we have , hence . Also for all y, so .
- (c)
The identity holds by definition. Moreover, if then and it is 0 also when .
- (d)
Assume
and set
, where
is the inverse of
y in the field
. Then, by (
1),
Since and on , we have , hence .
By Proposition 1, is a group under ∘, so y has a unique two-sided inverse with respect to ∘. Therefore the inverse of y in and, in particular, . Uniqueness follows from uniqueness of inverses in a group.
□
Proposition 2. For any odd prime p, the Dickson near-field is not left distributive over +.
Proof. View
as a 2-dimensional vector space over
. Hence, every additive subgroup (i.e., every
-subspace) has cardinality
with
, so its size is 1,
p, or
. On the other hand,
which is different from 1,
p, and
for odd
p. Therefore
is not an additive subgroup and, in particular, it is not closed under addition. Thus we may choose
such that
; in particular
,
, and
.
Pick
, so that
. Then
whereas
If left distributivity held, we would have
, hence
. Since
, this implies
, a contradiction. Therefore left distributivity fails in
. □
Corollary 1. For any odd prime p, the Dickson near-field is a right near-field (not a field) of order .
Proof. By Proposition 1, the Dickson product ∘ is associative and is a group under ∘; by Lemma 1(a), ∘ is right distributive over +. Hence, is a right near-field. Proposition 2 shows that left distributivity fails. Since a field must be distributive on both sides, cannot be a field, and therefore it is a proper right near-field. □
For
set
. We extend the Dickson product ∘ coordinate-wise by
A subset
is called a right near-subspace if
is a subgroup of
and
for all
and all
.
Remark 1. For and , the notation refers to –scalar multiplication in the additive group , i.e., coordinate-wise multiplication by c in the field . Equivalently, for one has for all , and hence for all .
Lemma 2. For each fixed , the map defined by is –linear.
Proof. Let
and
in
. Using Lemma 1(a) coordinate-wise, we obtain
Now let
. If
then
. If
, write
with
. Since
is
–linear (in particular,
), for each
i we have
Hence
, and
is
–linear. □
We emphasize that, unlike the right action, coordinate-wise left multiplication in need not be additive.
Example 1. Take , so that . For , define by . By Proposition 2, there exist and such that and . For this choice of we obtain , so is not additive. Consequently, for suitable , the left action fails to be additive, and hence is not –linear.
Motivated by this asymmetry, we single out those right near-subspaces that are stable under left multiplication. A right near-subspace is called left-stable if for all and all .
Example 2. Fix and consider the coordinate subspaceThen is a right near-subspace of and is left-stable. Indeed, is an additive subgroup of , it is closed under the right action since for all , and it is left-stable since for all . Example 3. Take and consider the additive subsetThen is a right near-subspace of , but is not left-stable. First, is an additive subgroup of . Moreover, for any and any we havewhere the last equality uses Lemma 1(a). Hence, is a right near-subspace. To see that is not left-stable, choose and as in Proposition 2. Then , butsince membership in would require the third coordinate to equal the sum of the first two. Thus is not left-stable. While the Dickson product is only right distributive, nested products exhibit useful commutation phenomena when one factor lies in or in the subgroup . We record these identities in the next lemma for later use.
Lemma 3. - (a)
For all and all , one has .
- (b)
For any and all , one has .
- (c)
If , then for all , one has .
Proof. - (a)
Since has index 2 in , multiplication by any preserves the cosets of : for we have if and only if . By the definition of , this yields .
- (b)
If
or
, then
and both sides are 0. Assume
and
. Because
, it is fixed by both
and
, hence
and so
Using associativity and the definition of ∘,
Since
, part (a) gives
, and hence
On the other hand,
, and therefore
because
fixes
. Thus
.
- (c)
If
the claim is trivial, so assume
and set
. Then
Since
and
is a field automorphism, we have
. By part (a) applied with
, we get
Since in , it follows that .
□
Galois Conjugation
To streamline the Hermitian Dickson duality developed later, we recall the Frobenius automorphism on
and record the identities we will use, emphasizing its interaction with the Dickson product ∘. Since the Dickson near-field
and the finite field
share the same underlying set (only the operations differ), this conjugation is simply the usual field conjugation and is independent of the Dickson multiplication. Over
this map is the usual Galois conjugation
; in the near-field setting we refer to it as Galois conjugation. For background on Frobenius automorphisms in finite fields, see [
14]; for Hermitian inner products and Hermitian duality over
, see [
2,
15].
Define Galois conjugation
by
. For
, extend it coordinate-wise to
by
This map is an
–linear bijection on
. For
, write
, and say that
is Galois conjugation-invariant if
.
Since is cyclic and is its unique subgroup of index 2, the Frobenius automorphism preserves . In particular, for all .
Lemma 4. For all , , :
- (a)
and .
- (b)
.
- (c)
.
- (d)
.
- (e)
.
- (f)
.
Proof. Parts (a)–(c) are standard properties of the Frobenius automorphism on .
For
(d), if
then both sides are 0. Assume
. By definition,
, hence
Since
, we have
. If
then
and the claim follows. If
, then
and also
, so again
.
Parts (e) and (f) follow by applying (d) coordinate-wise and using . □
Corollary 2. A right near-subspace is left-stable if and only if is left-stable.
Proof. Assume
is left-stable. Let
and
, and write
with
. By Lemma 4(f),
Since
by left-stability of
, we obtain
. Hence,
is left-stable.
Conversely, if is left-stable, apply the forward implication to . Using (Lemma 4(b)), we conclude that is left-stable. □
Lemma 5. Let , and let denote the right row span of M in . Then Proof. Let
be the rows of
M and let
. Then
for some
. Using Lemma 4(a) and (e),
Hence
. Applying conjugation again and using Lemma 4(b) gives the reverse inclusion. □
Remark 2. For , Lemma 5 shows that is Galois conjugation-invariant if and only if .
Lemma 3 gives commutation identities for nested Dickson products involving scalars from or . The next lemma complements this by providing a structural reformulation: it expresses left-stability of as an equivalent membership condition back in .
Lemma 6. Let be a right near-subspace. The following are equivalent:
- (i)
for all and all .
- (ii)
for all and all .
Moreover, these conditions hold if and only if is left-stable.
Proof. (i)⇒(ii). Let , so for some . By (i), , and conjugating gives .
(ii)⇒(i). Let and set . By (ii), , so for some . Conjugating yields .
Finally, (ii) is exactly left-stability of , and Corollary 2 implies that is left-stable if and only if is left-stable. □
3. Right Codes over
Throughout this section, fix an integer and write . All vector and matrix additions are taken in the additive group , and the coordinate-wise scalar action is given by the Dickson product ∘.
3.1. Basic Definitions
A right-linear code over of length n is a right near-subspace . Its elements are called codewords. For , the Hamming weight of is . The Hamming distance between is . If , the minimum Hamming distance of is .
A subset
is called
right independent if
implies
. A
right basis of
is a right independent set that generates
under addition and the coordinate-wise right action ∘. If
admits a right basis of size
k, we call
k the
right dimension of
and write
. In this case, we also say that
is an
right-linear code, where
. We use the Magma [
16] notation
for the
weight distribution of a linear code
over
, where
is the number of codewords of Hamming weight
i.
Lemma 7. Let be a nonzero right-linear code over . Then admits a right basis. Moreover, if is a right basis of , then every can be written uniquely in the formand hence . In particular, any two right bases of have the same cardinality, so is well-defined and satisfies . Proof. Since
is finite,
is finite, hence it is generated by some finite subset under addition and the right action ∘. Choose a generating set
of
of minimal cardinality. We claim it is right independent. Indeed, if
with some
, then
and multiplying on the right by
gives
so
lies in the right span of
, contradicting the minimality of the generating set. Thus
is a right basis.
If , then by right distributivity , and right independence implies for all i. Hence, the representation is unique, and the coefficient map is a bijection, yielding . Consequently, k is determined by , so any two right bases have the same size and is well-defined. Finally, implies . □
3.2. Generator Matrices, Monomial Equivalence, and Systematic Form
Let
be a right-linear code over
with
. A
generator matrix of
is a matrix
whose rows form a right basis of
. Equivalently, if
are the rows of
G, then
is the
right row span of
G,
Thus every right-linear code over
of length
n and right dimension
k can be realized as the right row span of a
matrix over
.
An
matrix
N over
is called a
monomial matrix if each row and each column contains exactly one nonzero entry, and every nonzero entry lies in
. For a row vector
we define the right action of
N by
where products are computed using the Dickson product ∘. Two right-linear codes
are
right monomially equivalent if there exists a monomial matrix
N such that
A basic step in the structural study of right-linear codes over a right near-field is to bring generator matrices into a standard (systematic-type) form, analogous to the classical systematic form over finite fields (see, e.g., [
2]). Since left distributivity is not available, in general, the reduction uses only right row operations together with column permutations induced by right monomial transformations. This separates an information set from the parity part and streamlines comparisons up to right monomial equivalence.
Theorem 1. Every right-linear code with parameters is right monomially equivalent to a code admitting a systematic generator matrix of the form , for some .
Proof. Let be a generator matrix of (with ). For a nonzero we write for the inverse of x with respect to ∘; thus .
The following right elementary row operations preserve the right row span
where
denotes the
ith row of
:
- (i)
swap two rows;
- (ii)
right-scale a row by a unit , i.e., ;
- (iii)
replace by for some .
Indeed, (i) is immediate. In (ii), the map is bijective on since u is invertible under ∘, so right-scaling does not change the set of right linear combinations. In (iii), right distributivity of ∘ in each coordinate shows that right linear combinations of the new rows are exactly the right linear combinations of the old rows.
We now perform Gaussian elimination using only (i)–(iii). In any nonzero column, choose a nonzero entry
p and swap its row into the current pivot position. Since
, there exists
with
; right-scale the pivot row by
v so that the pivot becomes 1. For any other row having entry
e in the pivot column, replace that row by
In the pivot column the new entry equals
since
for all
. Iterating down the columns yields a row-echelon form with
k pivot columns and pivots equal to 1.
Finally, permute columns so that the pivot columns come first, obtaining a systematic generator matrix
This column permutation is induced by a permutation matrix, which is a monomial matrix (its nonzero entries are
), hence the resulting code is right monomially equivalent to
. □
Example 4. Let and consider the right-linear code generated byTake the first two columnswhich is invertible. Its inverse isLeft-multiplying by gives an equivalent generator matrixHence G is systematic: Remark 3. Although the displayed generator matrix G has entries in , the code is a right -linear code, so it is generated by right linear combinations with coefficients in . In particular, let and let be any nonzero row of G. Then . Moreover, since has at least one nonzero entry, say , we obtain a coordinate outside the prime field:because fixes and . For example, take . From we getIn particular, is not a field: left distributivity fails. For example, let and . Then and since . Also , sowhereasThus , and is not a field. We also refer to Example 2 in [12] for a complementary illustration in , where the generator matrix itself has entries from . Lemma 8. Let and . Let be the projection onto the first k coordinates. Then is a bijection. More precisely, for every there is a unique codeword whose first k coordinates equal b, namelyIn particular, for each there is a unique codeword in whose first k coordinates equal . Proof. Write the rows of
G as
, where
is the
ith row of
A. For
, consider
Using the coordinate-wise right action, the first
k coordinates of
are
, and the last
coordinates are
. Hence,
, so
and
is surjective. If
then its first
k coordinates give
, so
is injective. Therefore
is bijective with inverse
, and the uniqueness statement follows by taking
. □
Corollary 3. Let admit a systematic generator matrix with information set . If and both generate , then .
Proof. By Lemma 8, for each i the unique codeword in whose first k coordinates equal is the ith row of any systematic generator matrix with this information set. Hence, the ith rows of A and agree for all i. □
Corollary 4. Let be a right-linear code with parameters . Then .
Proof. Let be a generator matrix of with rows . Define by . By definition of generator matrix, is surjective. If , then , and right independence of forces . Hence, is injective, thus bijective, and . □
3.3. Properties of Galois Conjugation
We summarize some basic properties of Galois conjugation on .
Corollary 5. Let be a right-linear code over . Then:
- (i)
is a right-linear code over ;
- (ii)
;
- (iii)
.
Proof. - (i)
Conjugation
is an
–linear bijection, hence an automorphism of the additive group
. Therefore
is an additive subgroup of
. Let
and
, and write
with
. Using Lemma 4(e) with
a replaced by
and
, we get
since
by right-linearity of
.
- (ii)
Conjugation is a bijection on , hence restricts to a bijection . Thus .
- (iii)
Let be a right basis of . Then is a right basis of (using Lemma 4(e)), hence .
□
Lemma 9. For all , one has and . In particular, Galois conjugation is a Hamming isometry of .
Proof. Since
is a bijection with
, we have
if and only if
for each
i, and hence
. Moreover, conjugation is additive, so
coordinate-wise. Therefore
□
Proposition 3. Let be a right-linear code with generator matrix . Then the following are equivalent:
- (i)
.
- (ii)
.
Proof. Since , Lemma 5 gives . Thus if and only if . □
Remark 4. By Proposition 3, the entry-wise condition is sufficient but not necessary for . Since the fixed field of on is , the equality holds, for instance, whenever all entries of G lie in .
The converse need not hold: a right-linear code may satisfy even though a chosen generator matrix is not fixed entry-wise. For example, for consider . Then . Choosing , the matrix generates but satisfies .
Corollary 6. If is a systematic generator matrix of , then is a systematic generator matrix of .
Proof. This follows from , , and Lemma 5. □
3.4. Right Monomial Matrices
Right monomial matrices represent coordinate permutations and -reweightings compatible with the Dickson right action. They preserve the Hamming metric and behave well with conjugation and left-stability. We record these facts and then describe their effect on the parity block A in a systematic generator matrix .
Lemma 10. Let be a monomial matrix. Then , where P is a permutation matrix and with . In particular, monomial matrices form a group under matrix multiplication, and is monomial.
Proof. Each column j has a unique nonzero entry ; defining and gives . The remaining claims follow immediately. □
Lemma 11. Let be a monomial matrix. Then there exist a permutation π of and scalars such that for every , Proof. Immediate from the definition: in column
j the only nonzero entry is
, hence
□
Lemma 12. For all and all , one has . Consequently, for all , .
Proof. If the claim is trivial. Assume . Since , we have and hence . Also , so and . Associativity of ∘ yields . □
Lemma 13. Let N be a right monomial matrix. Then for all and all , .
Proof. By the observation above, there exist a permutation of and scalars such that for .
Fix
j. Using associativity of ∘ and Lemma 12, we compute
On the other hand,
since the
jth column of
N has the unique nonzero entry
. Thus
for every
j, and hence
. □
Corollary 7. Let be a right near-subspace and let N be a right monomial matrix. Then is a right near-subspace. Moreover, if for some , then .
Proof. First,
is an additive subgroup: if
, then for each
j,
so
, and similarly
. Next, for right-closure let
with
and
. By Lemma 13,
since
. Hence,
is a right near-subspace.
If
and
G has rows
, then any element of
is
using Lemma 13 in the last step; the reverse inclusion is immediate. □
Proposition 4. Let N be a right monomial matrix. Then for all ,Consequently, if , then . Proof. Write as in Lemma 11. Since , right multiplication by is a bijection on , hence if and only if . Thus the support is permuted by , and . The distance statement follows from and the weight invariance. □
Corollary 8. Let be a right-linear code and let N be a right monomial matrix. Set . Then:
- (i)
;
- (ii)
;
- (iii)
.
Proof. Let be the map . Since N is invertible (Lemma 10), is a bijection. Hence, , proving (ii).
By Corollary 7, is a right near-subspace and restricts to a bijection . Therefore the image under of any right basis of is a right basis of , so , proving (i).
Finally, Proposition 4 shows that preserves Hamming distance, and thus , proving (iii). □
Lemma 14. Let N be a right monomial matrix. Then and, for all ,Consequently, for any one has . Proof. All nonzero entries of
N lie in
and are fixed by conjugation, hence
. Using Lemma 11 and Lemma 4(d), for each
j,
so
. The set identity follows immediately. □
Corollary 9. If and N is a right monomial matrix, then .
Proof. By Lemma 14, . □
Lemma 15. Let be left-stable and let N be a right monomial matrix. Then is left-stable.
Proof. Write
as in Lemma 11. Let
and
. By associativity of ∘,
Hence
since
. □
Theorem 2. Let and be systematic generator matrices in with the same information set , and set and . Then the following are equivalent:
- (i)
for some right monomial matrix N that fixes the first k coordinates, i.e., for all and all .
- (ii)
There exists a right monomial matrix such that , where
Proof. (ii)⇒(i). Assume
for a right monomial matrix
M, and set
. Then
N is right monomial and fixes the first
k coordinates. Moreover,
so
.
(i)⇒(ii). Assume for a right monomial matrix N fixing the first k coordinates. The fixing condition implies that the first k columns of N are the standard basis columns, hence N has block form with M right monomial. Therefore and . Since both and are systematic with the same information set and generate the same code , Corollary 3 forces . □
3.5. A Basic Bound and a Left-Stability Criterion
As in the classical setting over finite fields, right-linear codes over satisfy the Singleton bound. The only additional ingredient in our context is the size formula from Corollary 4.
Theorem 3. Let be a right-linear code of right dimension k. Then Proof. Let
. Puncturing
in any set of
coordinates is injective: if two codewords agree on the remaining
coordinates, then their difference is supported on at most
positions and must be 0 by the definition of
d. Therefore,
Using
from Corollary 4 yields
, hence
and thus
. □
A right-linear code
of right dimension
k is called
maximum distance separable (MDS) if it attains the Singleton bound, i.e.,
Example 5. From Example 4, the Singleton bound gives . We now show that equality holds.
A generic codeword is a right –linear combination of the rows of G, hence for we haveAssume that has Hamming weight . Then at least two coordinates are 0. If , then the fourth coordinate becomes , so forces (since is a near-field and ). Similarly, if , then the third coordinate is , so forces . If instead the last two coordinates are 0, then and imply and , hence , so , which again forces and then . Thus no nonzero codeword can have weight 1 or 2, and therefore . On the other hand, taking gives , which has weight 3. Hence, , and meets the Singleton bound with equality.
Theorem 4. Let be a right-linear code with a systematic generator matrix , where . Assume that each column of A has at most one nonzero entry. Then is left-stable.
Proof. Let
and
. Since
, we have
Thus it suffices to prove
, where
Fix
. If the
jth column of
A is zero then both sides are 0. Otherwise there is a unique index
with
, so
. Since
, Lemma 3 (b) (with
) gives
Hence
coordinate-wise, and therefore
. □
Example 6. Let with generator matrixThen is a right-linear code over . Moreover, it is left-stable by Theorem 4. 4. Hermitian Dickson Inner Product and LCD Codes
In this section, we investigate Hermitian Dickson LCD codes over the Dickson near-field
. Motivated by the classical theory of LCD codes over finite fields [
17,
18,
19], we consider complementary-dual codes with respect to the Hermitian Dickson inner product and develop systematic criteria in the
–systematic setting.
4.1. Hermitian Dickson Inner Product and Duality
The
Hermitian Dickson inner product of
and
is defined by
For a right-linear code
, its
Hermitian Dickson dual is
We say that
is
Hermitian Dickson self-orthogonal if
, and
Hermitian Dickson self-dual if
. Moreover,
is called a
Hermitian Dickson LCD code if
We first record that
is invariant under coordinate permutations. For
, we let
act on
by
Lemma 16. For any and any ,Consequently, for any right-linear code and any , Proof. The first identity follows by a change of index in the defining sum:
For the consequence, let
and set
. For any
, the first part gives
Thus
for all
if and only if
for all
, which proves the claim. □
We now record the basic identities of the Hermitian Dickson inner product. In particular, is –linear in the first argument and compatible with the coordinate-wise right –action in the second.
Lemma 17. For all , , and :
- (a)
.
- (b)
.
- (c)
.
- (d)
.
- (e)
.
- (f)
If for all , then . Likewise, if for all , then .
Proof. Write and .
- (a)
Using right distributivity in Lemma 1(a) coordinate-wise,
- (b)
Let
. For each
i, the map
is
–linear by Lemma 2 (applied with
), hence
- (c)
Since
, we have
By Lemma 4(d),
, and therefore, by associativity,
Applying right distributivity in the right factor
yields
- (d)
Using
–linearity of conjugation in Lemma 4(a) and multiplicativity with respect to ∘ in Lemma 4(d),
- (e)
By definition and Lemma 4(b),
where the last equality is exactly
(d).
- (f)
Suppose for all . If , choose j with and take the jth standard basis vector. Then , a contradiction. Hence, .
The second assertion is proved similarly: if for all , then taking gives , so for all j and thus .
□
Corollary 10. For any right-linear code one has Proof. Let
. Then
for some
. Take any
, so
for some
. By Lemma 17(e),
hence
. This shows
.
Conversely, let
and set
. For any
we have
, hence
. Taking Dickson conjugates and using Lemma 17(e),
Thus
, so
. Therefore
, and equality follows. □
Remark 5. Lemma 17 is inherently one-sided: parts (a) and (b) concern additivity and –linearity in the first argument. In general there is no corresponding additivity (or –linearity) in the second argument, because the Dickson product is not left distributive. Likewise, the inner product is not right –linear in the second variable; the most one can expect is the –semilinearity recorded in Lemma 17(c). The following computations make both failures explicit.
For concreteness, work in with underlying field , where , and Dickson conjugation . Recall that and that for one has .
- (i)
Failure of additivity in the second argument. Take , , , and . Then , and hence Since , we have On the other hand,because and in . Thus - (iI)
Failure of right –linearity in the second argument. Still with , take and , so . Then Hence, . At the same time, Lemma 17(c) holds sharply:
Corollary 11. Let be a right-linear code. Then:
- (a)
is Hermitian Dickson self-orthogonal if and only if is Hermitian Dickson self-orthogonal.
- (b)
is Hermitian Dickson self-dual if and only if is Hermitian Dickson self-dual.
Proof. By Corollary 10, . Conjugating the inclusion and the equality and using yields both claims. □
Corollary 12. For any right-linear code of length n, the code is Hermitian Dickson LCD if and only if is Hermitian Dickson LCD.
Proof. Since Galois conjugation is a bijection on
, it preserves intersections and
. Using Corollary 10,
Thus
if and only if
. □
Corollary 13. For any permutation and any right-linear code :
- (a)
is Hermitian Dickson self-orthogonal if and only if is.
- (b)
is Hermitian Dickson self-dual if and only if is.
- (c)
is Hermitian Dickson LCD if and only if is.
Proof. Lemma 16 yields . Since is a bijection, . Applying to , , and gives (a)–(c). □
4.2. Duals of Systematic Right-Linear Codes
We now give a constructive description of the Hermitian Dickson dual of a systematic right-linear code. Because is only right distributive, the set need not be a right near-subspace a priori. Under a natural stability hypothesis on the conjugate code, we prove that is again a right-linear code and contains the right row span of a canonical systematic matrix. In the –systematic case this matrix generates and yields the expected dimension relation.
Theorem 5. Let be a right-linear code of right dimension k with systematic generator matrix , where . Set , and let denote the right row span of H. Assume that is left-stable. Then:
- (i)
is a right-linear code.
- (ii)
.
- (iii)
In particular, , and hence .
Proof. - (i)
The set
is an additive subgroup of
by Lemma 17(a). Let
and
. Fix
and set
. By hypothesis,
, hence there exists
such that
. Using associativity of ∘,
Thus , proving that is a right-linear code.
- (ii)
Let
be the rows of
G. Any
can be written as
for some
, hence
with
and
Let
be the rows of
H. For
,
By additivity of conjugation and
,
Therefore
so
for all
j. Hence,
.
- (iii)
Suppose . Looking at the last coordinates yields , hence for all j. Thus the rows of H are right independent and . Using (ii) gives , and the final inequality follows.
□
Corollary 14. In the setting of Theorem 5, assume in addition that for all . Then:
- (i)
is a right-linear code.
- (ii)
.
- (iii)
In particular, , and hence
Proof. Statement (i) is Theorem 5(i), and holds by Theorem 5(ii).
For the reverse inclusion, let
with
and
. For each
, since
, we have
Because
, we have
, and elements of
are central in
. Therefore
Let
be the rows of
. The identities above imply
so
. This proves (ii), and (iii) follows from
as in Theorem 5(iii). □
Corollary 15. Assume the hypotheses of Theorem 5. Then:
- (i)
If is Hermitian Dickson self-dual, then .
- (ii)
If is Hermitian Dickson self-orthogonal, then .
Proof. By Theorem 5(iii), . If , then , proving (i). If , then and , proving (ii). □
Corollary 16. Assume the hypotheses of Corollary 14. Then:
- (i)
If is Hermitian Dickson self-orthogonal, then .
- (ii)
If is Hermitian Dickson self-dual, then n is even and .
Proof. By Corollary 14(iii), . If , then , hence , proving (i). If , then , proving (ii). □
Corollary 17. Under the hypotheses of Corollary 14, the standard size relation holds: Proof. By Corollary 14(iii) and Corollary 4, we have and . Therefore . □
4.3. Gram–Type Criteria in the –Systematic Case
We now restrict to the
–systematic case and assume the hypotheses of Corollary 14. In this regime, Galois conjugation fixes
(so
) and
, hence the Hermitian Dickson dual is generated by the canonical matrix
Moreover, the matrix of Hermitian Dickson inner products between the rows of
G coincides with the usual Gram matrix. Indeed, since
, we have
Motivated by the classical Gram–matrix viewpoint in the study of LCD codes and hulls over finite fields (see, e.g., [
17,
20]), we define the
Hermitian Dickson Gramian associated with
G by
. For a matrix
M over
, we write
for its rank over
and set
Proposition 5. If denote the rows of G, then for all . In particular, is Hermitian Dickson self-orthogonal if and only if in .
Proof. Write
. Since
, we have
and
for every
. Therefore
which is exactly the
–entry of
, i.e., of
.
If , then for all , hence each . Since is generated from its rows by addition and the coordinate-wise right –action, it follows that . Conversely, if , then for all , hence . □
Proposition 6. Let be a right-linear code generated by a systematic matrix with , and let be the Hermitian Dickson Gramian. ThenIn particular, is Hermitian Dickson LCD if and only if is nonsingular over . Proof. By Corollary 14, with . Since G is systematic, every codeword of is uniquely of the form with .
Let be the rows of H and let . A generic element of is . Because is central in , every vector in can be written in the form , where .
Now let
. Then
, so there exists
such that
Comparing the last
coordinates yields
, and substituting into the first
k coordinates gives
. Since
A has entries in
, the product
coincides with the usual matrix product
. Hence,
, equivalently
, i.e.,
. This proves the displayed characterization.
Conversely, if and we set , then , hence . Therefore .
For the LCD criterion, assume that is nonsingular over and let satisfy . Fix an –basis of the additive group of and write with . Since , the condition implies and in , hence and , and therefore . Thus and is LCD.
Conversely, if is singular over , choose with . Viewing as an element of , the nonzero codeword lies in , so is not LCD. □
Corollary 18. In the setting of Proposition 6, Proof. By Proposition 6, the intersection is the image of the set under the injective map , hence .
Since , the constraint is –linear in the –coordinates of . Writing with , we have if and only if and in . Therefore has –dimension .
On the other hand, is a right near-subspace of , and has –dimension 2, so the –dimension of any right near-subspace equals twice its right dimension. Hence , and the stated identity follows. □
Corollary 19. Assume the hypotheses of Corollary 14, and let generate with . If is Hermitian Dickson self-dual, then and .
Proof. Self-duality implies self-orthogonality, so Proposition 5 yields . Moreover, Corollary 14(iii) gives , hence . □
4.4. Hamming Distance via a Hermitian Dickson Parity-Check Matrix
We close the –systematic case with the standard parity-check characterization of the minimum Hamming distance. In this setting, the canonical matrix serves as a Hermitian Dickson parity-check matrix for .
Theorem 6. Assume the hypotheses of Corollary 14. Let be a right-linear code generated by with . Let , and write for the columns of H. Then if and only if , equivalentlyMoreover, equals the smallest integer t for which there exist distinct indices and elements such that . Equivalently, is the smallest number of columns of H that are right-linearly dependent over .
Proof. By Corollary 14, the rows of H generate ; hence implies .
Conversely, assume
and write
with
and
. Reading the equation row-wise gives, for each
,
Applying Galois conjugation and using
yields
,
so and therefore .
For the distance statement, observe that is equivalent to the column relation . If is a nontrivial right dependence among t columns, choose with and set all other coordinates to 0. Then , hence , and , so .
Conversely, let and set . From we obtain the nontrivial dependence among the columns indexed by S. Thus some columns are right-linearly dependent. Minimizing over nonzero gives the claim. □
5. Numerical Section
In this section, we present a computational classification of Hermitian Dickson self-orthogonal right-linear codes over the Dickson near-field
, for
and for short lengths (
) with right dimension
. All computations and numerical data were obtained with the computer algebra system
Magma [
16], using implementations of the Dickson product ∘, Galois (Frobenius) conjugation, and the Hermitian Dickson inner product.
Throughout this section, code equivalence is taken with respect to right monomial equivalence, i.e., the action on induced by monomial matrices.
For each admissible pair , we first enumerate right-linear codes over up to right monomial equivalence. Using Theorem 1, we then select a systematic representative ; whenever possible, we choose an –systematic representative, meaning that . This –systematic choice is only a display convention when such a representative exists in the equivalence class; the enumeration itself is performed over all right-linear codes over up to monomial equivalence. Hermitian Dickson self-orthogonality is tested via Proposition 5; in the –systematic case, this reduces to the condition . For each resulting code, we compute the minimum Hamming distance and the weight distribution. We also record whether is Hermitian Dickson self-dual and whether it meets the Singleton bound (Theorem 3). Finally, we group the codes into right monomial equivalence classes and tabulate, for each class, a representative generator matrix together with the corresponding invariants.
We restrict our tabulation to codes for which the conjugate code
is left-stable, so that Theorem 5 applies and the Hermitian right dual
is again right-linear. In the parameter ranges considered in
Table 1,
Table 2 and
Table 3, each such equivalence class admits an
-systematic representative (hence the displayed matrices
A lie in
); this is a choice of normal form and does not mean the codes are over a field.
In the parameter ranges reported in
Table 1,
Table 2 and
Table 3, we observe two notable patterns: (i) for each admissible pair
, only a small number of right monomial equivalence classes occur; (ii) within these ranges, the self-dual cases (when
) coincide with the MDS cases, i.e., those attaining the Singleton bound.
Example 7. Let . Following the computational procedure described earlier in this section, we enumerate all admissible –systematic one-generator right-linear codes and classify them up to the same right monomial equivalence adopted throughout the tables. The computation shows that, for , there are exactly four inequivalent classes. We present one –systematic generator for each class, together with the corresponding numerical invariants.
Among these, there is a unique non-MDS class, which may be represented byThis class has with weight distribution , and the automorphism-group size is . Setthe size of the right-monomial group acting on length 4. It follows that the corresponding equivalence class containsdistinct codes that are right-monomially equivalent to the displayed representative. The remaining three classes meet the Singleton bound and hence are MDS. They admit the following –systematic generators:Moreover, these three MDS classes share the same numerical invariants: and weight distribution . For each of these three MDS classes, the automorphism-group size is , and hence each corresponding equivalence class containsdistinct codes that are right-monomially equivalent to the displayed representative. These three MDS codes are nevertheless pairwise inequivalent under right monomial equivalence. Finally, we note that these results are in full agreement with the corresponding
Magma
computations, reproducing exactly the four entries listed under and in Table 2. The complete classification results for
are summarized in
Table 1,
Table 2 and
Table 3, respectively, where each row corresponds to a right monomial equivalence class and reports the associated parameters and invariants.
6. Conclusions and Future Work
In this paper, we developed a systematic framework for right-linear codes over the Dickson near-field . We reviewed the Dickson near-field structure on and the associated one-sided linear algebra, introduced right-linear codes as right near-subspaces of , and proved that, up to right monomial equivalence, every such code admits a systematic generator matrix. We established basic parameter relations, including a Singleton-type bound for the minimum Hamming distance, and showed that Galois conjugationdefines a Hamming isometry compatible with the equivalence notions considered. With respect to the Hermitian Dickson inner product, we developed the corresponding duality theory and examined Hermitian Dickson self-orthogonality, self-duality, and the LCD property in a setting where duals need not be right codes a priori. In the –systematic case, we obtained explicit parity-check descriptions and Gram-type criteria that enable effective verification of these duality properties.
Several directions for future work arise naturally. Two concrete directions appear particularly promising. First, motivated by the MDS instances observed in
Table 1,
Table 2 and
Table 3, we plan to construct explicit infinite families of Hermitian Dickson MDS codes, including self-dual MDS codes in the square case
. Second, we aim to relax the left-stability hypothesis used to ensure that the Hermitian right dual
remains right-linear, or to identify alternative sufficient conditions leading to parity-check-type descriptions of
for wider parameter ranges. First, extending the computational classification to larger lengths and higher right dimensions may reveal additional families of Hermitian Dickson self-dual and LCD codes with strong parameters. Second, it is of interest to move beyond the
–systematic regime by developing computable criteria for when the parity block has entries in
and by identifying transparent sufficient conditions ensuring the left-stability hypotheses that control the behavior of Hermitian Dickson duals. Third, it would be worthwhile to generalize the theory to other Dickson near-fields and to suitable classes of near-rings (including non-unital settings) and to determine which components of the duality theory persist beyond the near-field case. Finally, it would be interesting to investigate MacWilliams-type relations and weight-enumerator phenomena adapted to one-sided algebraic structures and to develop decoding methods and explore potential applications of near-field codes.
Author Contributions
Conceptualization, A.A.; methodology, A.A.; software, A.A. and F.A.A.-h.; validation, A.A. and F.A.A.-h.; formal analysis, A.A. and F.A.A.-h.; investigation, A.A. and F.A.A.-h.; resources, F.A.A.-h.; data curation, A.A.; writing—original draft preparation, A.A.; writing—review and editing, A.A. and F.A.A.-h.; visualization, A.A.; supervision, A.A.; project administration, A.A. and F.A.A.-h.; funding acquisition, F.A.A.-h. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Macwilliams, F.J.; Sloane, N.J.A. The Theory of Error-Correcting Codes; North-Holland Publisher Co.: Amsterdam, The Netherlands, 1977; Volume 16. [Google Scholar]
- Huffman, W.C.; Pless, V. Fundamentals of Error-Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Hammons, A.R., Jr.; Kumar, P.V.; Calderbank, A.R.; Sloane, N.J.A.; Solé, P. The Z4-linearity of Kerdock, Preparata, Goethals, and related codes. IEEE Trans. Inf. Theory 1994, 40, 301–319. [Google Scholar] [CrossRef] [Scilit]
- Shi, M.; Alahmadi, A.; Solé, P. Codes and Rings: Theory and Practice; Academic Press: London, UK, 2017. [Google Scholar]
- Alahmadi, A.; Alshuhail, A.; Solé, P. The Mass Formula for Self-Orthogonal and Self-Dual Codes over a Non-Unitary Commutative Ring. AIMS Math. 2023, 8, 24367–24378. [Google Scholar] [CrossRef] [Scilit]
- Deb, S.; Kikani, I.; Gupta, M.K. On the Classification of Codes over Non-Unital Ring of Order 4. Discret. Math. Algorithms Appl. 2023, 16, 2350076. [Google Scholar] [CrossRef] [Scilit]
- Kushwaha, A.; Prakash, O. Hulls of Free Linear Codes over a Non-Unital Ring. arXiv 2025, arXiv:2512.12335. [Google Scholar] [CrossRef] [Scilit]
- Sagar, V.; Sarma, R. Codes over the non-unital non-commutative ring E using simplicial complexes. IEEE Trans. Inf. Theory 2024, 70, 3373–3384. [Google Scholar] [CrossRef] [Scilit]
- Dickson, L.E. On finite algebras. In Nachrichten von der Gesellschaft der Wissenschaften zu Göttingen, Mathematisch-Physikalische Klasse; Göttinger Akademie der Wissenschaften: Göttingen, Germany, 1905; pp. 358–393. [Google Scholar]
- Zassenhaus, H. Über endliche Fastkörper. Abh. Math. Semin. Univ. Hambg. 1935, 11, 187–220. [Google Scholar] [CrossRef] [Scilit]
- Djagba, P.; Prins, A.L. On linear mappings and seed sets of Beidleman near-vector spaces. Palest. J. Math. 2025, 14, 195–212. [Google Scholar]
- Alshuhail, A.; Alshammari, M.F.A.; Solé, P. Codes over the Dickson Near-Field of Order Nine. Mathematics 2026, 14, 228. [Google Scholar] [CrossRef] [Scilit]
- Naifar, O. Tempered fractional gradient descent: Theory, algorithms, and robust learning applications. Neural Netw. 2026, 193, 108005. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lidl, R.; Niederreiter, H. Finite Fields, 2nd ed.; Encyclopedia of Mathematics and its Applications; Cambridge University Press: Cambridge, UK, 1997; Volume 20. [Google Scholar]
- Rains, E.M.; Sloane, N.J.A. Self-dual codes. In Handbook of Coding Theory; Pless, V., Huffman, W.C., Brualdi, R.A., Eds.; Elsevier: Amsterdam, The Netherlands, 1998. [Google Scholar]
- Bosma, W.; Cannon, J.; Playoust, C. The magma algebra system I: The user language. J. Symb. Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef] [Scilit]
- Massey, J.L. Linear Codes with Complementary Duals. Discret. Math. 1992, 106–107, 337–342. [Google Scholar] [CrossRef] [Scilit]
- Sendrier, N. Linear codes with complementary duals meet the Gilbert–Varshamov bound. Discret. Math. 2004, 285, 345–347. [Google Scholar] [CrossRef] [Scilit]
- Carlet, C.; Guilley, S. Complementary dual codes for counter-measures to side-channel attacks. In Coding Theory and Applications; CIM Series in Mathematical Sciences, Volume 3; Springer: Berlin/Heidelberg, Germany, 2014; pp. 97–105. [Google Scholar]
- Jitman, S.; Thipworawimon, S. Hulls of linear codes revisited with applications. J. Appl. Math. Comput. 2020, 62, 325–340. [Google Scholar]
Table 1.
Hermitian Dickson self-orthogonal codes over for lengths .
Table 1.
Hermitian Dickson self-orthogonal codes over for lengths .
| n | k | | A | | Weight Distribution (Magma) | Note |
|---|
| 3 | 1 | 3 | | 12 | | MDS |
| 4 | 1 | 3 | | 24 | | |
| | 2 | 3 | | 48 | | Self-dual, MDS |
| 5 | 1 | 3 | | 96 | | |
| | 2 | 3 | | 96 | | |
| 6 | 1 | 3 | | 576 | | |
| | | 6 | | 1440 | | MDS |
| | 2 | 3 | | 384 | | |
| | | 3 | | 288 | | |
| 7 | 1 | 3 | | 4608 | | |
| | | 6 | | 2880 | | |
| | 2 | 3 | | 2304 | | |
| | | 3 | | 576 | | |
| | | 3 | | 288 | <7,48>] | |
| 8 | 1 | 3 | | 46,080 | | |
| | | 6 | | 11,520 | | |
| | 2 | 3 | | 576 | | |
| | | 3 | | 2304 | | |
| | | 3 | | 18,432 | | |
| | | 6 | | 768 | | |
Table 2.
Hermitian Dickson self-orthogonal codes over for lengths .
Table 2.
Hermitian Dickson self-orthogonal codes over for lengths .
| n | k | | A | | Weight Distribution (Magma) | Note |
|---|
| 2 | 1 | 2 | | 8 | | Self-dual, MDS |
| 3 | 1 | 2 | | 32 | | |
| 4 | 1 | 2 | | 256 | | |
| | 1 | 4 | | 96 | | MDS |
| | 1 | 4 | | 96 | | MDS |
| | 1 | 4 | | 96 | | MDS |
| | 2 | 2 | | 128 | | |
| 5 | 1 | 5 | | 480 | | MDS |
| 5 | 2 | 2 | | 512 | | |
| | | 4 | | 80 | | MDS |
| 6 | 1 | 6 | | 2880 | | MDS |
| | 2 | 2 | | 4096 | | |
| | | 2 | | 768 | | |
| | | 4 | | 192 | | |
| | | 4 | | 64 | | |
| | | 4 | | 320 | | |
| 7 | 1 | 7 | | 20,160 | | MDS |
| | 2 | 5 | | 160 | | |
| 8 | 1 | 8 | | 161,280 | | MDS |
| 8 | 2 | 6 | | 64 | | |
Table 3.
Hermitian Dickson self-orthogonal codes over lengths .
Table 3.
Hermitian Dickson self-orthogonal codes over lengths .
| n | k | | A | | Weight Distribution (Magma) | Note |
|---|
| 3 | 1 | 3 | | 36 | | MDS |
| 4 | 1 | 4 | | 144 | | MDS |
| | 2 | 3 | | 72 | | self-dual, MDS |
| 5 | 1 | 5 | | 720 | | MDS |
| 6 | 1 | 6 | | 4320 | | MDS |
| | 2 | 3 | | 2592 | | |
| 7 | 1 | 7 | | 30,240 | | MDS |
| | 2 | 5 | | 24 | | |
| 8 | 1 | 8 | | 241,920 | | MDS |
| 8 | 2 | 7 | | 2016 | | MDS |
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |