arXiv:2610.12217cs.ITOct 2026

Manuscript Offprint

arXiv:2610.12217

On Function-Correcting Lee Metric Codes with Data Protection

Gyanendra K. Verma, Abhay Kumar Singh

Abstract

Function-correcting codes are designed to protect the function values of a prescribed function against errors. Every error-correcting code that provides data protection inherently offers some degree of protection for functions defined on the data. In this work, we introduce a class of codes over ZmZ_m, termed function-correcting Lee metric codes with data protection (FCLMCs with data protection), which simultaneously provide error protection for both the data and the corresponding function values under the Lee metric. We consider codes that provide protection against a prescribed level of error for the function values that exceeds the level of protection guaranteed for the underlying data. We present a general construction of these codes and derive lower and upper bounds on the optimal redundancy, including a Plotkin-type lower bound. Furthermore, we derive explicit upper bounds on the redundancy of FCLMCs with data protection for several important classes of functions, including locally binary Lee functions, the Lee weight function, and the modular sum function. Finally, since the Lee metric coincides with the Hamming metric over Z2Z_2, all of our results remain valid over Z2Z_2 with respect to the Hamming metric.

Keywords: Data protection, function-correcting codes, coding theory, Lee metric, error-correcting codes, optimal redundancy.

Mathematics subject classification: 94B60, 94B65.

1 Introduction

A new coding framework, known as Function-Correcting Codes (FCCs), was introduced in [3] to provide reliable protection for a specific function or attribute of interest rather than for the entire information vector. In conventional error-correcting coding schemes, the primary objective is to recover the complete transmitted information

*Department of Electrical Communication Engineering, Indian Institute of Science, Bengaluru, Karnataka 560012, India. The author is financially supported by the ANRF-NPDF grant PDF/2025/002309. email: gkvermaiitdmaths@gmail.com

†^{\dagger}Department of Mathematics and Computing, Indian Institute of Technology (ISM) Dhanbad, Dhanbad. email: abhay@iitism.ac.in Corresponding author: Abhay Kumar Singh vector accurately in the presence of errors. However, in many emerging communication and computing applications, the receiver may require only a particular function or attribute derived from the transmitted data, making complete recovery of the original information vector unnecessary.

A series of papers [1, 4, 5, 6, 7, 9, 10, 11, 13, 12, 15] by various authors have investigated Function-Correcting Codes (FCCs) from different perspectives, considering a wide range of distance metrics and target functions. These studies have explored the design and analysis of FCCs for different classes of functions and have established several relevant theoretical bounds on their performance. In particular, bounds related to code parameters, error-correction capability, redundancy, and coding efficiency have been derived for various function-correcting coding schemes. A summary of the relevant research contributions, including the authors, considered functions, distance metrics, and established bounds, is presented in Table X. The table provides a comparative overview of the existing work on FCCs and highlights the different approaches adopted by researchers in analyzing function-oriented error correction.

Recently, C. Rajput et al. [8] introduced a more general coding framework that extends the concept of Function-Correcting Codes by providing simultaneous protection for both the underlying data and their corresponding function values under the Hamming metric. Unlike conventional FCCs, which primarily focus on the reliable recovery of a specified function of the information vector, this generalized framework considers the joint preservation of the original data and the associated function. This approach provides greater flexibility in applications where both the transmitted data and the computed function are of interest at the decoder.

In this paper, we introduce a more general approach and framework for function-correcting codes with the Lee metric that incorporates data protection as well as protection of function values. A detailed description of Function-Correcting Codes (FCCs), along with a comprehensive review of the existing literature, is presented in Section 1. This section provides an overview of the fundamental concepts of FCCs, their underlying principles, and the various coding frameworks proposed in the literature. Section 2 presents the necessary preliminaries and fundamental concepts required for the development of the paper. It introduces the relevant definitions, notation, and basic results that will be used throughout the subsequent sections. Section 3 introduces the concept of Function-Correcting Codes (FCCs) with data protection under the Lee metric. Furthermore, this section establishes bounds on the redundancy of function-correcting codes with data protection under the Lee metric. These bounds characterize the amount of additional redundancy required to ensure reliable recovery of both the data and the desired function values. Section 4 deals with Function-Correcting Lee Metric Codes (FCLMCs) with data protection for several specific classes of functions, including locally bounded, Lee weight, and modular functions. The section develops the coding framework for these function classes and investigates the corresponding redundancy requirements under the Lee metric. Furthermore, explicit upper bounds on the redundancy are derived for several important classes of these functions. Section 5 concluded the paper.