On the number of minimal and next-to-minimal weight codewords of toric codes over hypersimplices
Cícero Carvalho, Nupur Patanker
TL;DR
This paper advances the understanding of toric codes $\mathcal{C}(d)$ associated with hypersimplices by precisely characterizing and counting the minimal and next-to-minimal weight codewords for the regime $3 \le d < s$. It leverages monomial equivalence between $\mathcal{C}(d)$ and $\mathcal{C}(s-d)$ in key ranges and employs Gröbner-basis footprint techniques to identify exact polynomial forms that achieve minimum and next-to-minimal weights, along with explicit weight- and count-formulas. The main contributions include closed-form counts for minimal-weight codewords in the $2d \le s$ and $s<2d<2s$ regimes and a detailed description and enumeration of next-to-minimal-weight codewords for $2d+2 \le s$ (with duality-based extensions for $2d-2 \ge s$). These results enhance weight enumerator knowledge, provide geometric interpretations via hypersurface configurations in the affine torus, and have implications for error-detection performance of these toric codes.
Abstract
Toric codes are a type of evaluation code introduced by J.P. Hansen in 2000. They are produced by evaluating (a vector space composed by) polynomials at the points of $(\mathbb{F}_q^*)^s$, the monomials of these polynomials being related to a certain polytope. Toric codes related to hypersimplices are the result of the evaluation of a vector space of homogeneous monomially square-free polynomials of degree $d$. The dimension and minimum distance of toric codes related to hypersimplices have been determined by Jaramillo et al. in 2021. The next-to-minimal weight in the case $d = 1$ has been determined by Jaramillo-Velez et al. in 2023, and has been determined in the cases where $3 \leq d \leq \frac{s - 2}{2}$ or $\frac{s + 2}{2} \leq d < s$, by Carvalho and Patanker in 2024. In this work we characterize and determine the number of minimal (respectively, next-to-minimal) weight codewords when $3 \leq d < s$ (respectively, $3 \leq d \leq \frac{s - 2}{2}$ or $\frac{s + 2}{2} \leq d < s$).
