Abstract
The construction of self-dual and linear complementary dual (LCD) codes over finite rings, particularly over semi-local and local structures, is an active area of research due to their algebraic richness and applications in communications and cryptography. In this paper, we investigate double circulant and double negacirculant codes over the local ring where is an odd prime power. Unlike the semi-local case, where decomposition via non-trivial idempotents simplifies analysis, the local structure of (with only trivial idempotents) makes enumeration and classification significantly more challenging. We first establish necessary and sufficient conditions for such codes to be self-dual or LCD; we then count the solutions to key equations over , including to enable their enumeration. We further show that Gray images preserve these properties, leading to good self-dual and LCD codes over , and present optimal examples over . Our results extend double circulant constructions to a new algebraic setting, providing both theoretical advancements and practically relevant code designs.
MSC:
11T71; 94B15; 94B05
1. Introduction
In recent years, there has been a surge in interest in double circulant (DC) and double negacirculant (DNC) codes over rings, extending classical field-based constructions to richer algebraic settings. Much of this activity has focused on semi-local rings, such as and , which admit non-trivial idempotent decompositions that enable elegant CRT analyses and lead to closed enumeration formulas for self-dual and LCD codes. Notable recent contributions along these lines include work on double circulant and double negacirculant codes over semi-local rings [1,2,3], as well as studies on broader non-local or chain ring families with specialized structures [4,5,6]. These developments have underscored both the structural richness of ring-linear code constructions and their effectiveness in producing good codes with strong parameters. More recent research has also expanded the range of ambient rings considered for Gray image analysis and asymptotic existence results, reflecting growing interest in the topic [7,8,9,10,11].
Despite these advances, several limitations remain in the current literature. Most recent studies on double circulant and double negacirculant codes over rings, such as those by Yadav et al. [12], Shi et al. [13], and Dinh et al. [14], have focused primarily on semi-local rings with convenient idempotent decompositions, where orthogonality conditions can be reduced to simple norm equations and enumeration becomes tractable. These results provide elegant asymptotic analyses but rely heavily on the algebraic simplicity of semi-local structures. In contrast, genuinely local non-chain rings, which lack non-trivial idempotents, have received very limited attention. In such settings, classical counting techniques no longer apply, and one must instead handle more involved orthogonality relations such as which substantially complicates enumeration and structure theorems. Partial progress has been made for double circulant codes over chain and non-local rings [8,9,15,16,17] and for related non-trivial extensions [12,13,14], but the double negacirculant case over local rings remains essentially unexplored, with existing work often restricted to special lengths or relying on reductions to the field case. Moreover, much of the literature applies field-level factorization results to rings with nilpotent elements without explicitly establishing comaximality or irreducibility at the ring level—an essential step for the rigorous application of the Chinese Remainder Theorem. Duality and LCD conditions under Gray maps are also frequently stated without clearly specifying the induced inner product or block length, making it difficult to rigorously verify the preservation of orthogonality. Finally, existing asymptotic results often give only qualitative existence statements, with key constants left implicit in the union-bound derivations; see, for instance [4,12,13,18], where the contribution of the non-constant CRT components is not fully isolated.
The present work aims to address these limitations by developing a systematic theory of self-dual and LCD double circulant and double negacirculant codes over the local, non-chain ring
a setting that has attracted increased interest but remains far less developed in the context of DC and DNC codes. Our approach provides a fully rigorous treatment of CRT factorization and Hensel lifting in the presence of nilpotents, ensuring the validity of the decompositions used in the sequel. By treating both circulant (odd n) and negacirculant (even n) cases in parallel, we expand the range of known code families beyond those based on semi-local rings. We also give precise duality and LCD characterizations with explicit ambient rings and unit conditions, and we clarify the exact role of the Gray map in preserving inner products. Finally, our asymptotic analysis is derived with all constants made explicit, using the non-constant Gray block of length to produce sharp and rigorous distance bounds. In this way, our results broaden the current understanding of double circulant and double negacirculant codes over local rings and provide new algebraically structured families of self-dual and LCD codes with good asymptotic performance.
This paper is structured as follows. Section 2 presents the notations and foundational settings pertinent to the subsequent sections of the paper. Section 3 examines the construction of double circulant and double negacirculant codes over and provides enumerations of such codes of length n in these settings. Section 4 presents distance bounds and shows that the Gray images of self-dual and LCD double circulant codes over form good code families. This section also includes several nontrivial examples over obtained from the Gray images of such codes over .
2. Preliminaries
Throughout, p is an odd prime number and q is taken such that the finite field contains an element with In this case, the possible conditions for q are [19]
In other words, we assume that q satisfies exactly one condition from above. This assumption will be used when solving equations such as In this paper, we work over the commutative local ring i.e.,
where u and v are satisfying . Every element x of has a unique representation
where The ring is a local ring with maximal ideal and the unit group is of the form
with cardinality .
We employ two -linear Gray maps from to :
both of which extend naturally to as -linear isomorphisms.
A linear code is an -submodule. For a vector , the Hamming weight is the number of non-zero coordinates, i.e., the number of i with . The Lee weight is
The minimum Hamming and Lee distances, and , are defined as the minimal non-zero Hamming and Lee weights in , respectively.
The Euclidean dual is
where is the standard dot product. The Hermitian dual uses the conjugate-linear inner product
A code is Euclidean (respectively, Hermitian) self-dual if it equals its Euclidean (respectively, Hermitian) dual and Euclidean (respectively, Hermitian) LCD if its intersection with the corresponding dual is trivial. It is known (see [Theorem 2.2] in [13]) that is Euclidean LCD (respectively, self-dual) over if and only if both and are Euclidean LCD (respectively, self-dual) over , where the usual Euclidean inner product on is used.
Finally, double circulant and double negacirculant codes over are defined via generator matrices
where M is a circulant or negacirculant matrix, respectively. An matrix G is circulant if it has the form
where each subsequent row is obtained by a cyclic right shift of the previous row. An matrix G is negacirculant if it has the form
where each subsequent row is obtained by a negacyclic shift (right shift with sign alternation) of the previous row. Double circulant and negacirculant codes are quasi-cyclic of index .
3. Double Circulant and Double Negacirculant Codes
We first determine the number of solutions to significant equations over , which will be utilized later in the enumeration sections.
Lemma 1.
Let q be an odd prime power. The equation in has exactly solutions with .
Proof.
We now analyze the equation for in detail. First, since , we can divide both sides of the equation by to obtain . Let . Then, the equation simplifies to . We study solutions to . The trivial solution is . For , we can write the equation as . To count the number of non-zero solutions, we use the following observations about the field . The multiplicative group is cyclic of order . Moreover, the equation has solutions if and only if is in the image of the -th power map. Suppose that , where . Then, , and thus . The solution exists if and only if divides . As divides , we have the existence of the solution of The number of solutions to is equal to the number of -th roots of . Since the -th power map is a group homomorphism with a kernel of size , the equation has exactly solutions when is in the image, which it is, as established. Therefore, the equation has 1 solution when and solutions when , giving a total of q solutions for c. The solutions are , where
For each non-zero , there are exactly q corresponding b values (one for each solution c, via ). Since there are choices for , the total number of solutions with is . □
Remark 1.
The equation is over , where and defines a 1-dimensional -subspace of . Indeed, viewing the -linear Frobenius operator , its minimal polynomial over is , which factors into distinct roots since . Consequently, the endomorphism has a 1-dimensional kernel, yielding exactly q solutions to .
This algebraic structure has a geometric interpretation in the affine space via the equation . For a fixed , all solutions b can be written as with y in the kernel above. Thus, the set of solutions forms an -line, reflecting the principles of Hermitian duality in . Moreover, the equation can be regarded as the alternating form associated with the Hermitian pairing , whose solutions are precisely the isotropic vectors, i.e., self-orthogonal vectors with respect to this pairing.
This perspective unifies three viewpoints: the arithmetic of under the Frobenius action, the geometry of -lines in affine space, and the algebra of quadratic forms. The recurrent appearance of expressions of the form illustrates the deep interplay between these areas, as linear algebra over constrains both the dimension of the solution space and its Hermitian interpretation.
In what follows, we need the norm function , given by , which is multiplicative and surjective, with each having preimages in .
Proposition 1.
The number of solutions in of the system is
Proof.
The system of equations reduces to two fundamental conditions: the norm condition and the trace-like conditions . The norm equation admits exactly solutions in , since the norm map is surjective and each non-zero value has preimages. For each fixed solution a satisfying the norm condition, the constraints on b and c become -linear equations. These determine affine subspaces of dimension 1 over (1-dimensional -subspace of ), resulting in q valid choices for each of b and c independently by Lemma 1 and Remark 1. Consequently, the total number of admissible triples is given by the product
□
3.1. Structures and Enumeration of Double Circulant Codes
Let n be an odd positive integer, , and over , we have
where
By CRT, we obtain the decomposition
with for , where , , and . This extends to
Any length-2 linear code over decomposes as
Proposition 2.
Let be a double circulant code over decomposed as in (), and
Then, the following characterizations hold:
- 1.
- The code is self-dual if and only if
- 2.
- The code is Euclidean LCD if and only if the following units exist:
Proof.
The result follows from the CRT decomposition in (13) and the characterization of self-duality and the LCD property for double circulant codes. For a double circulant code with generator matrix , the self-duality condition is equivalent to . Direct computation gives . Thus, self-duality requires . Since M is circulant and corresponds to an element c over , this matrix equation translates to the polynomial equation in the ring. Under the CRT decomposition, this condition decouples into independent conditions on each component:
- For the component over corresponding to the linear factor, self-duality requires ;
- For components over corresponding to self-reciprocal irreducible factors, self-duality requires , where the exponent arises from the Frobenius action;
- For reciprocal pairs over , self-duality requires .
Similarly, is Euclidean LCD if and only if is a unit in the appropriate ring. Under the CRT decomposition, this becomes the requirement that each component , , and is a unit in its respective ring. The result follows by applying these characterizations to each component of the CRT decomposition. □
Theorem 1.
Suppose that n is an odd integer, and consider factorization (12). Then, the total number of self-dual double circulant codes over is
Proof.
The value of can be determined through a counting method. There are only two options for , characterized by the generator polynomials and , where . To determine the count of self-dual codes concerning the Hermitian inner product, it is necessary to identify the count of zeros of
Expressing in terms of the basis elements, we write
Substituting this expression into our original equation yields
Let us analyze in detail the number of solutions to the equation in the ring , where and . First, we expand the product using the ring relations
since all higher-order terms vanish (, , ). This gives us the equation
Equating the coefficients yields three independent conditions.
- The constant term: It gives the norm equation This is the norm condition , where is the field norm. Since the norm is surjective and each value has preimages, there are exactly solutions for .
- The u-coefficient givesFor each fixed , it has exactly solutions for b by Lemma 1.
- The v-coefficient givesThis has an identical structure to the u-condition, providing solutions for c for each valid pair.
Thus, the total number of solutions is
We now enumerate the dual pairs of codes with respect to the Euclidean inner product. This requires determining the number of solutions of
Two disjoint cases arise depending on whether is a unit.
- Unit case: When , the dual element must satisfy . In this scenario, there are exactly possible pairs , corresponding to the order of the unit group .
- Non-unit case: For , we express the element aswhere at least one coordinate is zero. Letting , where , the equation becomesThis yields the systemHowever, we also obtain the contradiction . Thus, no solutions exist in this case.
The complete enumeration shows that only the unit case contributes valid solutions, giving exactly distinct dual pairs. Combining these results yields the desired conclusion. □
Theorem 2.
The number of LCD double circulant codes over is given by
Proof.
If is an LCD code, first, we recall that q is odd and is a square in . We determine the number of triples for which is a unit in R. Expanding yields since all higher-order terms vanish due to the ring relations. The element is a unit if and only if its constant term . When is a square, there exist exactly two distinct elements such that . Thus, holds only when or , leaving valid choices for a. For each such a, the coefficients b and c can be chosen freely from because the nilpotent terms and do not affect the invertibility condition. Consequently, there are q options for b and q for c per valid a, resulting in total solutions.
Under the Hermitian inner product, we determine when is an LCD code over . Thus, is Hermitian LCD if is a unit in . Expanding using the ring relations, we compute
Thus, the expression becomes
For this to be a unit in R, the constant term must be non-zero, i.e., . This is equivalent to requiring that a is not a root of the equation . The number of such is exactly . Therefore, there are valid a values. For each valid a, the coefficients b and c can be chosen freely from , giving choices for each using Proposition 1. Therefore, the total number of triples is
We analyze the condition for to be a unit in the ring . Expanding the product gives since all higher-order terms vanish due to the ring relations. The expression then becomes . For this to be a unit in R, the constant term must satisfy in , while the coefficients of u and v do not affect invertibility as they multiply nilpotent elements. When , the condition reduces to , which means that there are of and For , we must have , yielding valid choices for for each of the non-zero a. The coefficients are independent and freely chosen from , with choices each. The total number of solutions is therefore , computed as choices for a, for , and for each of . This count holds uniformly across all finite fields regardless of the characteristic. The final result is
The complete count is obtained by multiplying together the enumerations from all three cases: the Euclidean LCD components, the product of Hermitian LCD components , and the product of dual pair components . This implies
where each factor corresponds to a distinct class of components in the decomposition. Combining the independent component counts yields the stated formula. The product structure reflects the independent choices available for each type of component while maintaining the necessary algebraic constraints. □
Example 1.
The factorization of over is given by
The factors decompose as follows: the linear term serves as the special term; form a reciprocal pair since ; is self-reciprocal with ; and form another reciprocal pair after coefficient normalization. The degree formula is verified as
where corresponds to a self-reciprocal quartic factor, to a linear conjugate pair, and to a quartic conjugate pair. The unit count is then obtained by applying Theorem 1,
Theorem 2 for constrained invertibles gives
This demonstrates how the factorization structure determines both counting formulas, with the special term ensuring that the degree formula closes correctly.
3.2. Structures and Enumeration of Double Negacirculant Codes
This subsection focuses on enumerating self-dual and LCD double negacirculant codes over the ring . We consider even positive integers n satisfying , and, over suppose
where the factors satisfy
Following a methodology analogous to that in the double circulant case, we obtain the ring decomposition
where for or , and the components satisfy the relations , , and . Consequently, any length-2 linear code C decomposes as
with being a linear code over for and linear codes over for .
The enumeration is built upon the following key result, which follows from arguments similar to those involved in establishing Proposition 2.
Lemma 2.
Let C be a double negacirculant code over with code codes () and (). Suppose that the generators of these codes are given by
Then, the following characterizations hold.
- 1.
- Self-duality: The code C is self-dual if and only if the following conditions are satisfied:
- 2.
- Euclidean LCD property: The code C is Euclidean LCD if and only if
Theorem 3.
For an even integer n, suppose the factorization in (26). The number of self-dual double negacirculant codes over R is
Proof.
The enumeration of reduces to counting solutions for the code codes. For each code code , we must determine the number of solutions to the algebraic condition
where . Representing in terms of the basis , we write
Substituting this expression into our equation yields
Expanding the product and using the ring relations , we obtain the system
Consequently, by Proposition 1, the total number of admissible triples is given by the product
To enumerate the dual pairs , we analyze solutions to the equation
The solution space decomposes into two cases based on the unit properties of .
- Unit case: When , the relation determines a unique dual partner. Since the unit group satisfies , there are exactly valid pairs in this case.
- Non-unit case: For , expressed as , where are not all zero, the equation becomesThis system requiresIf any coefficient vanishes, the system becomes inconsistent (). Hence, no solutions exist in the non-unit case.
Combining these results with the previous enumeration of components, we have
□
Using an analogous methodology, we now establish the enumeration of LCD double negacirculant codes over .
Theorem 4.
The total number of LCD double negacirculant codes over is
Proof.
A double negacirculant code over decomposes into a family of constituent codes
where each is a length-two code over and each pair is defined over .
- (i) LCD condition for self-reciprocal constituents. For a constituent over , the LCD property holds precisely whenwhere denotes the Hermitian conjugate with respect to the extension . Since , the condition is equivalently
- Case A: . In this case, the condition is trivially satisfied because . Hence, there is exactly one valid choice. Case B: . Here, the constraint reads with . Consider the norm mapThe map is surjective, and each element of has exactly preimages. Thus, since admits solutions, the number of admissible a isBy symmetry, the same enumeration applies when or .
- Case C: , with and . Then,The element is a unit exactly when , and b may be any non-zero element of . Hence,By ring symmetry, the same count applies if .
- Case D: . Again, , while are arbitrary, giving
- (ii) Enumeration for self-reciprocal components. Adding the disjoint counts from all cases yieldsSimplifying gives
- (iii) LCD condition for reciprocal pairs. Consider a pairThe LCD criterion reads
- Case 1: . Then, ; hence, may be arbitrary, giving solutions.
- Case 2: . For each unit , the condition is satisfied uniquely bySince , the number of such pairs isCombining both cases gives
- (iv) Final enumeration. Multiplying all contributions yields the total number of LCD double negacirculant codes,as claimed. □
Example 2.
The factorization of over decomposes into irreducible polynomials as
The quadratic factor is self-reciprocal, satisfying with parameter through degree correspondence The quartic factors form a reciprocal pair where , yielding . The degree summation formula is
Applying Theorem 3 with parameters , , gives the unit count
where the first term corresponds to the self-reciprocal factor and the second to the reciprocal pair. Theorem 4 produces the constrained count
with the sextic polynomial in capturing self-reciprocal constraints and the degree-24 expression reflecting reciprocal pair contributions.
Remark 2.
The example demonstrates how the factorization structure governs both counting formulas: self-reciprocal factors contribute through additive terms in Theorem 3 and higher-order vanishing conditions in Theorem 4, while reciprocal pairs appear multiplicatively via and through their characteristic polynomial relations. The degree verification ensures parameter consistency between the factorization and counting formulas.
4. Asymptotic Bounds for Self-Dual Double Circulant Codes
In this section, we establish explicit asymptotic existence bounds for self-dual and LCD double circulant codes over the local ring The key ingredients are the exact enumeration results in Theorems 1 and 2, together with a sharp union-bound argument applied to the Gray images of these codes. Throughout this section, we assume that (i) n is an odd prime and (ii) q is a primitive root modulo n.
Lemma 3.
Let n be an odd prime and suppose that q is a primitive root modulo n. Then, the following statements hold in .
- 1.
- The polynomial factors arewhere is the unique Hensel lift of and is irreducible in .
- 2.
- The ideals and are comaximal in .
- 3.
- Consequently, the following CRT decomposition holds:
Proof.
Let denote the natural reduction map modulo the maximal ideal . Since q is a primitive root modulo n and n is a prime, the cyclotomic factorization of over is
where is irreducible and in .
- (1) Lifting the factorization and irreducibility. The ring is local with maximal ideal and residue field . By Hensel’s lemma for factorizations modulo nilpotent ideals: if with in , then there exist unique monic lifts satisfying and in .
Applying this to , and as above, we obtain the lifted factorization
To prove the irreducibility of , suppose that with non-unit . Reducing modulo gives in . Since is irreducible, one of , must be a non-zero constant in . Assume that . Then, with , and is a unit in . Hence, is a unit, which is a contradiction. Therefore, is irreducible in .
- (2) Coprimeness. Since in , there exist such thatInterpreting and as elements of givesSince is a unit in , multiplying both sides by its inverse yieldsfor some . Thus, and the two ideals are coprime.
- (3) Chinese remainder decomposition. Since and the ideals and are coprime,The CRT therefore gives the ring isomorphism
□
A codeword c in a cyclic code is said to be constant if it lies entirely in the component associated with the ideal or, equivalently, if its projection belongs to the ideal . Constant codewords reflect the trivial part of the decomposition under the CRT and do not contribute to the exponential growth of the code family. In contrast, non-constant vectors arise from the -component corresponding to the irreducible factor of degree , and they are precisely the ones relevant for bounding the number of codes containing a given low-weight vector.
Remark 3.
The Gray map is an isometry that maintains orthogonality, so self-duality and LCD characteristics over exactly correspond to Euclidean self-duality (or LCD) over . While a double circulant code of length possesses a Gray image of length , the CRT decomposition indicates that solely the non-constant component of length influences the asymptotic expansion of the code family. Limiting the union-bound argument to this non-constant block produces precise and accurate asymptotic bounds, thereby encapsulating the influence of the Gray image length and the inner product structure.
Lemma 4.
Let be a non-zero vector such that y is non-constant. Then, the number of double circulant codes
that contain z satisfies the uniform bound
Proof.
By the Chinese remainder decomposition given in Equation (33),
every element (and, in particular, every generator x) splits uniquely as
Likewise, write and . The membership condition is equivalent to
which decouples into the two componentwise equalities
- (i) Counting solutions to . Every element of has the unique formwith multiplication rule(since ). WriteThen, (34) is equivalent to the scalar system over :
We now enumerate the possibilities (for fixed ).
- If , then . In order for (34) to hold, we must have as well; in this case, no coordinate of is constrained, so there are choices for .
- If is a non-zero scalar multiple of one of (i.e., exactly one of is non-zero), then exactly one of the three scalar equations above determines one coordinate of , while the remaining two coordinates are free. Hence, there are solutions for .
- If has two (or three) non-zero components (for example, with ), then two of the scalar equations determine two coordinates of and the remaining coordinate is free, so there are q solutions for .
- (ii) Counting solutions to . The same decomposition arguments apply in ; writeand similarly for . Equation (35) reduces to three scalar equalities over of the same form as above. Because each free scalar now ranges over (size ), the counts parallel the previous cases but with a larger field.
- : This is impossible under the hypothesis that y is not constant, so this case is excluded.
- is a non-zero scalar multiple of or v: One coordinate of is determined and two are free, yielding possibilities.
- has mixed form: Two coordinates of are determined and one is free, yielding possibilities.
- (iii) Combining the counts. For fixed z, the total number of admissible is the product of the numbers of choices for and for . The maximum is attained when lies in the unconstrained subcase ( choices) and lies in the subcase with two free coefficients ( choices); hence,This proves the lemma. □
Remark 4.
The bound is tight when and lies in the single-generator subspace, yielding the maximal solution space of size . This result plays a central role in the union-bound argument later, as it controls the number of self-dual or LCD codes containing any fixed low-weight non-constant vector.
Keeping the same notations, we have the following result.
Theorem 5.
Let be a non-zero vector such that y is non-constant. Then, the number of self-dual double circulant codes
that contain z satisfies the upper bound
Proof.
The proof refines the counting argument of Lemma 4 by incorporating the self-duality constraint on the generator x.
- (i) Decomposition under CRT. By the Chinese remainder decompositionevery generator x splits uniquely as with (constant component) and (non-constant component). The membership condition is equivalent towhich decouples into and . The additional self-duality constraint acts independently on these two components.
- (ii) Constant component. For a self-dual double circulant code, the constant component must itself satisfy the self-duality condition at the local factor . By Theorem 1, there are at mostsuch choices. The main counting effort therefore concerns .
- (iii) Self-duality on the non-constant component. Self-duality of the entire code is equivalent to the self-duality of its non-constant component with respect to the involution induced by . Concretely, writing with , the self-duality condition iswhere the bar denotes the automorphism induced by this involution; on coefficients, it acts as the Frobenius map Expanding (36) gives the scalar system
- (v) Intersection with the membership constraint. The linear equation further restricts . Depending on the structure of , some coordinates are fixed while others remain free (see the case analysis in Theorem 4). The maximal number of admissible occurs in the case with two free coordinates, givingWhen fewer coordinates are free, this number is strictly smaller.
- (vi) Final multiplication. Combining the bound 2 for with the bound above for giveswhich completes the proof. □
Remark 5.
The bound is attained in the extremal configuration where runs over all 2 admissible constant solutions, while yields two free coordinates in the non-constant component. This estimate is crucial for the union-bound argument in the next theorem, as it controls the number of self-dual codes containing any fixed low-weight non-constant vector.
Now, we are in a position to prove the following theorem.
Theorem 6.
Suppose that Then, there exist infinite families of double circulant codes over R with length and rate whose Gray images have a relative distance of at least δ. For self-dual codes, this holds when , while, for LCD codes, it holds when . Both families are asymptotically good.
Proof.
Under the hypothesis of Lemma 3 and the notation of (20) in Theorem 1, there is the trivial linear factor (handled by the leading constant 2 in (20)). Moreover, there is one self-reciprocal factor h of degree , so and, since are no reciprocal pairs, . Thus, , and the only term in the product is the one coming from h with ; the product over j is empty. Plugging into (20), we obtain
As , the dominant term is . Hence,
For any we define the integer-valued weight threshold
Note that . The number of vectors with is bounded by
Using Stirling’s approximation,
where e is the Euler number. Thus,
By Theorem 5, each such low-weight vector belongs to at most
self-dual codes. To guarantee the existence of a code with no low-weight vectors, we require
which becomes
Simplifying and taking logarithms yields the key inequality
As , this reduces to
satisfied when .
For LCD codes, plugging into Formula (24) yields
By ignoring the constant factor and the fixed as we have
Now, each low-weight vector appears in at most codes. The existence condition
simplifies to
The asymptotic analysis leads to
giving □
Remark 6.
These calculations demonstrate that, for sufficiently large n, there exist codes in both families that meet the stated distance limits. The fixed rate and the positive relative distance establish the asymptotic goodness of these code families. Moreover, and emerge naturally from balancing the growth rates of the code counts and the low-weight vector bounds in the logarithmic inequalities.
Example 3.
For a double circulant code with generator matrix , where
where each is an circulant over , we evaluate the performance via the Gray image. Since is a Lee–Hamming isometry, the minimum Lee distance of C equals the minimum Hamming distance of , whose block length is and whose dimension is Thus, has a generator matrix of the form:
In the tables (Table 1), we therefore report parameters for ; equivalently, C has length over and Lee distance d. To specify the circulant M, we list the three seed polynomials that generate via the usual circulant construction. Vectors are written in coefficient order , meaning . For instance, the entry denotes , so , with the first row built from the coefficients of (and analogously for ). All distances d are obtained in Magma by constructing G, forming the -linear Gray image , and computing its minimum Hamming distance; by isometry, this equals the Lee distance of C. This convention is used for every entry in Table 1.
Table 1.
-Gray images of good families of double circulant codes of length n.
4.1. Discussion and Connection with Asymptotic Bounds
The numerical results presented in Table 1 illustrate finite-length instances of the asymptotic behavior established in Theorem 6. Each double circulant code over of length yields, through the Gray isometry , a 7-ary linear code of parameters and rate . As n increases, the relative distance of the Gray images remains strictly positive, confirming the asymptotic goodness predicted by Theorem 6.
In particular, the table shows that both self-dual and LCD constructions achieve a balanced rate and distance even for short lengths; for example, the self-dual code at attains parameters with , while the LCD code at reaches with . These finite examples lie within the theoretical distance intervals
thereby concretely demonstrating the existence of infinite sequences of double circulant codes over whose Gray images over are asymptotically good in the sense of having a non-zero rate and positive relative distance. Hence, the explicit constructions in Table 1 not only validate the theoretical estimates but also exemplify the practical realizability of the asymptotic distance thresholds.
4.2. Optimality Analysis
A linear code is called optimal if no other linear code with the same length n and dimension k achieves a strictly larger minimum distance . Based on the parameters in Table 1, several of the constructed Gray images are either optimal or near-optimal with respect to the best-known linear codes. In particular, the self-dual double circulant code of parameters and the LCD code both achieve the best-known distances for their lengths and dimensions; hence, they are optimal. Similarly, the LCD code is within one unit of the optimal distance bound (), qualifying as near-optimal. These results confirm that the proposed double circulant constructions over not only align with the asymptotic predictions of Theorem 6 but also yield practically excellent codes that meet or approach the theoretical distance limits at finite lengths.
5. Conclusions
This study expands the framework of double circulant and double negacirculant codes to the local ring which presents greater algebraic complexity than previously examined semi-local or chain rings. Explicit necessary and sufficient conditions for these codes to be self-dual or LCD were derived, and precise enumeration formulas were established by solving key norm and trace equations over Table 2. Our analysis establishes explicit bounds on the minimum distance of the Gray images, derived from the non-constant Gray block of length . This yields sharp and rigorously justified asymptotic distance estimates, ensuring that the resulting -linear images are distance-preserving and asymptotically good. Empirical evidence over confirmed the theoretical predictions and illustrated that the suggested constructions produce effective linear codes with a balanced rate and minimum distance.
Table 2.
Summary of main results for double circulant and double negacirculant codes over .
This study expands the comprehension of structured code families within local rings and emphasizes the significance of non-chain, nilpotent extensions in coding theory. Future research should focus on generalizing the existing enumeration and construction techniques to encompass multi-generator double circulant and quasi-cyclic codes over and associated local rings with higher-order nilpotent structures. Identifying equivalent algebraic conditions for self-duality, LCD behavior, and asymptotic optimality within these broader categories is an unresolved and promising issue.
Funding
This research was supported by Ongoing Research Funding Program, (ORFFT-2025-97-2), King Saud University, Riyadh, Saudi Arabia.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Acknowledgments
The authors would like to thank Ongoing Research Funding Program, (ORFFT-2025-97-2), King Saud University, Riyadh, Saudi Arabia, for financial support.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Ling, S.; Solé, P. On the algebraic structure of quasi-cyclic codes II: Chain rings. Des. Codes Cryptogr. 2003, 30, 113–130. [Google Scholar] [CrossRef]
- Shi, M.; Qian, L.; Solé, P. On self-dual negacirculant codes of index two and four. Des. Codes Cryptogr. 2018, 11, 2485–2494. [Google Scholar] [CrossRef]
- Zhu, H.; Shi, M. On linear complementary dual four circulant codes. Bull. Aust. Math. Soc. 2018, 98, 159–166. [Google Scholar] [CrossRef]
- Prakash, O.; Yadav, S.; Islam, H.; Solé, P. Self-dual and LCD double circulant codes over a class of non-local rings. Comput. Appl. Math. 2022, 41, 245. [Google Scholar] [CrossRef]
- Huang, D.; Shi, M.; Solé, P. Double circulant self-dual and LCD codes over . Int. J. Found. Comput. Sci. 2019, 30, 407–416. [Google Scholar] [CrossRef]
- Shi, M.; Huang, D.; Sok, L.; Solé, P. Double circulant self-dual and LCD codes over Galois ring. Adv. Math. Commun. 2019, 13, 171–183. [Google Scholar] [CrossRef]
- Qian, L.; Shi, M.; Solé, P. On self-dual and LCD quasi-twisted codes of index two over a special chain ring. Cryptogr. Commun. 2019, 11, 717–734. [Google Scholar] [CrossRef]
- Ashraf, M.; Mohammad, G. Skew cyclic codes over . Asian Eur. J. Math. 2018, 11, 1850072. [Google Scholar] [CrossRef]
- Islam, H.; Prakash, O. A note on skew constacyclic codes over . Discrete Math. Algorithms Appl. 2019, 11, 1950030. [Google Scholar] [CrossRef]
- Alabiad, S.; Alhomaidhi, A.A.; Alsarori, N.A. On linear codes over local rings of order p4. Mathematics 2024, 12, 3069. [Google Scholar] [CrossRef]
- Alabiad, S.; Alhomaidhi, A.A.; Alsarori, N.A. On linear codes over finite singleton local rings. Mathematics 2024, 12, 1099. [Google Scholar] [CrossRef]
- Yadav, S.; Islam, H.; Prakash, O.; Solé, P. Self-dual and LCD double circulant and double negacirculant codes over . J. Appl. Math. Comput. 2021, 67, 689–705. [Google Scholar] [CrossRef]
- Shi, M.; Zhu, H.; Qian, L.; Sok, L.; Solé, P. On self-dual and LCD double circulant and double negacirculant codes over . Cryptogr. Commun. 2020, 12, 53–70. [Google Scholar] [CrossRef]
- Dinh, H.Q.; Yadav, B.P.; Bag, T.; Panario, D.; Upadhyay, A.K. Self-dual and LCD double circulant and double negacirculant codes over a family of finite rings . Cryptogr. Commun. 2023, 15, 529–551. [Google Scholar] [CrossRef]
- Alahmadi, A.; Özdemir, F.; Solé, P. On self-dual double circulant codes. Des. Codes Cryptogr. 2018, 86, 1257–1265. [Google Scholar] [CrossRef]
- Minjia, S.; Daitao, H.; Lin, S.; Solé, P. Double circulant LCD codes over . Finite Fields Appl. 2019, 58, 133–144. [Google Scholar]
- Yao, T.; Zhu, S.; Kai, X. On self-dual and LCD double circulant codes over a non-chain ring. Chin. J. Electron. 2019, 28, 1018–1024. [Google Scholar] [CrossRef]
- Huffman, W.C.; Pless, V. Fundamentals of Error Correcting Codes; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
- Saif, S.H. Structures, ranks and minimal distances of cyclic codes over . Mathematics 2025, 13, 3354. [Google Scholar] [CrossRef]
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. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).