arXiv:2608.24257cs.FLAug 2026

Manuscript Offprint

arXiv:2608.24257

Reverse Post Correspondence Problem and Undecidability of 5′→3′5' \rightarrow 3' String Assembly Systems

Benedek Nagy

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

Benedek Nagy

Department of Mathematics, Faculty of Arts and Sciences,

Eastern Mediterranean University, Famagusta, North Cyprus, via Mersin-10, Türkiye

and

Department of Computer Science, Institute of Mathematics and Informatics

Eszterházy Károly Catholic University, Eger, Hungary

nbenedek.inf@gmail.com

The Post Correspondence Problem is as follows: having a set of dominoes, is there any (maybe repeating) sequence of them such that the words formed by the upper parts and the lower parts by the sequence of dominoes are identical. It is one of the most known problems that is algorithmically undecidable. In this paper, the reverse Post Correspondence Problem is defined, that is, where the two assembled words of the dominos are reversals of each other. Undecidability about this new, modified problem is proven.

Further, based on this result, it is also proven that the emptiness problem for 5′→3′5' \to 3' String Assembly Systems is undecidable too. 5′→3′5' \to 3' String Assembly Systems belong to String Assembly Systems type formal language generating models. The 5′→3′5' \to 3' denotes that, in these variants, the derivations of the generated words start from the two extremes. The notation and the new model are bio-motivated as any double stranded DNA has two opposite oriented 5′→3′5' \to 3' strands.

Keywords: Reverse PCP, Post Correspondence Problem, Undecidability, String Assembly Systems, DNA computing

1 Introduction

Formal languages and automata theory are basic fields of computability and computer science. Turing, in his seminal paper [18], on the one hand, defined a universal model of algorithm, later named after him, the Turing machine, and on the other hand, he proved that there are problems that are algorithmically not solvable, i.e., not computable, e.g., the halting problem of Turing machines. Later, among others, Post published an easy to understand problem, the Post correspondence problem (PCP) that is, similarly to the halting problem of Turing machines, undecidable, i.e., not computable [15]. In this problem a finite set of dominoes is given with words written both in their upper and lower parts. The question is whether one can make a sequence of dominoes (maybe using any domino more than once) such that the strings that are composed in the upper and lower parts are identical. The PCP has many variants, including recent ones, some of them can algorithmically be solved [4], while some of them, similarly to the original variant, are algorithmically not solvable in general [1]. Among many variants, we recall only the circular PCP [3], where, given the set of dominoes, the question is whether the string composed in the lower part can be a cyclic permutation of the string composed in the upper part. This problem is also undecidable. In our paper, a new variant of PCP, the Reverse PCP, will play a central role. In a nutshell, Reverse PCP asks if given an instance of the PCP, is it possible to arrange the dominoes so that one word is the reverse of the other (the formal definition comes later in the paper).

DNA computing emerged some decades ago including various branches of new computing paradigms [16]. Various models are based on the double-stranded and complementary structure of DNA molecules,

M. Hospodár et al. (Eds.): 17th International Conference on Automata and Formal Languages (AFL 2026)

EPTCS 451, 2026, pp. 245–260, doi:10.4204/EPTCS.451.17

© Benedek Nagy

This work is licensed under the

Creative Commons Attribution License.

Reverse PCP and Undecidability of 5′→3′5' \rightarrow 3' SAS

including sticker systems, Watson-Crick automata [2] and string assembly systems (SAS). It was proven in [6] that the Watson-Crick complementarity relation can be excluded from sticker systems and Watson-Crick automata without affecting the defined languages, therefore SAS is already defined without involving this relation into it similarly as 5′→3′5' \rightarrow 3' Watson-Crick automata are used, e.g., in [11, 13, 14]. SAS are defined in [7], and some of their variants are further developed in [9, 10]. Their decidability is addressed, e.g., in [8]. In this paper, we present a variant that is motivated by the structure of the DNA strands, namely by the fact that they have opposite 5′→3′5' \rightarrow 3' directions. Consequently, when an enzyme is building and constructing a strand, it uses the same biochemical direction for both strands; which directions, in fact, are opposite physical (or mathematical) directions. In this paper, we investigate this new variant. Actually, here we focus on decision problems; in another paper [12], relation to other classes of languages and hierarchy results are discussed.

Up to now, due to our best knowledge, there was no variant of PCP where the two strings are reversal of each other. The proof of undecidability of these problems and some decision problems of 5′→3′5' \rightarrow 3' SAS are closely related as we will use very similar constructive proofs for them.

In this paper, after we recall some formal concepts and we give our notations in Section 2, we define the reverse PCP and prove its undecidability (Section 3). In Section 4, we use a similar proof to show that the emptiness problem for 5′→3′5' \rightarrow 3' String Assembly Systems is also undecidable. We also show that in the unary case these problems are decidable.