English

Constant Rate Isometric Embeddings of Hamming Metric into Edit Metric

Discrete Mathematics 2026-04-23 v2 Computational Complexity Data Structures and Algorithms Information Theory Combinatorics math.IT

Abstract

A function φ:{0,1}n{0,1}N\varphi:\{0,1\}^n \to \{0,1\}^N is called an isometric embedding of the nn-dimensional Hamming metric space to the NN-dimensional edit metric space if, for all x,y{0,1}nx,y\in\{0,1\}^n, the Hamming distance between xx and yy is equal to the edit distance between φ(x)\varphi(x) and φ(y)\varphi(y). The rate of such an embedding is defined as the ratio n/Nn/N. It is well known in the literature how to construct isometric embeddings with rate Ω(1/logn)\Omega(1/\log n). However, achieving even near-isometric embeddings with positive constant rate has remained elusive until now. In this paper, we present an isometric embedding with rate 1/81/8 by discovering connections to synchronization strings, which were studied in the context of insertion-deletion codes (Haeupler-Shahrasbi [JACM'21]). At a technical level, we introduce a framework for obtaining high-rate isometric embeddings using a novel object called misaligners. As an immediate consequence of our constant-rate isometric embedding, we improve known conditional lower bounds for various optimization problems in the edit metric, now with optimal dependence on the dimension. We complement our results by showing that no isometric embedding φ:{0,1}n{0,1}N\varphi:\{0,1\}^n \to \{0,1\}^N can have rate greater than 15/3215/32 for all positive integers nn. En route to proving this upper bound, we uncover fundamental structural properties necessary for every Hamming-to-edit isometric embedding. We also prove similar upper and lower bounds for embeddings over larger alphabets. Finally, we consider embeddings φ:ΣinnΣoutN\varphi:\Sigma_{\mathrm{in}}^n \to \Sigma_{\mathrm{out}}^N between different input and output alphabets, where the rate is given by nlogΣinNlogΣout\frac{n\log|\Sigma_{\mathrm{in}}|}{N\log|\Sigma_{\mathrm{out}}|}. In this setting, we show that the rate can be made arbitrarily close to 11.

Keywords

Cite

@article{arxiv.2504.03605,
  title  = {Constant Rate Isometric Embeddings of Hamming Metric into Edit Metric},
  author = {Sudatta Bhattacharya and Sanjana Dey and Elazar Goldenberg and Mursalin Habib and Bernhard Haeupler and Karthik C. S. and Michal Koucký},
  journal= {arXiv preprint arXiv:2504.03605},
  year   = {2026}
}