Manuscript Offprint
arXiv:2611.04863Geometric Obstructions and Sharp Genus Dependence in LCD Scalings
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
RAHIM RAHMATI-ASGHAR
ABSTRACT. We study the least pole order of a rational function whose nonzero evaluations scale a prescribed code to a Euclidean LCD code. A residue-one differential yields an obstruction for odd-dimensional one-point AG codes in characteristic two: for with and odd dimension, the threshold is at least . The obstruction uses alternating Gram matrices and does not require the scaled code to be self-orthogonal. For the dimension-three codes on Hermitian curves over , , we obtain
Consequently the leading genus contribution is asymptotically sharp even in dimension three. On the elliptic curve over , we prove the exact dimension-three threshold 6 by an explicit multiplier. For repetition codes on the Hermitian family, the threshold equals the general interpolation bound . The upper bounds use information sets and hold for , and for in characteristic two.
1. INTRODUCTION
Every linear code over with is monomially equivalent to a Euclidean linear complementary dual (LCD) code [6]. When the coordinates are indexed by rational points of a curve, one may ask for the least pole order of a single function realizing these multipliers.
Let be a smooth, projective, geometrically integral curve of genus , let consist of distinct rational points, and let be rational and outside . For a code , let be the least for which a function is nonzero at every and scales to an LCD code. For , interpolation gives . We ask when the genus contribution is forced by an obstruction to all smaller pole orders.
The main obstruction concerns odd-dimensional codes in characteristic two. Suppose a differential has divisor and residue one at every . If has odd dimension, then
2020 Mathematics Subject Classification. Primary 94B27; Secondary 14H05, 11T71.
Key words and phrases. Algebraic-geometric code, Euclidean hull, LCD code, Riemann–Roch space, geometric threshold.
RAHIM RAHMATI-ASGHAR
Below this bound the Gram matrix of every scaled code is alternating and hence singular. This argument is stronger than requiring the entire Gram matrix to vanish.
For the Hermitian curve over , with a power of two, take all affine rational points and the point at infinity. The code has dimension three. For , our lower bound and an information-set upper bound differ by only :
Since , these inequalities prove along this family. Thus even in fixed dimension three the coefficient of cannot be uniformly reduced below two.
Relation to existing results. The following table compares the frameworks of the cited papers with the quantity studied here.
| Source | Established framework | Quantity studied in this paper |
|---|---|---|
| Carlet et al. [6] | Gram determinants and coordinate scalings yielding LCD equivalents | Pole cost of realizing multipliers in |
| Jin-Xing [4] | Counting admissible scalings of AG codes in even characteristic | Constraints on every low-pole multiplier |
| Mesnager-Tang-Qi [5] | Residue multipliers and non-special-divisor LCD criteria | Minimum pole order for fixed |
| Camps Moreno et al. [2] | Divisor intersections describing AG hulls | Bounds uniform over an entire multiplier space |
| Bras-Amorós et al. [3] | Self-dual flags and their terminal pole orders | LCD thresholds constrained by the same filtration |
The coordinate-support idea in the upper bound is related to systematic-generator scaling methods in [6]; the extra step is to realize a suitable perturbation through a low-pole function. The residue differential on the Hermitian curve is already used in [5, Section V-B]. Standard AG duality [10] identifies in this setting. In particular, the repetition threshold below is a direct consequence of this duality and Frobenius, rather than a new Hermitian duality result. The higher-dimensional argument combines the same containment with the elementary odd-order alternating-matrix obstruction.
There is also a close connection with isometry-dual flags [3], where the terminal evaluation step at and examples on Hermitian curves are already studied. This explains why the repetition threshold is closely tied to a classical terminal pole-order phenomenon. Our dimension-three obstruction concerns singularity of every scaled Gram matrix along the filtration, rather than the characterization of an isometry-dual flag.
Our contributions are the pole-order obstructions, the explicit threshold calculation, and the geometric upper bounds.
For a divisor , set
If , the AG evaluation code is . The evaluation kernel is , and Riemann-Roch gives for [10].
Definition 2.1 (Euclidean dual, hull, and LCD code). Let be an linear code. Its Euclidean dual is
The Euclidean hull of and its hull dimension are
The code is called linear complementary dual (LCD) if [9]. Equivalently,
(1)
The last equivalence follows from . In general, ; moreover, if and only if is self-orthogonal, meaning .
Let be a full-row-rank generator matrix of . The Gram-matrix characterization [9] gives
(2)
Thus is LCD precisely when is nonsingular. More generally, an invertible diagonal scaling has generator matrix , so
(3)
Indeed, the injective map identifies the hull with the left kernel of : the vector is orthogonal to every row of exactly when . In particular, finding an LCD scaling is equivalent to making this Gram matrix have full rank , or, equivalently, reducing the hull dimension to zero.
RAHIM RAHMATI-ASGHAR
Definition 2.2. For any finite field , define
where , with the convention .
The curve, evaluation points, and pole point are part of the data. Although may be any linear code, the allowed multipliers are constrained by these data. Since , one has if and only if is LCD.
The definition itself needs no restriction . This hypothesis guarantees finiteness for every code through LCD equivalence and interpolation, as proved below. It is not needed for the residue obstructions. Over or , every nonzero scalar has square one, so for every invertible diagonal . Consequently a non-LCD code over either field has threshold . Examples are the repetition codes of length two over and length three over , evaluated at the affine points of the respective projective lines.
Proposition 2.3 (Interpolation bound). For , the threshold is finite and .
Proof. Set . Both and have degree greater than , so Riemann-Roch gives . Thus evaluation onto is surjective. The LCD-equivalence theorem [6], together with invariance under coordinate permutations, supplies a diagonal LCD scaling with nonzero entries . Interpolate in . The evaluation-surjectivity argument is valid over every finite field; is used only to obtain the LCD scaling.
3. A HIGHER-DIMENSIONAL RESIDUE OBSTRUCTION
Put and suppose there is a nonzero rational differential satisfying
(4)
The global residue theorem gives the standard identity
(5)
Equivalently, AG duality gives [10]. For comparison, we first record the usual product-space obstruction.
Proposition 3.1 (Standard product-space obstruction). Assume (4), let , and put . For an admissible , set . Then
In particular, if , then .
Proof. For and , the product belongs to , so (5) gives . Thus belongs to the hull. Evaluation on is injective because , and diagonal scaling is invertible. If , the constant functions already give a nonzero hull vector. This yields the final assertion.
Theorem 3.2 (Odd-dimensional pole-order obstruction). Assume (4) over a field of characteristic two. Let , , and suppose has odd dimension . Then
(6)
More precisely, every admissible with gives an odd-dimensional hull.
Proof. Since , evaluation is injective on . Choose a basis of this space and form the Gram matrix of the scaled evaluation vectors. Its diagonal entries are
because . The matrix is symmetric with zero diagonal, hence alternating. An alternating matrix has even rank: a nonzero off-diagonal entry splits off a nondegenerate alternating block of order two, and induction applies to its orthogonal complement. Since is odd, is a positive odd integer. Equation (3) proves both assertions.
Theorem 3.2 holds over as well. The hypothesis enters Corollary 3.4 through the interpolation upper bound.
Remark 3.3. The improvement comes from parity; the Gram matrix need not vanish. An alternating Gram matrix can have nonzero off-diagonal entries. Odd dimension is essential: an even-order alternating matrix can be nonsingular.
Corollary 3.4 (Exact repetition threshold). Under (4), if has characteristic two and , then
Proof. Apply Theorem 3.2 with , , and combine it with Proposition 2.3.
Theorem 3.5 (Exact Hermitian threshold). Let with , and let be the smooth projective Hermitian curve with affine equation
Let be its unique point at infinity, and let be the sum of all its affine -rational points. Then , , and
(7)
RAHIM RAHMATI-ASGHAR
Proof. The standard Hermitian-curve formulas give the genus, the unique point at infinity, and [10]. For each , , and the trace equation has exactly solutions in . Hence there are affine rational points.
Put . At every affine point, the partial derivative of the defining equation with respect to is one. Thus is a local parameter at each point above , and is regular and nonvanishing on the affine curve. Since a differential has degree ,
The zeros of are precisely the affine rational points, all simple; its unique pole has order . Therefore
satisfies . At each simple zero of , its logarithmic differential has residue one. Corollary 3.4 applies because .
Remark 3.6. The preceding corollary and theorem establish equality in the interpolation bound. The differential itself is classical [5, Section V-B]. Here “Hermitian” describes the curve; every hull in this paper is Euclidean.
4. An Information-Set Upper Bound
An information set is a set of coordinates for which the square sub-matrix is invertible. If has support exactly , then
(8)
Indeed, only the columns in contribute. Equivalently, this is the single surviving term in the Cauchy–Binet expansion [7].
Lemma 4.1. Suppose , is not LCD, and has support exactly an information set . If , or if the characteristic is two and , some makes nonzero in every coordinate and gives an LCD scaling of .
Proof. Set
By (8), . Its degree is at most 2k, and the coefficient of is since is not LCD. Hence it has at most 2k - 1 roots. Coordinate nonvanishing excludes and at most further values , . At most 3k values are excluded altogether.
In characteristic two, Cauchy-Binet gives , where
The leading coefficient of squares to , so . There are then at most determinant roots and at most inadmissible values. Thus suffices. Equation (3) completes the proof.
Theorem 4.2 (Information-set bound). For any linear code with , if , or if the characteristic is two and , then
(9)
In particular, this holds for every evaluation code of dimension .
Proof. If is LCD, use . Otherwise fix an information set , put , and set and . Then and for . Riemann-Roch gives
Thus each evaluation functional , , is nonzero. Their kernels cover at most elements. Choose outside their union. Its evaluation vector has support exactly . Lemma 4.1 supplies such that is admissible and gives an LCD scaling.
Remark 4.3 (Sufficient field-size conditions). The conditions and, in characteristic two, are sufficient conditions from the root counts in Lemma 4.1; no optimality or necessity is asserted. The count bounds the determinant roots and coordinate exclusions separately, allowing both overlap and repeated excluded values, so particular instances can work over smaller fields. In particular, an already LCD code has threshold zero regardless of these conditions. The exact example in Theorem 5.2 succeeds with and , outside both sufficient ranges. Example 4.5 shows attainment of the pole-order bound, not sharpness of its field-size hypothesis. Uniformly weakening these hypotheses for arbitrary non-LCD codes remains open here.
Corollary 4.4 (Divisor-sensitive version). For an information set , let be the least nonnegative integer for which
Under either field-size hypothesis of Theorem 4.2, with ,
Proof. The dimension inequalities make all the relevant evaluation functionals nonzero. If is not LCD, the same union-of-kernels and constant-perturbation argument applies at . If is LCD, its threshold is zero. The final inequality follows from the degree calculation in Theorem 4.2.
Example 4.5 (Attainment in genus zero). Take five distinct affine rational points on , let be their sum, and set . The single-parity-check code
RAHIM RAHMATI-ASGHAR
has dimension four and because the characteristic is five. It is not LCD, so its threshold is positive. Since , Theorem 4.2 gives
This example proves attainment of the information-set bound in genus zero, separately from the genus dependence established in Section 3.
5. DIMENSION THREE: SHARP GENUS DEPENDENCE AND AN EXACT THRESHOLD
Theorem 5.1 (A dimension-three Hermitian family). On the Hermitian curve of Theorem 3.5, let and . Then . For ,
(10)
In particular,
Consequently, there are no constants and , independent of , such that
for all sufficiently large powers of two .
Proof. The standard one-point Hermitian basis consists of with , , and pole order [10]. At , it gives precisely . Evaluation is injective since . The differential constructed in Theorem 3.5 satisfies (4), so Theorem 3.2 gives the lower bound. Since for , Theorem 4.2 gives the upper bound.
For the final assertion, suppose that constants and , independent of , satisfy
throughout the family. Dividing by gives
Since , taking limits yields , contradicting .
Theorem 5.2 (An exact positive-genus threshold in dimension three). Let be , let contain all eight affine rational points, and let be the point at infinity. Then
An admissible multiplier attaining this value is .
Proof. Here , , and has basis . Theorem 3.2 gives . Since and have pole orders two and three, respectively, .
Write with . Above the two points have , and . Above each nonzero , one has and , so . Thus is admissible. The complete evaluation data are
For the generator matrix formed by evaluating , these values give
This can also be checked fiberwise using and . Equation (3) proves the upper bound six. The information-set field-size hypothesis is not used for this exact example.
Example 5.3. For , Theorem 5.1 gives over , with and . These are bounds, not an asserted exact threshold. For comparison, the repetition code on the same curve has exact threshold 75 by Theorem 3.5.
6. THE PROJECTIVE LINE AND THE ROLE OF CHARACTERISTIC
Let , , , and . Then consists of polynomials of degree at most .
Proposition 6.1. For q > 3,
Proof. Suppose first that is odd and put . The finite-field power sums satisfy for and [8]. If , then . Conversely choose and . Its evaluations are nonzero because for , and
This proves the odd case. If is even, every polynomial of degree below has zero evaluation sum, hence zero sum of squared evaluations. This gives the lower bound , and Proposition 2.3 gives the upper bound. Equivalently, the even case follows from Corollary 3.4 with and .
RAHIM RAHMATI-ASGHAR
10
7. APPLICATION TO CONSTRAINED LCD CONVERSION
Orthogonal direct-sum masking uses an LCD code to separate data and random-mask components [1]; the associated orthogonal recovery requires a nonsingular Gram matrix. The results here provide feasibility certificates when conversion of is restricted to multipliers with . Under the hypotheses of Theorem 3.2, every budget is impossible, whereas Theorem 4.2 gives a sufficient budget under its field-size conditions. Entire multiplier spaces can therefore be excluded before candidate enumeration.
For on over , Theorem 5.1 yields
| Permitted budget | Conclusion |
| No admissible multiplier can give an LCD code. | |
| Existence is not decided by the present bounds. | |
| An admissible LCD multiplier exists. |
The last row uses . These conclusions apply to the restricted geometric conversion problem. Pole order is an algebraic budget, not a hardware cost.
8. SCOPE AND FURTHER QUESTIONS
The odd-dimensional obstruction shows that low-pole scalings can remain non-LCD after the usual self-orthogonality obstruction has ceased to apply. The dimension-three Hermitian family forces a pole order , while the elliptic example gives a fully explicit exact threshold beyond dimension one. Neither the code parameters nor the existence of LCD equivalents is improved: diagonal scaling preserves length, dimension, and minimum distance.
The bounds in Theorem 5.1 differ by ; their equality is not asserted for . Determining these thresholds exactly is a concrete next question. Other unresolved issues are the even-dimensional case, where alternation need not cause singularity, and odd characteristic, where the Frobenius argument used here is unavailable. The restriction on in the information-set upper bound also remains substantial for large .
REFERENCES
[1] C. Carlet and S. Guilley, Complementary dual codes for counter-measures to side-channel attacks, Adv. Math. Commun. 10 (2016), 131–150. https://doi.org/10.3934/amc.2016.10.131. [2] E. Camps Moreno, H. H. López, and G. L. Matthews, Explicit non-special divisors of small degree, algebraic geometric hulls, and LCD codes from Kummer extensions, SIAM J. Appl. Algebra Geom. 8 (2024), 394–413. http://doi:10.1137/21M1467936. [3] M. Bras-Amorós, I. Duursma, and E. Hong, Isometry-dual flags of AG codes, arXiv:1906.10620 (2019). https://arxiv.org/abs/1906.10620. [4] L. Jin and C. Xing, Algebraic geometry codes with complementary duals exceed the asymptotic Gilbert–Varshamov bound, IEEE Trans. Inform. Theory 64 (2018), 6277–6282. https://doi.org/10.1109/TIT.2017.2773057.
[5] S. Mesnager, C. Tang, and Y. Qi, Complementary dual algebraic geometry codes, IEEE Trans. Inform. Theory 64 (2018), 2390–2397. https://doi.org/10.1109/TIT.2017.2766075.
[6] C. Carlet, S. Mesnager, C. Tang, Y. Qi, and R. Pellikaan, Linear codes over are equivalent to LCD codes for , IEEE Trans. Inform. Theory 64 (2018), 3010–3017. https://doi:10.1109/TIT.2018.2789347.
[7] R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013.
[8] R. Lidl and H. Niederreiter, Finite Fields, 2nd ed., Cambridge University Press, 1997.
[9] J. L. Massey, Linear codes with complementary duals, Discrete Math. 106–107 (1992), 337–342. https://doi.org/10.1016/0012-365X(92)90563-U.
[10] H. Stichtenoth, Algebraic Function Fields and Codes, 2nd ed., Springer, 2009.
DEPARTMENT OF MATHEMATICS, FACULTY OF BASIC SCIENCES, UNIVERSITY OF MARAGHEH, MARAGHEH, IRAN
Email address: rahmatiasghar.r@maragheh.ac.ir, rahmatiasghar.r@gmail.com