Manuscript Offprint
arXiv:2610.26200A Hyperplane Bound and Ward's Divisibility Conjecture
Abstract
Let , where is prime. We prove that every -ary linear code meeting the Griesmer bound, with positive dimension and minimum distance , is -divisible, as asserted in Ward's conjecture. Arbitrary projective column multiplicities are allowed. The geometric ingredient is a bound independent of dimension: a nonzero scalar-invariant function , with and prime-field algebraic degree at most , vanishes identically on at most linear hyperplanes when . A truncated digit-sum inequality forces selected coefficient polynomials to be homogeneous of ordinary degree less than . Weighted moments on a projective line then bound their linear factors, while a second-moment argument handles the complementary support configuration. An elementary finite-difference calculation supplies the degree bound for divided weight residues. Endpoint shortenings prove the basic divisibility layers; endpoint lifting, a surjective linear functional, and residual-code induction extend the argument to every valuation. We include the proofs of the classical ingredients, identify their sources, and distinguish the present argument from an earlier reported unpublished proof.
MSC: 94B05; 94B27; 51E20.
Keywords: Griesmer codes; Ward's divisibility conjecture; prime-field algebraic degree; hyperplane bounds; finite differences.
1 Introduction
An linear code is a -dimensional subspace with
We assume and . For positive integers , define the Griesmer sum by
The Griesmer bound is
*E-mail address: zghui@squ.edu.cn.
A code satisfying is called a Griesmer code. Griesmer proved the binary bound [1], and Solomon and Stiffler extended it to every finite field [2]. We recall the residual-code proof in Lemma 4.1.
Equality in this length bound imposes restrictions on the entire weight set. A positive integer is a divisor of C, or C is -divisible, if
For a positive integer m, write
Ward's conjecture [5, Conjecture 10] states that
The conjecture thus relates the prime-power divisibility of the minimum distance to that of every codeword weight. We prove (1.2) in all dimensions, allowing arbitrary column multiplicities.
1.2 Related work
Earlier divisibility theorems provide several cases of Ward's assertion. We recall these results and the geometric and polynomial methods that enter the proof.
- Binary and prime-field Griesmer codes. Dodunekov and Manev proved the binary divisibility theorem [3, Lemma 3]; Ward extended it to every prime field [4]:
Ward also proved the first extension-field layer and the full quaternary assertion [5, Proposition 13 and Theorem 14]:
Consequently, the prime-field case, the first layer, and the quaternary case are earlier results.
- General bounds of Deng, Huang, and Xiang. Their two divisibility theorems [6, Theorems 1.13 and 1.14] yield, for ,
The theorem numbers refer to the journal article; the corresponding results are Theorems 1.7 and 1.8 of arXiv v1. Their work also develops bases adapted to Griesmer subcodes, which enter the structural theory recalled below. The exponent in our conclusion is
The formulas are compared in Table 1. For example, gives , and gives . These are comparisons of divisibility guarantees for the indicated parameter regimes.
Table 1: Guaranteed exponents in the divisor for a Griesmer code over , where .
| Result | Exponent |
|---|---|
| Deng-Huang-Xiang [6, Theorem 1.13] | |
| Deng-Huang-Xiang [6, Theorem 1.14] | |
| Ward’s asserted divisor, proved in Theorem 1.1 |
- Geometric criteria with additional hypotheses. Landjev and Rousseva [8, Theorem 2] consider a multiset of points in , , with a fixed maximum point multiplicity. Assuming that all lines through maximum-multiplicity points have one common multiplicity, more than such points force -divisibility, for . Here divisibility of a multiset of total size means that every hyperplane multiplicity is congruent to modulo . The common-line-multiplicity assumption is part of their theorem; it is not assumed in Theorem 1.2.
Their later conference paper [12, Theorem 5] gives
for Griesmer codes. The displayed ceiling condition places the result in the projective case, by the maximum-multiplicity bound. For the same assumption , our conclusion gives the divisor and also allows repeated columns.
- Polynomial degree and hyperplane counting. Two functional-degree results supply the polynomial framework. Aichinger and Moosbauer's finite-field degree identity [10, Theorem 10.3, journal version] identifies prime-field degree with the digit sum of field exponents. Clark and Schauz's general theorem [11, Theorem 4.9(c)] gives the finite-difference bound that we specialize below to functions
We give direct proofs of both specializations. Haramaty, Ron-Zewi, and Sudan [9, Lemma 4.8] bound zero hyperplanes for ordinary-degree polynomials using support estimates and a second moment. Lemma 3.1 uses the same counting mechanism in projective form. The coefficient argument in Section 2 addresses the additional issue here: the available degree bound is a prime-field degree bound, whereas the linear-factor count needs ordinary degree strictly less than .
The passage from the geometric bound to code divisibility uses classical structural properties of Griesmer codes. Ward's endpoint count and lifting lemmas [5, Lemmas 11 and 12] already appear in his quaternary proof alongside residual induction and a projective-line weight identity [5, Theorem 14]. Residual and shortening equalities are developed further in [6], with generalized-weight counterparts discussed in [14]. We include the elementary proofs needed here. The final argument combines this framework with the hyperplane theorem and a surjective linear functional over an arbitrary finite field.
The historical record also includes a reported unpublished proof. Bouyukliev [7, Theorem 26] states the full assertion (1.2) and attributes its general proof to Xiaoyu Liu's 2006 preprint Divisibility of Griesmer Codes. We have not located that preprint and therefore cannot compare its argument with ours. Liu's publicly available 2006 dissertation, On Divisible Codes over Finite Fields [13, p. 7], is a different document and describes the general assertion as a conjecture. The later papers [6] likewise present the extension-field assertion as a conjecture or an open problem. These differing reports do not by themselves establish priority. No result from the unavailable preprint is used below.
1.3 Our contribution and main results
We state the divisibility theorem in a form that includes the valuations for which the divisor is 1.
Theorem 1.1 (Ward's divisibility assertion). Let be a -ary Griesmer code of positive dimension and minimum distance , where . Then
The statement allows repeated projective columns and imposes no additional restriction on dimension or minimum distance.
The proof rests on a geometric bound for functions of small prime-field degree. To state it, we specify the degree conventions and projective notation. If , then is the set of one-dimensional -subspaces of . A point is written
A projective line is the projectivization of a two-dimensional linear subspace. A linear hyperplane is a codimension-one -subspace
The equations and define the same hyperplane exactly when for some .
Choose a basis of over and write
Every function has a unique reduced polynomial in these variables, with each exponent at most . Its total degree is denoted by and called its prime-field algebraic degree. We use the convention . Ordinary degree, denoted by , refers instead to total degree in -coordinate variables. Section 2 proves the relation between the two and the independence of from the chosen prime-field basis.
A function is scalar invariant if
For such a function, is well defined. When , put
The members of are its whole-zero hyperplanes; they are counted as subspaces, not as choices of defining forms.
Theorem 1.2 (Dimension-free hyperplane bound). Let , let be an integer, and let be a nonzero scalar-invariant function satisfying
Then
The proof of Theorem 1.2 begins with the intersection of the support with projective lines. A short nonempty intersection yields nonzero weighted moments. The digit-cost inequality converts each suitable moment into a nonzero homogeneous coefficient polynomial whose linear factors count whole-zero hyperplanes. If no line has such an intersection, the support is large enough for an incidence estimate to give the bound. At , the constant is attained by ; see Remark 3.3.
For a code with generator matrix G, we apply this bound to the divided weight residues
defined once divides all codeword weights. Lemma 4.4 gives . For a minimum-dimensional counterexample to the next divisibility layer, every endpoint shortening has that layer. Its defining hyperplane therefore lies in . The resulting contradiction is
where E is the endpoint set and the lower bound follows from Ward's endpoint count.
This proves, in succession, the implications
These implications cover every valuation in all dimensions. For , a three-dimensional constant-weight section, endpoint lifting, and a surjective functional produce a projective pencil whose known divisibilities determine the remaining weight. Residual induction then decreases the dimension and replaces by . Establishing the basic layers first in every dimension provides the starting cases for this final induction.
1.4 Organization
Section 2 develops the reduced polynomials, digit sums, line sums, and homogeneous coefficient forms used in Section 3 to prove the hyperplane bound. Section 4 proves the residual-code, endpoint, and finite-difference lemmas needed for the coding argument. Section 5 establishes the basic divisibility layers in all dimensions, and Section 6 extends them to all valuations, completing Theorem 1.1.
2 Prime-field degree and coefficient forms
The proof of the hyperplane bound uses two polynomial representations of the same function. Field coordinates make scalar invariance visible, whereas prime-field coordinates measure algebraic degree. We begin by making the passage between these representations explicit.
2.1 Reduced polynomials and the digit-degree filtration
A polynomial in is reduced if its degree in each individual variable is at most . A polynomial and its associated function must be distinguished: reduction preserves the function, but may change its formal degree.
Lemma 2.1. Every function has exactly one reduced polynomial representation. In particular, a reduced polynomial which vanishes at every point of is the zero polynomial.
Proof. For , define
Fermat's identity in gives
Consequently,
is a reduced polynomial representing G.
For uniqueness, a univariate polynomial of degree at most with roots is zero. Induct on and write a reduced polynomial which vanishes everywhere as
For every , the univariate polynomial vanishes at all elements of , so for every . Each is reduced, and the induction hypothesis gives . Thus , proving uniqueness.
We now use this representation to compare the two coordinate descriptions of a function. Fix an -basis of and write
Applying Lemma 2.1 over , with coefficients allowed in , identifies the prime-field algebraic degree with the total degree of the reduced polynomial in the variables . An -linear substitution cannot increase this degree: substitution preserves the degree bound, and each reduction lowers degree. Therefore, for an invertible -linear map ,
This proves basis independence and invariance under invertible -linear coordinate changes. The same substitution argument proves that restriction to an -linear subspace cannot increase degree.
To use this degree without expanding every prime-field coordinate, we express it directly in terms of the field exponents. For a nonnegative integer , let denote its base- digit sum. The next identity is the standard -weight description of algebraic degree; compare the functional-degree formulation in [10, Theorem 10.3, journal version]. We retain a proof in terms of reduced polynomial spaces.
Lemma 2.2. If the reduced polynomial of a nonzero function is
then
Here, for an -valued function, degree is computed using coefficients in the reduced prime-field-coordinate polynomial. If is scalar invariant, the ordinary total degree of every nonconstant monomial with nonzero coefficient is divisible by .
Proof. For , write
As functions of the prime-field coordinates, the Frobenius powers are -linear:
It follows that
has prime-field degree at most .
To show that cancellation cannot lower the degree below the claimed maximum, fix an integer and consider the following spaces of -valued functions:
The preceding calculation gives . By uniqueness of reduced polynomials, each displayed spanning set is linearly independent. Digit expansion provides the bijection
Hence , and . Thus holds exactly when every field monomial occurring in has digit sum at most . This proves the degree identity.
Finally, if for every , both sides are reduced polynomials. Coefficient comparison gives
For , cyclicity of implies , as required.
2.2 A truncated digit-sum inequality
Scalar invariance restricts ordinary degrees to arithmetic progressions with difference . We next show that moving forward in such a progression has a strictly positive digit cost. Keeping arbitrarily many summands is essential for a bound independent of .
Lemma 2.3. For , put
If , then
Moreover,
Proof. Use the denominations , allowing an arbitrary number of copies of each. Suppose a representation of contains copies of with . Replacing them by one copy of preserves their sum and decreases the number of copies by . Repeating these operations terminates with a representation
This representation is unique by quotient and remainder on division by . Its number of summands is therefore minimal and equals
When , the only denomination is 1 and both expressions equal , so this case is included.
The base-p expansions of yield a representation of using exactly of these denominations. Comparing with the minimum proves (2.2).
For strict increase, write with . If , then
If , let . Subtracting 1 replaces the trailing zero digits of by and decreases its next digit by 1. Hence
Since ,
Thus is strictly increasing along every progression with step ; monotonicity at consecutive integers is neither asserted nor needed.
2.3 Line sums and formal linear factors
The digit estimate will control polynomial coefficients. To choose the coefficients that matter, we first examine the support on projective lines.
For a scalar-invariant function with , define its projective support by
Scalar invariance makes well defined for . We call a nonzero value its weight; it lies in and is distinct from an integer Hamming weight. The following line identity is the elementary prime-field instance of the low-degree summation principle underlying [10, Lemma 12.1, journal version].
Lemma 2.4. Under the hypotheses of Theorem 1.2, the values of F on every projective line sum to zero in . In particular, no projective line meets in exactly one point.
Proof. Let have dimension 2 over and let . In prime-field coordinates, , and the reduced polynomial of has degree at most
For , the one-variable sum is
For we use , including , and the sum is in . For , the nonzero terms sum to zero over the cyclic group ; for , they sum to . This also proves the formula when .
Summing a reduced monomial over gives
This product can be nonzero only if every , which would give degree . That degree exceeds the bound for . Therefore
The last equality uses and in . If , the last sum would equal the nonzero element , a contradiction.
Line sums will locate useful moments. Before extracting them, we isolate the algebraic fact that turns functional vanishing into formal divisibility. Its degree hypothesis prevents finite-field polynomial identities from producing spurious factors.
Lemma 2.5. Let have ordinary total degree less than , and let be a nonzero homogeneous linear polynomial. If for every , then divides in . Consequently, if , the number of distinct linear hyperplanes on which vanishes is at most .
Proof. Choose with . The polynomial
has total degree less than , so each of its individual degrees is less than . It is therefore reduced and vanishes on . By Lemma 2.1 it is the zero polynomial. For , this assertion simply says . Thus the coefficient of in is zero, whence and .
Distinct hyperplanes have nonassociated linear defining equations. These polynomials are irreducible and pairwise relatively prime in the unique factorization domain . Their product divides , so their number is at most .
2.4 A coefficient polynomial for a pencil of hyperplanes
The preceding lemma reduces hyperplane counting to finding a suitable polynomial. We now construct that polynomial from a nonzero moment on a line. The digit cost forces its ordinary degree to be strictly less than q, so Lemma 2.5 applies.
Lemma 2.6. Assume the hypotheses of Theorem 1.2, and put . Let lie on a projective line meeting . Take as the point at infinity on that line, let be its finite support coordinates, and let be their weights. If
then at most aj whole-zero hyperplanes of F contain P.
Proof. Choose independent vectors representing the chosen line so that
Extend them to a basis of . In the resulting coordinates , the vector is the -direction and the finite line representatives have the form for a fixed nonzero . This coordinate change preserves all the hypotheses. Write
as its reduced polynomial, and put
The moment hypothesis gives .
Step 1: The coefficient has ordinary degree e. Suppose occurs in . Lemma 2.2 gives
(2.5)
Here the equalities follow from
because and multiplication by shifts the digits of j without carrying. Scalar invariance also gives
The integer t is nonnegative since and the left side is nonnegative.
The condition makes its lowest digit nonzero. Thus
Since , we obtain
If , Lemma 2.3 would imply
contradicting (2.5). Therefore . Every monomial in has ordinary total degree exactly ; in particular, is formally homogeneous of degree unless it is zero.
Step 2: The coefficient is nonzero. On the selected affine line, interpolation gives
Both sides are reduced in y, so their coefficients agree. In characteristic p,
Canceling and comparing coefficients gives in . Since and , comparison of the coefficient of yields
We used in and , the latter following from .
Step 3: Each whole-zero hyperplane contributes a linear factor. A hyperplane containing the y-direction has equation for a nonzero homogeneous linear form in the x variables. If it is a whole-zero hyperplane, then, for every , the reduced univariate polynomial
vanishes for all . Uniqueness gives for every , including . Thus vanishes as a function on ker . Its ordinary degree is , so Lemma 2.5 gives as a formal polynomial. Since and , at most distinct whole-zero hyperplanes can contain .
3 The dimension-free zero-hyperplane bound
With the coefficient lemma in place, it remains to pass from bounds through one outside point to a bound for all whole-zero hyperplanes. For a short support secant, this will require control of the moment indices at all its outside points. If every support secant is too long, the size of the support gives the desired estimate by a second moment. We establish this incidence estimate first.
3.1 A projective incidence estimate
The next bound is purely geometric. Its proof uses a projective version of the support and second-moment method in [9, Lemma 4.8 and Section 4.2.3], together with a sharper Cauchy–Schwarz estimate. The precise numerical statement below is proved directly.
Lemma 3.1. Let be a nonempty set of points in , where . If distinct projective hyperplanes are disjoint from , then
Proof. If , then makes the right side positive. Assume , and choose a nonzero defining linear form for each hyperplane, . Let be uniform on , and set
Every is surjective, and distinct projective hyperplanes have linearly independent defining forms. Therefore
Using gives
Cauchy–Schwarz applied to gives
The set of nonzero vectors representing points of has cardinality . Every such vector lies in the event , because each chosen hyperplane is disjoint from . Hence
Canceling q - 1 and rearranging proves the estimate.
3.2 A common budget for the moment indices
The incidence estimate will handle the case of large support. We now return to a single projective line and control the indices needed to sum the bounds from Lemma 2.6. The rational function below records all positive-index moments in its expansions at the possible choices of infinity.
Lemma 3.2. Let have size , and let satisfy . For the point at infinity, use support coordinates ; for a finite point , use support coordinates . For each outside point , the first nonzero positive-index moment exists. If its index is , then
Proof. Define
where explicitly
For each ,
Thus and no factor cancels. The coefficient of is , so
For a finite outside point t, let
Since , this is also the order of at . Expanding geometrically in the formal power-series ring gives
(3.2)
Consequently the moments of indices vanish and the moment of index is nonzero. Thus .
At the original point at infinity,
The term with m = 0 vanishes. Dividing by therefore yields
Since is monic of degree and , the left side has exact order
Hence . These calculations also prove existence of a first nonzero positive-index moment at every outside point.
In any of the displayed coordinate systems, prime-field weights give the Frobenius relation
If the first nonzero positive-index moment had index , then would contradict its minimality. Therefore for every .
Finally, distinct finite outside points contribute distinct linear factors to B, so
Including infinity gives the common budget
All summands are nonnegative, so each as well.
3.3 Proof of the hyperplane bound
The moment budget is the remaining ingredient for summing the pencil bounds on a short support secant. When no such secant exists, the incidence estimate applies instead. We now carry out this split for the function in Theorem 1.2.
Proof of Theorem 1.2. Let , let be the number of whole-zero hyperplanes, and put . Since and , the support is nonempty.
For , the entire projective space is a line. By Lemma 2.4, . Hyperplanes are then projective points, and therefore
Assume henceforth that .
Case 1: a short support secant exists. Suppose a projective line has n support points, with
In either case , so has an outside point. Choose one as infinity and identify its finite support with a set of size . Let be the support values. Lemma 2.4 gives , so Lemma 3.2 provides indices at all outside points.
These indices satisfy , and their ranges permit the use of Lemma 2.6:
whereas for a = 1,
Each projective coordinate change on comes from an invertible linear transformation of its two-dimensional vector space, which extends to an invertible linear transformation of . Scalar invariance preserves the weights when representatives are rescaled, and prime-field degree is preserved under the ambient transformation. Explicitly, if the original representatives are and the new point at infinity has finite coordinate , choose
Then, for every ,
The two new vectors are independent, and scalar invariance removes the prefactor . This realizes precisely the finite-point coordinates in Lemma 3.2. Thus the coefficient lemma applies separately at every outside point P and gives
A whole-zero hyperplane cannot contain , because contains support points. Since , it meets at exactly one point, necessarily outside . Therefore every whole-zero hyperplane is counted exactly once when its intersection with is used, and
Case 2: no secant in (3.5) exists. Fix . The projective lines through correspond to points of the quotient projective space , so their number is
Two different such lines meet only in , and every other projective point lies on exactly one of them. Every one of these lines has at least two support points by Lemma 2.4.
If , the absence of intersections of sizes means that every line through has at least support points. Consequently
Every whole-zero hyperplane is disjoint from S, so Lemma 3.1 gives
This includes : the short-secant range is empty, and the line-sum identity still ensures at least support points on every line through .
If , then is an integer, and every line through has at least support points. Thus
Since , we have ; hence
It follows that
Applying Lemma 3.1 once more gives
The two cases exhaust all support configurations, completing the proof.
The first-layer value of the bound is attained in every dimension, as the following example shows.
Remark 3.3. For and , take
Since for , the function has values in . It satisfies
Lemma 2.2 gives . On the hyperplane , with ,
The defining equations have coefficient 1 at and distinct coefficients at , so they define distinct hyperplanes. Theorem 1.2 gives the matching upper bound .
4 Griesmer codes, endpoints, and weight residues
To apply the geometric theorem to code divisibility, we pass from integer weights to functions on the coefficient space. Residual codes and endpoint shortenings provide the smaller Griesmer codes needed for induction; divided weight residues supply the prime-field polynomials to which the hyperplane bound will apply. The following arguments develop these two ingredients and establish the required degree bound. The residual and endpoint statements are classical; see [5, Section 4] and [6, arXiv version, Lemma 3.1, Theorem 3.3, and Corollary 3.4]. Their proofs are retained, including the dimension and effective-length arguments needed later.
4.1 Residual codes and the Griesmer bound
If , puncturing the coordinates in means applying the linear map
When for a minimum-weight word , its image on is called the residual code with respect to . The minimum-weight hypothesis controls both the kernel of this puncturing map and the distance of its image, leading directly to the Griesmer bound.
Lemma 4.1. Let be an linear code with and . Then . If and has weight , puncturing the positions in gives a code of dimension and minimum distance at least . If is Griesmer, this residual code is Griesmer of minimum distance exactly ; in particular its distance is when .
Proof. In dimension one the Griesmer bound is , and no residual assertion is made. For the residual assertions assume . Put and . For , set
Every word , with , is nonzero; otherwise . For , the equation has the unique solution . For , its left side equals independently of . Thus the coordinate sums are
Summing over the coordinates gives the following identity. It provides a direct proof of the residual bound stated in [6, arXiv v1, Lemma 3.1]:
Consequently,
The kernel and the dimension now follow without any assumption on the multiplicities of the generator columns. Certainly . Conversely, a word has , so it cannot belong to that kernel. Hence
Every nonzero word of has a preimage outside ; the same inequality therefore proves .
We next obtain the Griesmer bound by induction on . For , the inequality is . If the bound holds in dimension , then
Here we used the elementary identity
Adding proves .
Finally, suppose that and put . The ceiling identity just proved gives
For every positive integer , the function is strictly increasing on positive integers: its first summand is , and its remaining summands are nondecreasing. If , the Griesmer bound just proved would give
a contradiction. Thus , and is Griesmer. When , this gives . This is [6, arXiv v1, Theorem 3.3(1)].
4.2 Projective columns and endpoint shortenings
A complementary construction reduces dimension by restricting the coefficient space while preserving the minimum distance. Its description uses the projective classes of the generator columns.
Fix a Griesmer code and a full-rank generator matrix . Its coefficient space is , with the isomorphism
We shall write and . The ith column of G represents the coordinate functional
No is zero. Indeed, deleting a zero column would leave both dimension and minimum distance unchanged and produce an code, contrary to Lemma 4.1.
For a vector space W, the projective space is the set of one-dimensional subspaces of W. Thus a point of is a class
Let be the number of columns whose functionals represent ; repetitions are counted. For a set , put . In particular,
For , the annihilating projective hyperplane is
The coordinates counted by are precisely the zero coordinates of , and therefore
Every projective hyperplane of is for some nonzero , by the natural identification .
For later restrictions, let and define
The effective code on U is the image of
This map is injective. In fact, if , the retained coordinates vanish by assumption and the deleted coordinates vanish because ; hence and . Consequently,
Restoring the deleted zero coordinates identifies this effective code with the subcode . In particular, its minimum distance is at least whenever . This is the effective-length convention used in [5, Section 1].
The points of maximum column multiplicity specify precisely the codimension-one restrictions needed for induction. The next statement includes Ward's endpoint count [5, Lemma 11], together with the standard shortening and multiplicity facts [6, arXiv version, Theorem 3.3(2) and Corollary 3.4].
Lemma 4.2. Let C be a Griesmer code of dimension . Put
Then for every . The endpoint set
satisfies
In particular, is nonempty and spans . For , the effective code on is a dimension-(k-1) Griesmer code of minimum distance exactly . If , every nonzero word of has weight .
Proof. The definition of gives
Since is an integer, this also proves the stated range .
For an arbitrary , take , a subspace of dimension . Its annihilator is
Thus the identically zero coordinates on are exactly the columns represented by . Its effective length is , and its minimum distance satisfies . Applying Lemma 4.1 gives
When , equality of the effective length with and strict increase of the Griesmer sum force . This proves the shortening assertion.
We next count the endpoints. A projective space of vector dimension has points; a projective hyperplane has points. Therefore
Since every nonendpoint has integer multiplicity at most , equation (4.2) implies
Subtracting gives . In particular, no projective hyperplane contains ; this is equivalent to the assertion that its representatives span .
Counting all points, rather than only those outside K, gives Ward's sharper cardinality estimate:
In the penultimate equality, the number is an integer, so it can be moved inside the ceiling. The first summand of is , proving the remaining inequality in (4.3).
Finally, if , then . For every , the complement of has points, each of multiplicity at most . Hence
All these inequalities are equalities, so is constant-weight. The same statement appears in [6, arXiv v1, Proposition 4.1], where it is attributed to [4, Corollary 5].
4.3 Finite differences and weight residues
Endpoint shortenings describe where a weight residue must vanish. To apply Theorem 1.2, we also need a bound on its prime-field degree. The relevant finite-difference estimate is the elementary-abelian case of [11, Theorem 4.9(c)]. We first isolate it with the coefficient ring made explicit.
For an abelian group A and a function , write
The translation operators commute, and . An iterated difference has the explicit formula
We shall use this formula both before and after dividing integer weights by a power of p.
For a nonzero function , its functional degree is
with value if the set is empty. We set . The next lemma is an upper bound on this degree for a specified finite domain and target.
Lemma 4.3. Let be a nonnegative integer, let , and let be the additive group of , where . Put
For every function and all ,
Proof. Choose an -basis of . On the -module of all functions , put
The operators commute, and implies . Expanding gives
For , the integer is divisible by .
Consider an operator monomial with . Whenever an exponent is at least , use (4.5) on one factor . Each resulting term gains a factor divisible by , and its total exponent decreases by one of . Repeating this replacement terminates, because total exponents strictly decrease. At the end of a branch every exponent is at most , so its final total exponent satisfies . If that branch contains replacements, then
It follows that . The branch coefficient is therefore divisible by and is zero in . Every branch vanishes, proving
For an arbitrary , write with integer representatives . Its translation difference is
This is a polynomial in with zero constant term. A product of such differences is consequently a sum of operator monomials of total exponent at least . Equation (4.6) makes every one of them zero. Applying the resulting zero operator to proves the assertion.
Writing for the largest functional degree of maps in this finite p-group setting, the general formula of Clark and Schauz gives
The preceding proof supplies the upper bound required here; no assertion about its optimality is needed for the application. Since a codeword weight is a sum of coordinate indicators, the same estimate can be transferred through the coordinate functionals. The next lemma carries this estimate to the divided weight residue.
Lemma 4.4. Let s be a nonnegative integer. If all weights of an -linear code are divisible by , then
is a well-defined -valued function on its coefficient space. It is scalar invariant, satisfies , and obeys
Proof. Let be the coefficient space, and let be its coordinate functionals. With , define the nonzero indicator
Then the weight function modulo is
For , linearity of gives the pullback identity
Iterating this identity and applying Lemma 4.3, with , yields
The divisibility hypothesis allows this congruence to be divided by in the integers. More explicitly, formula (4.4) says that
Each summand is an integer multiple of . Dividing all summands by that integer gives
Equivalently,
This division does not invert p in R. It uses the additive isomorphism
which is well defined because in is equivalent to .
To convert (4.7) into an algebraic-degree bound, identify V with by a prime-field basis. Write its reduced polynomial as
If , the claimed bound is immediate. Otherwise let be its degree, and choose a nonzero coefficient with . The elementary identity
shows that a difference in one coordinate lowers its exponent, and a such differences send to . For the coordinate unit vectors , the difference operator
kills all monomials of degree less than D. It also kills every other monomial of degree D, since such a monomial has an exponent smaller than in some coordinate i. For the selected monomial it gives
Here , so none of the factorials vanishes in . If , the same operator must kill by (4.7): its first differences already give zero. This contradiction proves .
Finally,
Therefore is scalar invariant and .
5 All layers in the basic valuation window
The endpoint and degree lemmas supply the two ingredients needed to apply the geometric bound to weight residues. The proof has two distinct induction parameters: induction on s supplies the divisibility needed to define , and minimality of the dimension supplies its whole-zero hyperplanes. Making these roles explicit avoids assuming the layer that is being proved. For s = 0, the conclusion is Ward's known p-divisibility result [5, Proposition 13]; we retain this layer in the uniform argument.
Theorem 5.1. For every integer with , a -ary Griesmer code with is -divisible.
Proof. For a fixed field , let be the assertion
for every Griesmer code , in every positive dimension. We prove successively for . At , all integer weights are divisible by . At , assume . Since
that preceding assertion makes every code under consideration -divisible. Thus the prerequisite for Lemma 4.4 is available at every layer.
Suppose, for the current , that is false. Choose a counterexample of smallest positive dimension among all Griesmer codes with . For its coefficient space , the function
is well defined. The failure of -divisibility means that it is nonzero. Lemma 4.4 also gives
The counterexample has . Indeed, in dimension one all nonzero words are scalar multiples of one another and have weight . In dimension two, the condition implies ; the final assertion of Lemma 4.2 again makes all nonzero weights equal to . In both dimensions, gives , contradicting the choice of .
Now let be the endpoint set of . For , the effective code on ker has dimension , minimum distance , and length , by Lemma 4.2. It still satisfies . Minimality of therefore gives
Different projective points give different kernels: for nonzero functionals , equality implies by taking annihilators. Thus has at least distinct whole-zero hyperplanes. Theorem 1.2 yields
The endpoint lower bound contradicts this upper bound. In the notation of Lemma 4.2,
Since divides both d and Q, and t > 0, we have
Consequently,
an impossibility. This proves and completes the induction on the layer.
To record precisely what has now been established, put . If , the divisor in Theorem 1.1 is . If , then
and Theorem 5.1 gives the exponent . We have therefore proved Theorem 1.1 in every dimension throughout the range . The remaining argument transfers this conclusion to all larger valuations.
6 Transfer beyond the valuation window
For , a three-dimensional constant-weight subcode provides representatives of every projective direction in its dual. Ward's endpoint lifting lemma transfers those directions to endpoints of the original code [5, Lemma 12]. An elementary averaging argument then produces a minimum-weight word with prescribed endpoint ratios. The final projective-line identity and residual induction follow the strategy of Ward's quaternary proof [5, Theorem 14]; all steps are given below for an arbitrary prime power .
6.1 A functional taking every field value
The averaging step rests on the following criterion for a linear functional to take every field value on a finite set. The criterion concerns ordinary vectors, not projective points, and will be applied after the endpoint representatives have been normalized.
Lemma 6.1. Let be a set of distinct vectors in a finite-dimensional -vector space . There exists such that .
Proof. Choose uniformly from the finite vector space . For each , define the fiber size
For distinct , the vector is nonzero. The evaluation map
is a surjective linear map and has a codimension-one kernel. Thus
For v = w, the probability is 1. Counting ordered pairs of elements of A with equal images gives
Suppose that every omitted at least one value. Then at most of its fibers would be nonempty. Cauchy–Schwarz, applied to these nonempty fibers, would give
Taking expectations, multiplying by , and dividing by yields
This contradicts the hypothesis. Some functional therefore takes all q values on A.
6.2 Constant-weight sections and their endpoint fibers
To use the preceding criterion, we obtain a set of vectors from endpoint lifts of a constant-weight section. Repeated endpoint shortening produces Griesmer sections of every smaller positive dimension. When , the three-dimensional sections are constant-weight. This is also a consequence of [6, arXiv version, Theorem 4.6]; their column multiplicities can be computed directly by incidence counting.
Lemma 6.2. Let be a Griesmer code of dimension , with . There exists a three-dimensional subspace whose effective code is Griesmer of distance . For every such , all its nonzero words have weight and its projective column multiplicity is at every point of . Moreover, every point of has an endpoint lift in under restriction .
Proof. If , take . If , apply Lemma 4.2 repeatedly. At each stage an endpoint exists, and its effective shortening lowers the dimension by one while preserving the exact distance and the Griesmer equality. Thus there is a chain
whose effective codes have parameters . The restrictions remain subspaces of the original coefficient space: restoring deleted zero coordinates embeds each effective code into .
Now consider any such three-dimensional . Since , the last assertion of Lemma 4.2 gives
Let be its column multiset in the projective plane . Every line is the annihilator of a nonzero , so
Fix a point . There are lines through ; each other point is on exactly one of them. Hence
Substituting the common line multiplicity gives
and therefore
Thus every projective point of is an endpoint of the effective code on D.
We next lift these points to endpoints of the original code. The restriction map
is surjective, since a linear functional on extends to after extending a basis of to a basis of . Its kernel has dimension . The associated projective map is
The excluded points represent exactly those functionals that vanish on , namely the zero coordinates deleted from its effective code.
Fix , with . Every point in the projective fiber has a unique representative satisfying : divide an arbitrary representative by the unique nonzero scalar relating its restriction to . Conversely, distinct elements of the affine fiber cannot be proportional, because both restrict to the same nonzero . Therefore
Every original column in that projective fiber contributes once to the multiplicity of Q after restriction. Hence
Put , and let
Each of these points has multiplicity , and every remaining point of the fiber has multiplicity at most . Consequently,
With the endpoint remainder , this becomes
The final inequality follows because and : both and are divisible by . This is the present three-dimensional instance of [5, Lemma 12]. It proves that every has an original endpoint lift.
6.3 Completion of the divisibility proof
The two preceding lemmas supply the remaining ingredient: for a word outside every endpoint kernel, a minimum-weight word can be chosen so that each of its affine combinations with the given word enters an endpoint kernel. Those combinations have known divisibility by dimension induction; the residual code controls the remaining term in the projective-line weight identity.
Proof of Theorem 1.1. Fix . We use induction on the dimension, with the claim in each dimension covering all positive minimum distances. Explicitly, the induction hypothesis at dimension is that every Griesmer code with is
The case is immediate, since every nonzero word has weight . Theorem 5.1 and the observation following its proof already cover every dimension when . It remains to consider
In dimensions two and three, , so Lemma 4.2 makes the code constant-weight. Moreover,
These dimensions satisfy the desired conclusion. Assume henceforth that and that the induction hypothesis holds in every smaller dimension.
The induction hypothesis first settles the words in endpoint kernels. Let be the endpoint set in . For , the effective code on is a dimension- Griesmer code with the same minimum distance . The induction hypothesis therefore gives
This includes the zero word. Thus we need only treat a word u satisfying
Whether this condition holds is independent of the chosen nonzero representative of P.
Choose a three-dimensional subspace as in Lemma 6.2. For each , choose one original endpoint lift and a representative . Normalize its restriction by its value at :
The denominator is nonzero by (6.3). The numerator is nonzero because lies in a projective fiber above . For ,
so this normalization is independent of the representative. Also
Hence the vectors are distinct for distinct Q. Their set satisfies
Apply Lemma 6.1 to in the vector space . It gives a functional with . The natural evaluation isomorphism
identifies this functional with some . Thus
Since , a functional taking all values is not zero, and therefore . The constant-weight property of yields
For every , equation (6.5) provides a point with
Because , equation (6.2) gives
The value 0 in (6.5) also shows that vanishes at some endpoint, whereas vanishes at none. Thus and are linearly independent: if with , every endpoint value of would be nonzero, and would contradict .
The affine combinations have the required divisibility. The remaining information comes from the residual code with respect to the minimum-weight codeword . Lemma 4.1 gives
and is Griesmer. The dimension induction applies even though its distance has changed: the induction claim covers all distances. Since
every weight of is divisible by
For the residual weight
we obtain
It remains to relate these residual weights to the original word. The average weight equation on the two-dimensional subcode is [5, Section 1 and the proof of Theorem 14]
For completeness, let and . At each coordinate, the contributions to its left side are given by
| total | |||
|---|---|---|---|
| 0 | 0 | 0 | |
| 0 | q | q | |
| 1 | q - 1 | q | |
| 1 | q - 1 | q |
Indeed, if , exactly one scalar gives a zero term; if , every term equals . Equivalently, the coordinate identity is
Summing it over i proves (6.8), because
Finally, (6.6) makes every term in the sum in (6.8) divisible by . Also and (6.7) imply . Reducing that exact identity modulo therefore gives
This treats every word satisfying (6.3); all remaining words were covered by (6.2). The dimension induction is complete, and the theorem holds for every positive dimension and every valuation .
References
[1] J. H. Griesmer, A bound for error-correcting codes, IBM Journal of Research and Development 4(5) (1960), 532–542. https://doi.org/10.1147/rd.45.0532.
[2] G. Solomon and J. J. Stiffler, Algebraically punctured cyclic codes, Information and Control 8(2) (1965), 170–179. https://doi.org/10.1016/S0019-9958(65)90080-X.
[3] S. M. Dodunekov and N. L. Manev, Minimum possible block length of a linear binary code for some distances, Problems of Information Transmission 20(1) (1984), 8–14. English translation of Problemy Peredachi Informatsii 20(1) (1984), 12–18. https://www.mathnet.ru/eng/ppi1117.
[4] H. N. Ward, Divisibility of codes meeting the Griesmer bound, Journal of Combinatorial Theory, Series A 83(1) (1998), 79–93. https://doi.org/10.1006/jcta.1997.2864.
[5] H. N. Ward, Divisible codes—a survey, Serdica Mathematical Journal 27(4) (2001), 263–278. https://www.math.bas.bg/serdica/2001/2001-263-278.pdf.
[6] H. Deng, H. Huang, and Q. Xiang, Divisibility of Griesmer codes, Journal of Combinatorial Theory, Series A 222 (2026), article 106181. https://doi.org/10.1016/j.jcta.2026.106181. Earlier version: arXiv:2506.07846v1 (2025), https://arxiv.org/abs/2506.07846v1.
[7] I. G. Bouyukliev, Classification of Griesmer codes and dual transform, Discrete Mathematics 309(12) (2009), 4049–4068. https://doi.org/10.1016/j.disc.2008.12.002. Author's manuscript: https://www.moi.math.bas.bg/moiuser/~iliya/pdf_site/D_tr_eng.pdf.
[8] I. N. Landjev and A. P. Rousseva, On the divisibility of arcs with multiple points, Annuaire de l'Université de Sofia, Faculté de Mathématiques et Informatique 100 (2010), 21–26. https://annual.uni-sofia.bg/index.php/fmi/article/download/243/233/258.
[9] E. Haramaty, N. Ron-Zewi, and M. Sudan, Absolutely sound testing of lifted codes, Theory of Computing 11, article 12 (2015), 299–338. https://doi.org/10.4086/toc.2015.v011a012. https://theoryofcomputing.org/articles/v011a012/v011a012.pdf.
[10] E. Aichinger and J. Moosbauer, Chevalley-Warning type results on abelian groups, Journal of Algebra 569 (2021), 30–66. https://doi.org/10.1016/j.jalgebra.2020.10.033. Journal full text: https://epub.jku.at/obvulioa/download/pdf/5687588. Earlier version: arXiv:1912.08448v1, https://arxiv.org/abs/1912.08448v1.
[11] P. L. Clark and U. Schauz, Functional degrees and arithmetic applications I: The set of functional degrees, Journal of Algebra 608 (2022), 691–718. https://doi.org/10.1016/j.jalgebra.2022.05.035. Preprint: https://arxiv.org/abs/2201.02763. Author-hosted accepted manuscript: https://plclark.github.io/PeteLClark/Research/Clark-Schauz21.pdf.
[12] I. Landjev and A. Rousseva, On the divisibility of linear codes and arcs, International Workshop on Coding and Cryptography (WCC 2026), conference paper, 2026, 9 pp. https://wcc2026.inria.fr/assets/final_versions/WCC2026_paper_45.pdf.
[13] X. Liu, On Divisible Codes over Finite Fields, Ph.D. thesis, California Institute of Technology, 2006. https://doi.org/10.7907/96K8-Q767. https://thesis.caltech.edu/2055/.
[14] H. Deng, The generalized Griesmer and antiGriesmer bounds, arXiv: 2608.04495v1 (2026). https://arxiv.org/abs/2608.04495v1.