arXiv:2609.08784cs.ITSep 2026

Manuscript Offprint

arXiv:2609.08784

The Weight Spectrum of the Affine Grassmann Code CA(3,6)C^{\mathbb A}(3,6)

Prasant Singh, Rohit Yadav

Abstract

In this article, we consider the affine Grassmann code CA(3,6)C^{\mathbb{A}}(3,6), obtained from the affine open cell A9\mathbb{A}^9 of the Grassmannian G3,6G_{3,6}. We exploit the representation of codewords as linear combinations of minors of all sizes of a generic 3×33 \times 3 matrix and classify them according to the largest size of a minor occurring with a nonzero coefficient. Using this classification, we determine all possible Hamming weights of codewords of CA(3,6)C^{\mathbb{A}}(3,6) and, for each weight, compute the number of codewords attaining that weight. Consequently, we obtain the complete weight spectrum of the affine Grassmann code CA(3,6)C^{\mathbb{A}}(3,6).

Keywords: Affine Grassmann codes, Weight spectrum, Grassmann codes.

MSC2020: 94B27, 14G50

1 Introduction

Let Fq\mathbb{F}_q be the finite field with qq elements, where qq is a prime power. Using the language of projective systems [TVN07], one can associate linear codes with subsets of Fq\mathbb{F}_q-rational points of algebraic varieties. Affine Grassmann codes constitute one such class of codes. These codes are obtained by considering the projective system associated with the set of Fq\mathbb{F}_q-rational points of an affine open cell defined by the nonvanishing of the last Plücker coordinate of the Grassmannian.

Let ℓ\ell and ℓ′\ell' be positive integers such that ℓ≤ℓ′\ell \leq \ell'. Set m=ℓ+ℓ′m = \ell + \ell' and δ=ℓℓ′\delta = \ell\ell'. Let Aδ\mathbb{A}^\delta denote the set of all ℓ×ℓ′\ell \times \ell' matrices over the field Fq\mathbb{F}_q. Geometrically, Aδ\mathbb{A}^\delta can be realized

*Email: psinghprasant@gmail.com Department of Mathematics, Indian Institute of Technology, Jammu, India-181221. †Email: rohityadavau1998@gmail.com Department of Mathematics, Indian Institute of Technology, Jammu, India-181221.

as the set of Fq\mathbb{F}_q-rational points of an affine open cell of the Grassmannian Gℓ,mG_{\ell,m}, defined by the nonvanishing of a last Plücker coordinate. Thus, Aδ\mathbb{A}^\delta can be realized as a subset of the Grassmannian Gℓ,mG_{\ell,m} and a code can be obtained by puncturing the Grassmann code C(ℓ,m)C(\ell,m) introduced by Nogin [Nog96] on the set Gℓ,m∖AδG_{\ell,m} \setminus \mathbb{A}^\delta. The code obtained from the affine open cell Aδ\mathbb{A}^\delta of the Grassmannian Gℓ,mG_{\ell,m} of all ℓ\ell-planes of V=FqmV = \mathbb{F}_q^m is called the affine Grassmann code and is denoted by CA(ℓ,m)C^{\mathbb{A}}(\ell,m). The systematic study of the affine Grassmann code CA(ℓ,m)C^{\mathbb{A}}(\ell,m) was formally initiated by Beelen, Ghorpade, and Høholdt [BGH10]. In this article, they proved that the affine Grassmann code CA(ℓ,m)C^{\mathbb{A}}(\ell,m) is an [n,k,d]q[n,k,d]_q code with

n=qδ,k=(mℓ),andd=qδ−ℓ2∏i=0ℓ−1(qℓ−qi).(1.1)n=q^{\delta},\qquad k=\binom{m}{\ell},\qquad\mathrm{a n d}\qquad d=q^{\delta-\ell^{2}}\prod_{i=0}^{\ell-1}(q^{\ell}-q^{i}). \tag{1.1}

Further, they also characterized the minimum weight codewords of CA(ℓ,m)C^{\mathbb{A}}(\ell,m) and showed that this code has a very large automorphism group. In a subsequent work, Beelen, Ghorpade, and Høholdt [BGH12] studied the dual affine Grassmann codes. To be precise, they gave an explicit description of the dual affine Grassmann code CA(ℓ,m)⊥C^{\mathbb{A}}(\ell,m)^{\perp} as an evaluation code and proved that CA(ℓ,m)⊥C^{\mathbb{A}}(\ell,m)^{\perp} is an [n,n−k,d⊥]q[n,n-k,d^{\perp}]_q code, where nn and kk are given by equation (1.1) and d⊥d^{\perp} is given by

d⊥={3,ifq≥3,4,ifq=2.(1.2)d^{\perp}=\begin{cases}3,&if q\geq3,\\4,&if q=2.\end{cases} \tag{1.2}

Several interesting properties of affine Grassmann codes have been studied over the last two decades. For example, Ghorpade and Kaipa [GK13] explicitly determined the automorphism groups of CA(ℓ,m)C^{\mathbb{A}}(\ell,m). Datta and Ghorpade [DG15] determined a few initial and terminal higher weights of CA(ℓ,m)C^{\mathbb{A}}(\ell,m) in the case when ℓ<ℓ′\ell < \ell'. Beelen and Pinero [BP16] investigated the structure of the dual affine Grassmann code and showed that the supports of the minimum weight codewords of CA(ℓ,m)⊥C^{\mathbb{A}}(\ell,m)^{\perp} satisfy certain nice geometric properties and enumerated the number of minimum weight codewords of these codes. More recently, building on the work of Beelen and Singh [BS21] on majority-logic decoding for Grassmann codes, the authors, in collaboration with Piñero [PGSY26], proposed a majority-voting decoder for affine Grassmann codes CA(ℓ,m)C^{\mathbb{A}}(\ell,m) over nonbinary fields. They showed that the proposed algorithm can asymptotically correct up to ⌊d/2ℓ+1⌋\lfloor d/2^{\ell+1} \rfloor errors.

Determining the weight spectrum of any class of code is one of the most challenging problems in the field of coding theory. For example, Nogin [Nog96, Nog97] determined the weight spectrum of Grassmann codes C(2,m)C(2,m) and C(3,6)C(3,6). Later, Kaipa and Pillai [KP13] determined the weight spectrum of the Grassmann code C(3,7)C(3,7). In general, the problem of computing the weight spectrum of Grassmann code C(ℓ,m)C(\ell,m) corresponds to giving a classification of forms in ⋀m−ℓFqm\bigwedge^{m-\ell}\mathbb{F}_q^m, which is a difficult problem to solve, and therefore, the weight spectrum of all other nontrivial Grassmann codes is not known. Piñero and Singh [PS19] identified the affine Grassmannian A2(m−2)\mathbb{A}^{2(m-2)} with the complement of the Schubert divisor Ωα(2,m)\Omega_\alpha(2,m) in the Grassmannian G2,mG_{2,m}, where α=(m−2,m)\alpha = (m-2,m). They established a projection from the Grassmann code C(2,m)C(2,m) onto the affine Grassmann code CA(2,m)C^{\mathbb{A}}(2,m) and showed that every codeword of C(2,m)C(2,m) can be uniquely decomposed into a Schubert-code component and an affine Grassmann-code component. Using this correspondence and the classification of skew-symmetric matrices, they derived the weights of codewords of CA(2,m)C^{\mathbb{A}}(2,m) and consequently determined its weight spectrum. Beyond the case ℓ=2\ell=2, the weight spectrum of CA(ℓ,m)C^{\mathbb{A}}(\ell,m) remains unknown, including for the codes CA(3,6)C^{\mathbb{A}}(3,6) and CA(3,7)C^{\mathbb{A}}(3,7), even though the weight spectra of the corresponding Grassmann codes C(3,6)C(3,6) and C(3,7)C(3,7) have been known for several decades.

In this article, we consider the problem of determining the weight spectrum of the affine Grassmann code CA(3,6)C^{\mathbb{A}}(3,6). The approach used to determine the weight spectrum of the Grassmann code C(3,6)C(3,6) does not directly extend to the affine setting. In particular, the natural group action on CA(3,6)C^{\mathbb{A}}(3,6) leads to a considerably richer orbit structure, making a direct orbit-based analysis more difficult. We instead exploit the realization of codewords of CA(3,6)C^{\mathbb{A}}(3,6) as linear combinations of minors of a 3×33\times3 matrix. We classify the codewords according to the largest size of a minor occurring with a nonzero coefficient in such an expression and analyze the resulting cases separately. This enables us to determine all possible Hamming weights of codewords of CA(3,6)C^{\mathbb{A}}(3,6) and, for each such weight, the number of codewords attaining it. Consequently, we obtain the complete weight enumerator of the affine Grassmann code CA(3,6)C^{\mathbb{A}}(3,6). In an appendix, we also provide a streamlined computation of the weight spectrum of CA(2,m)C^{\mathbb{A}}(2,m), improving upon the computation given in [PS19].