Hamming distance between finite transducers
Abstract
We study bounded deviation of non-deterministic finite transducers under the Hamming distance: the bounded comparison problem asks, given two transducers and , whether for every input the two transducers produce words at Hamming distance at most . This problem is known to be decidable in polynomial time when is fixed, and in co-NP otherwise. We show that the problem is NL-complete when is fixed, co-NP-complete when is given in binary, and it is DP-complete to decide if the distance is exactly . We also prove that if the two transducers have bounded comparison, then the maximal distance is at most quadratic in the size of both transducers, and that this bound is asymptotically tight. We prove the results on deviations problem, which asks similar questions on the distance of the pairs of input and output of a single transducer, and show that these two families of problems are logspace many-one equivalent.
Cite
@article{arxiv.2604.25398,
title = {Hamming distance between finite transducers},
author = {Luc Dartois and Pierre-Cyrille Héam and Ismaël Jecker and Silvio Vescovo},
journal= {arXiv preprint arXiv:2604.25398},
year = {2026}
}
Comments
21 pages, 7 figures