arXiv:2610.08480cs.ITOct 2026

Manuscript Offprint

arXiv:2610.08480

Graph-Based Linear Codes Associated with the Finite Ring Fp[x]/⟨x4⟩\mathbb{F}_p[x]/\langle x^4 \rangle

Apurba Sarkar, Kalyan Hansda, Makhan Maji

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We investigate the linear codes derived from the zero-divisor graph Γ(R)\Gamma(R) of the finite local ring R=Fp[x]/⟨x4⟩R = \mathbb{F}_p[x]/\langle x^4\rangle for an odd prime pp. Using an equitable partition of Z∗(R)Z^*(R), we determine the parameters of the binary incidence code of Γ(R)\Gamma(R) and construct induced bipartite subgraph codes achieving dual minimum distance 4. Over Fp\mathbb{F}_p, we parameterize the adjacency and Laplacian codes, derive the closed-form weight distribution of the Laplacian code via the MacWilliams identity, and establish its LCD property. Additionally, we determine the automorphism groups of the graph and its matrix codes. Finally, from extremal subgraphs of Γ(R)\Gamma(R), we construct two families of Griesmer-optimal linear codes over Fp\mathbb{F}_p, comprising a constant-weight minimal code and an optimal two-weight code.

1 Introduction

The interplay between algebraic coding theory and graph theory provides an effective framework for constructing structured linear codes with predictable parameters, high symmetry, and rich automorphism groups [8,11]. In modern information theory and secure communication, algebraic techniques play a pivotal role in designing error-correcting codes, distributed data storage protocols, and cryptographic primitives. A classical line of inquiry focuses on deriving linear codes from matrices associated with algebraic graphs, where structural graph invariants directly translate into fundamental code parameters and performance guarantees in information transmission [8,12,13]. In this context, zero-divisor graphs of commutative rings, originally introduced by Beck [7] and later redefined by Anderson and Livingston [1] on the set of nonzero zero-divisors Z∗(R)Z^{*}(R), offer a direct geometric realization of ring-theoretic annihilations. In these graphs, adjacency reflects zero-product relations, naturally giving rise to regularities and partition symmetries that are well-suited for code generation [2,3].

Binary linear codes generated by vertex-edge incidence matrices have received considerable attention because their length, dimension, and minimum distance are directly determined by fundamental graph invariants [8]. In particular, Dankelmann et al. [8] established that the minimum distance of an incidence code over F2F_2 equals the edge connectivity of the graph, while the dual code coincides with the cycle space of the graph, possessing a minimum distance equal to the graph's girth. Beyond incidence matrices, the row spaces of graph adjacency and combinatorial Laplacian matrices over finite fields FpF_p yield codes whose parameters reflect spectral and equitable partition properties [11]. Furthermore, evaluating linear forms over

*apurbasarkar065@gmail.com, kalyanh4@gmail.com

†^{\dagger}makhan2maths@gmail.com defining sets formed by specific algebraic subsets such as extremal cliques or independent sets constitutes a powerful application of ring and module algebra in information theory, especially for constructing minimal linear codes [5,9,10]. Such minimal codes are of significant interest in cryptography and network information theory due to their direct application in designing secret-sharing schemes with democratic access structures and secure multi-party computation protocols.

Recent investigations into zero-divisor graphs and their associated codes have highlighted the role of local ring structures in determining code parameters [2–4]. In this paper, we explore the zero-divisor graph Γ(R)\Gamma(R) of the finite local commutative ring R=Fp[x]/⟨x4⟩R = \mathbb{F}_p[x]/\langle x^4\rangle, where pp is an odd prime. While the spectral and dynamical network invariants of Γ(R)\Gamma(R) were investigated in [14], its algebraic error-correcting code structures remain unexplored. The nilpotency index of 4 induces an equitable partition of the zero-divisor set Z∗(R)Z^*(R), producing well-defined vertex classes characterized by their annihilation neighborhoods. This combinatorial organization provides an explicit framework for parameterizing multiple distinct families of graph-derived error-correcting codes.

The primary objective of this work is to systematically examine how the structural invariants of Γ(R)\Gamma(R) govern code parameters across different algebraic formulations. First, we construct the binary incidence code of Γ(R)\Gamma(R) and determine its exact parameters along with its dual code, whose error-correction capability is governed by the graph's girth. To expand the girth and achieve guaranteed double-error detection ( d⊥=4d^{\perp}=4), we construct binary codes from an induced complete bipartite subgraph between the maximal independent set and the dominating clique. Second, over the base field FpF_p, we evaluate the linear codes arising from the block adjacency and Laplacian matrices. By exploiting the one-dimensional repetition structure of the dual Laplacian code, we obtain its closed-form weight enumerator via the MacWilliams identity and prove that it forms a linear complementary dual (LCD) code, which has important applications in protecting information against side-channel and fault-injection attacks. Furthermore, we determine the full graph automorphism group Aut(Γ(R))\text{Aut}(\Gamma(R)) and characterize its relation to the permutation automorphism groups of the resulting matrix codes. Finally, by extracting defining sets from the maximal clique and maximal independent set of Γ(R)\Gamma(R), we construct two families of Griesmer-optimal linear codes over FpF_p that achieve the Griesmer bound with equality, characterized as a constant-weight minimal code and an optimal two-weight code, respectively.

The remainder of this paper is organized as follows. Section 2 outlines the algebraic, graph-theoretic, and coding-theoretic preliminaries. Section 3 establishes the canonical partition of Z∗(R)Z^{*}(R) and determines the fundamental structural parameters of Γ(R)\Gamma(R). Section 4 presents the core coding-theoretic constructions, including incidence codes, p-ary matrix codes, weight enumerators, automorphism groups, and Griesmer-optimal minimal codes.