Papers
Topics
Authors
Recent
2000 character limit reached

Cartesian Square-Free Codes

Updated 18 November 2025
  • Cartesian square-free codes are a class of linear codes constructed by evaluating square-free monomials over Cartesian subsets of finite fields, generalizing affine toric codes.
  • They are defined using commutative algebra techniques that yield precise combinatorial formulas for generalized Hamming weights and other key coding parameters.
  • Their weight hierarchies and dual code structures are computed via sharp footprint bounds, providing actionable insights for performance analysis in algebraic coding theory.

Cartesian square-free codes are a class of linear codes constructed by evaluating square-free monomials over Cartesian product subsets of a finite field. These codes generalize affine toric codes and arise naturally in applications using commutative algebraic techniques to analyze their parameters, notably the hierarchy of generalized Hamming weights (GHWs). Their paper provides explicit combinatorial and algebraic characterizations for code parameters relevant across algebraic coding theory.

1. Algebraic Construction and Definitions

Let Fq\mathbb{F}_q be a finite field of cardinality qq. Fix nonempty subsets A1,A2,,AmFqA_1, A_2, \ldots, A_m \subset \mathbb{F}_q and set S=A1××AmS = A_1 \times \cdots \times A_m, so S=n1n2nm|S| = n_1 n_2 \cdots n_m, where ni=Ain_i = |A_i|. Cartesian square-free codes are defined using square-free monomials x1α1xmαmx_1^{\alpha_1} \cdots x_m^{\alpha_m} with each exponent αi{0,1}\alpha_i \in \{0,1\}.

Denote

  • Sd={α{0,1}m:α=d}S_d = \{ \alpha \in \{0,1\}^m : |\alpha| = d \} for fixed degree dd,
  • Sd={α:αd}S_{\le d} = \{ \alpha : |\alpha| \le d \} for degrees up to dd.

Define the evaluation map:

evS:Fq[x1,,xm]FqS,f(f(P))PS.\mathrm{ev}_S : \mathbb{F}_q[x_1, \ldots, x_m] \to \mathbb{F}_q^{|S|}, \quad f \mapsto (f(P))_{P \in S}.

The resulting codes are

  • Cd(S)=SpanFq{evS(xα):αSd}C_d(S) = \operatorname{Span}_{\mathbb{F}_q} \{ \mathrm{ev}_S(x^\alpha) : \alpha \in S_d \}, homogeneous degree dd,
  • Cd(S)=SpanFq{evS(xα):αSd}C_{\le d}(S) = \operatorname{Span}_{\mathbb{F}_q} \{ \mathrm{ev}_S(x^\alpha) : \alpha \in S_{\le d} \}, degrees up to dd.

One has dimCd(S)=(md)\dim C_d(S) = \binom{m}{d} and dimCd(S)=i=0d(mi)\dim C_{\le d}(S) = \sum_{i=0}^d \binom{m}{i}.

2. Generalized Hamming Weights and the Footprint Bound

For a [n,k][n, k] code CFqnC \subset \mathbb{F}_q^n, the rr-th generalized Hamming weight (GHW) is the minimum cardinality of the support among all rr-dimensional subspaces DCD \leq C:

dr(C):=min{Supp(D):DC,dimD=r}d_r(C) := \min \{ |\operatorname{Supp}(D)| : D \leq C,\, \dim D = r \}

with Supp(D)=cD{i:ci0}\operatorname{Supp}(D) = \bigcup_{c \in D} \{ i : c_i \neq 0 \}.

Wei’s monotonicity asserts 1d1(C)<d2(C)<<dk(C)n1 \leq d_1(C) < d_2(C) < \cdots < d_k(C) \leq n, and duality covers the spectrum {dr(C)}{n+1ds(C)}\{ d_r(C)\} \cup \{ n + 1 – d_s(C^\perp)\} for 1rk1 \leq r \leq k, 1snk1 \leq s \leq n - k.

The footprint bound, adapted for these codes, arises from commutative algebra: Picking a monomial order and considering the ideal I(S)I(S) of polynomials vanishing on SS, the footprint Δ(I)\Delta(I) is the set of monomials not in the initial ideal. For N={M1,,Mr}N = \{M_1, \ldots, M_r\}, the shadow is the set of monomials divisible by some MiM_i not in in(I(S))\mathrm{in}(I(S)). The key technical result is that for Cartesian square-free codes the footprint bound is sharp, permitting exact computation of GHWs using combinatorics (Carvalho et al., 11 Nov 2025).

3. Explicit Formulas for Weight Hierarchy

Assume 2n1n2nm2 \leq n_1 \leq n_2 \leq \cdots \leq n_m and 1dm1 \leq d \leq m, 1rm+1d1 \leq r \leq m + 1 - d, with n=i=1mnin = \prod_{i=1}^m n_i.

The main formula for the rr-th GHW of Cd(S)C_d(S) is:

dr(Cd(S))=(i=1d1(ni1))[i=dd+r1ni1]i=d+rmnid_r(C_d(S)) = \Bigg( \prod_{i=1}^{d-1} (n_i - 1) \Bigg) \Big[ \prod_{i=d}^{d+r-1} n_i - 1 \Big] \prod_{i=d+r}^m n_i

For the nested codes Cd(S)C_{\leq d}(S),

dr(Cd(S))=i=1d1(ni1)(i=dd+r1ni1)i=d+rmnid_r(C_{\leq d}(S)) = \prod_{i=1}^{d-1} (n_i-1) \cdot \left( \prod_{i=d}^{d+r-1} n_i -1 \right) \prod_{i=d+r}^m n_i

This formula arises by minimization over shadow sets of rr square-free monomials, with the minimal pattern given as N0={x1xd1xd,x1xd1xd+1,}N_0 = \{ x_1 \cdots x_{d-1} x_d,\, x_1 \cdots x_{d-1} x_{d+1},\, \ldots \} (Carvalho et al., 11 Nov 2025). The exact sharpness is proven for these decreasing (i.e., square-free) evaluation codes.

4. Extension to Affine Torus and Dual Codes

The affine torus in the context of square-free codes is T=(Fq)sT = (\mathbb{F}_q^*)^s, ensuring all evaluations avoid zero denominators. In this algebraic setting,

  • The code CdC_{\leq d}, constructed from square-free monomials of degree up to dd, has dimCd=k=0d(sk)\dim C_{\leq d} = \sum_{k=0}^d \binom{s}{k} and code length n=(q1)sn = (q-1)^s.
  • Bounds on the number of common zeros of rr linearly independent f1,,frVdf_1, \dots, f_r \in V_{\le d} in TT are sharply bounded by (Patanker et al., 2020):

Z(q1)s(q2)d1(q1)sdr+1[(q1)r1]|Z| \leq (q-1)^s - (q-2)^{d-1} (q-1)^{s-d-r+1} \Big[ (q-1)^r - 1 \Big]

Weight hierarchy results follow as

dr(Cd)=(q2)d1(q1)sdr+1[(q1)r1],d+r2<sd_r(C_{\leq d}) = (q-2)^{d-1}(q-1)^{s-d-r+1} \left[ (q-1)^r -1 \right], \quad d+r-2 < s

The Euclidean dual code CdC_{\leq d}^\perp is described by the complementary set of exponent vectors:

Cd=evT(SpanFq{t1a1tsas:(a1,,as)A})C_{\leq d}^\perp = \mathrm{ev}_T \left( \operatorname{Span}_{\mathbb{F}_q} \{ t_1^{a_1} \cdots t_s^{a_s} : (a_1, \dots, a_s) \in A' \} \right)

where A={0,1,,q2}sAdA' = \{0, 1, \dots, q-2 \}^s \setminus A_{\leq d}. Dimension sums confirm orthogonality: dimCd+dimCd=(q1)s\dim C_{\leq d} + \dim C_{\leq d}^\perp = (q-1)^s (Patanker et al., 2020).

5. Projective Evaluation Codes and Toric Hypersimplices

Cartesian square-free codes admit an extension to projective space. Given Pm(Fq)\mathbb{P}^m(\mathbb{F}_q), the code Cd(Pm)C_d(\mathbb{P}^m) spans the evaluations of all square-free monomials of homogeneous degree dd on representative points. There is a monomial equivalence between projective and affine evaluation codes:

Cd(Pm)(1:ξd:ξ2d::ξd(q2))Cd(Am{0})C_d(\mathbb{P}^m) \simeq (1 : \xi^d : \xi^{2d} : \ldots : \xi^{d(q-2)}) \otimes C_d(\mathbb{A}^m \setminus \{ 0 \})

yielding dr(Cd(Pm))=(q1)dr(Cd(Am{0}))d_r(C_d(\mathbb{P}^m)) = (q-1) \cdot d_r(C_d(\mathbb{A}^m \setminus \{ 0 \})). The explicit formula becomes

dr(Cd(Pm))=(q1)dqmdr+1(qr1)d_r(C_d(\mathbb{P}^m)) = (q-1)^d q^{m-d-r+1} (q^r - 1)

For nested degree codes:

dr=(q1)d1qmdr+2(qr1)d_r = (q-1)^{d-1} q^{m-d-r+2}(q^r-1)

Projective square-free codes coincide with dehomogenizations of toric codes on hypersimplices, preserving all minimum-distance and weight-hierarchy properties (Carvalho et al., 11 Nov 2025, Patanker et al., 2020).

6. Examples and Computational Verification

  • Binary Cartesian Cube (m=3m=3, Ai={0,1}A_i = \{0, 1\}, d=1d=1): S={0,1}3S=\{0,1\}^3, n=8n=8, code C1(S)=span{x1,x2,x3}C_1(S) = \operatorname{span}\{x_1,x_2,x_3\} is [8,3][8,3], with d1=4d_1=4, d2=6d_2=6, d3=7d_3=7.
  • Ternary Cube (m=3m=3, Ai={0,1,2}A_i=\{0,1,2\}, d=2d=2): n=27n=27, C2(S)=span{x1x2,x1x3,x2x3}C_2(S) = \operatorname{span}\{x_1x_2,x_1x_3,x_2x_3\} is [27,3][27,3], with d1=12d_1=12, d2=16d_2=16, for allowed rr.

These computations validate the closed-form formulas and demonstrate that the sharp footprint bound leads to exact hierarchy calculation in both affine and projective settings (Carvalho et al., 11 Nov 2025).

7. Connections, Implications, and Future Perspectives

Cartesian square-free codes integrate commutative algebra (initial ideals, footprints, shadow sets) into the combinatorial determination of code parameters. The translation of bounds and weight formulas to projective cases and toric hypersimplices facilitates interplay with geometric coding schemes. The explicit weight hierarchy provided by sharp footprint bounds extends the toolkit for evaluating code performance in applications requiring precise support guarantees and dual code computation.

A plausible implication is the broad transferability of these results to other monomial evaluation codes with similar combinatorial structure, pending suitable adaptations of the underlying algebraic machinery. This suggests rich further paper in Gröbner basis theory and algebraic geometry applied to the family of evaluation codes over structured finite sets.

Key references include (Carvalho et al., 11 Nov 2025) for the full Cartesian code framework and sharp GHW formulas, and (Patanker et al., 2020) for affine torus, dual code description, and ties to hypersimplex toric codes. These results establish foundational methodology for square-free code analysis in both affine and projective contexts.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)
Slide Deck Streamline Icon: https://streamlinehq.com

Whiteboard

Forward Email Streamline Icon: https://streamlinehq.com

Follow Topic

Get notified by email when new papers are published related to Cartesian Square-Free Codes.