The exact complexity of the infinite Post Correspondence Problem

Similar documents
Incompleteness Theorems, Large Cardinals, and Automata ov

Note on winning positions on pushdown games with omega-regular winning conditions

A Simple Proof of P versus NP

On decision problems for timed automata

On the Accepting Power of 2-Tape Büchi Automata

Axiom of infinity and construction of N

Positive varieties and infinite words

Locally Finite ω-languages and Effective Analytic Sets Have the Same Topological Complexity

b-chromatic number of cacti

arxiv: v1 [math.lo] 10 Sep 2018

Methylation-associated PHOX2B gene silencing is a rare event in human neuroblastoma.

A new simple recursive algorithm for finding prime numbers using Rosser s theorem

Smart Bolometer: Toward Monolithic Bolometer with Smart Functions

Case report on the article Water nanoelectrolysis: A simple model, Journal of Applied Physics (2017) 122,

The Accelerated Euclidean Algorithm

On Newton-Raphson iteration for multiplicative inverses modulo prime powers

On the longest path in a recursively partitionable graph

A Context free language associated with interval maps

Exact Comparison of Quadratic Irrationals

On infinite permutations

Completeness of the Tree System for Propositional Classical Logic

Analysis of Boyer and Moore s MJRTY algorithm

Thomas Lugand. To cite this version: HAL Id: tel

On the Continuity Set of an omega Rational Function

On Poincare-Wirtinger inequalities in spaces of functions of bounded variation

Can we reduce health inequalities? An analysis of the English strategy ( )

All Associated Stirling Numbers are Arithmetical Triangles

The FLRW cosmological model revisited: relation of the local time with th e local curvature and consequences on the Heisenberg uncertainty principle

Full-order observers for linear systems with unknown inputs

A non-commutative algorithm for multiplying (7 7) matrices using 250 multiplications

The Mahler measure of trinomials of height 1

Abstract Detection of Computer Viruses

Evolution of the cooperation and consequences of a decrease in plant diversity on the root symbiont diversity

Easter bracelets for years

A new approach of the concept of prime number

About partial probabilistic information

Question order experimental constraints on quantum-like models of judgement

On Symmetric Norm Inequalities And Hermitian Block-Matrices

The Windy Postman Problem on Series-Parallel Graphs

FORMAL TREATMENT OF RADIATION FIELD FLUCTUATIONS IN VACUUM

On path partitions of the divisor graph

Comments on the method of harmonic balance

Passerelle entre les arts : la sculpture sonore

A Slice Based 3-D Schur-Cohn Stability Criterion

Soundness of the System of Semantic Trees for Classical Logic based on Fitting and Smullyan

RHEOLOGICAL INTERPRETATION OF RAYLEIGH DAMPING

Computable priors sharpened into Occam s razors

Comparison of Harmonic, Geometric and Arithmetic means for change detection in SAR time series

From Unstructured 3D Point Clouds to Structured Knowledge - A Semantics Approach

arxiv: v2 [cs.lo] 26 Mar 2018

On Symmetric Norm Inequalities And Hermitian Block-Matrices

Solving an integrated Job-Shop problem with human resource constraints

On size, radius and minimum degree

Dispersion relation results for VCS at JLab

Nel s category theory based differential and integral Calculus, or Did Newton know category theory?

Finiteness properties for Pisot S-adic tilings

New estimates for the div-curl-grad operators and elliptic problems with L1-data in the half-space

L institution sportive : rêve et illusion

Unbiased minimum variance estimation for systems with unknown exogenous inputs

Vibro-acoustic simulation of a car window

Cutwidth and degeneracy of graphs

A non-commutative algorithm for multiplying (7 7) matrices using 250 multiplications

Comment on: Sadi Carnot on Carnot s theorem.

Hook lengths and shifted parts of partitions

Solution to Sylvester equation associated to linear descriptor systems

A note on the computation of the fraction of smallest denominator in between two irreducible fractions

On a series of Ramanujan

Determination of absorption characteristic of materials on basis of sound intensity measurement

The core of voting games: a partition approach

DYNAMICAL PROPERTIES OF MONOTONE DENDRITE MAPS

Unfolding the Skorohod reflection of a semimartingale

Entropies and fractal dimensions

approximation results for the Traveling Salesman and related Problems

Negative results on acyclic improper colorings

On one class of permutation polynomials over finite fields of characteristic two *

On Solving Aircraft Conflict Avoidance Using Deterministic Global Optimization (sbb) Codes

On sl3 KZ equations and W3 null-vector equations

There are infinitely many twin primes 30n+11 and 30n+13, 30n+17 and 30n+19, 30n+29 and 30n+31

Some explanations about the IWLS algorithm to fit generalized linear models

Stickelberger s congruences for absolute norms of relative discriminants

On Politics and Argumentation

A Simple Model for Cavitation with Non-condensable Gases

Confluence Algebras and Acyclicity of the Koszul Complex

Best linear unbiased prediction when error vector is correlated with other random vectors in the model

On Decidability Properties of One-Dimensional Cellular Automata

Multiple sensor fault detection in heat exchanger system

On the simultaneous stabilization of three or more plants

Acceptance of!-languages by Communicating Deterministic Turing Machines

Series which are both max-plus and min-plus rational are unambiguous

Towards an active anechoic room

On The Exact Solution of Newell-Whitehead-Segel Equation Using the Homotopy Perturbation Method

Some diophantine problems concerning equal sums of integers and their cubes

Thermodynamic form of the equation of motion for perfect fluids of grade n

Tag Systems and the Complexity of Simple Programs

A simple kinetic equation of swarm formation: blow up and global existence

STATISTICAL ENERGY ANALYSIS: CORRELATION BETWEEN DIFFUSE FIELD AND ENERGY EQUIPARTITION

A remark on a theorem of A. E. Ingham.

Hardware Operator for Simultaneous Sine and Cosine Evaluation

Solubility prediction of weak electrolyte mixtures

REVERSIBILITY AND OSCILLATIONS IN ZERO-SUM DISCOUNTED STOCHASTIC GAMES

Transcription:

The exact complexity of the infinite Post Correspondence Problem Olivier Finkel To cite this version: Olivier Finkel. The exact complexity of the infinite Post Correspondence Problem. Information Processing Letters, Elsevier, 2015, 115 (6-8), pp.609-611. <10.1016/j.ipl.2015.02.009>. <hal-01376975> HAL Id: hal-01376975 https://hal.archives-ouvertes.fr/hal-01376975 Submitted on 6 Oct 2016 HAL is a multi-disciplinary open access archive for the deposit and dissemination of scientific research documents, whether they are published or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers. L archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

The Exact Complexity of the Infinite Post Correspondence Problem Olivier Finkel Equipe de Logique Mathématique Institut de Mathématiques de Jussieu Paris Rive Gauche CNRS et Université Paris Diderot Paris 7 UFR de Mathématiques case 7012 75205 Paris Cedex 13, France. finkel@math.univ-paris-diderot.fr Abstract In this short note, we give the exact complexity of the infinite Post CorrespondenceProblem,showingthatitisΠ 0 1-complete. Surprisingly, it turns out that the infinite Post Correspondence Problem is not more complex than the Post Correspondence Problem, which is known to be Σ 0 1-complete, but has the exact dual complexity. This gives an answer to a question of Simonnet [Sim10]. Keywords. Decision problems; infinite Post Correspondence Problem; exact complexity; Π 0 1 -complete. 1 Introduction The well known Post Correspondence Problem (PCP) is one of the famous undecidable problems in Theoretical Computer Science and in Formal Language Theory, see [HMU01]. The PCP is an abstract problem involving strings, andit hasbeenvery usefulto provetheundecidability of manyother problems by reduction of PCP to those problems. In particular, many problems about context-free languages, those accepted by pushdown automata or generated by context-free grammars, have been shown to be undecidable by this method. For instance it follows from the undecidability of the Post Correspondence Problem that the universality problem, the inclusion and the equivalence problems for context-free languages are also undecidable. Notice that these undecidability results can also be shown from the undecidability of the halting problem for Turing machines, but the proofs obtained from the undecidability of the PCP are simpler. Also, the undecidability of the PCP has been used to prove undecidability results concerning matrices of low order with integer entries, see [Har02]. 1

There is also an extension of the PCP to infinite strings called the infinite Post Correspondence Problem or the ω-pcp which has been shown to be undecidable by Ruohonen in [Ruo85] and by Gire in [Gir86], see also [HH06, HHK06]. This problem has been used to prove the undecidability of other problems in various contexts, for instance in the domains of infinitary rational relations [Pri00, Fin03] or of probabilistic automata [BC03]. Thecomplexity ofthepcpiswell known; thepcpisσ 0 1-complete, i.e. it is complete for the class of recursively enumerable problems, i.e. complete at the level Σ 0 1 of the arithmetical hierarchy. On the other hand the complexity of the ω-pcp seems still unknown and the question of its exact complexity was asked by Simonnet [Sim10]. We answer this question in this short note, proving that the infinite Post Correspondence Problem is Π 0 1-complete. This shows that the ω-pcp is not more complex than the PCP but has the exact dual complexity. 2 The Infinite Post Correspondence Problem We assume the reader to be familiar with the theory of formal (ω)-languages [HMU01, Tho90, Sta97]. We recall some usual notation of formal language theory. When Σ is a finite alphabet, a non-empty finite word over Σ is any sequence x = a 1 a 2 a k, where a i Σ for i = 1,...,k, and k is an integer 1. Σ is the set of finite words (including the empty word) over Σ. The usual concatenation product of two finite words u and v is denoted u v and sometimes just uv. Thefirst infinite ordinal is ω. An ω-word over Σ is an ω -sequence a 1 a 2 a 3, where for all integers i 1, a i Σ. The set of ω-words over the alphabet Σ is denoted by Σ ω. An ω-language over an alphabet Σ is a subset of Σ ω. We assume the reader to be familiar with the arithmetical hierarchy on subsets of N, and also on subsets of Σ ω for a finite alphabet Σ, see [Rog67, Sta97]. Recall first the well known result about the undecidability of the Post Correspondence Problem, denoted PCP. Theorem 2.1 (Post, see [HMU01]) Let Γ be an alphabet having at least two elements. Then it is undecidable to determine, for arbitrary n-tuples (x 1,x 2,...,x n ) and (y 1,y 2,...,y n ) of non-empty words in Γ, whether there exists a non-empty sequence of indices i 1,i 2,...,i k such that x i1 x i2 x ik = y i1 y i2 y ik. On the other hand, the infinite Post Correspondence Problem, also called ω-pcp, has been shown to be undecidable by Ruohonen in [Ruo85] and by 2

Gire in [Gir86]. Theorem 2.2 Let Γ be an alphabet having at least two elements. Then it is undecidable to determine, for arbitrary n-tuples (x 1,...,x n ) and (y 1,...,y n ) of non-empty words in Γ, whether there exists an infinite sequence of indices i 1,i 2,...,i k... such that x i1 x i2 x ik = y i1 y i2 y ik NoticethataninstanceInsoftheω-PCPisgivenbytwon-tuples(x 1,...,x n ) and (y 1,...,y n ) of non-empty words in Γ, and if there exist some solutions of the ω-pcp of instance Ins then these solutions are infinite words over the alphabet {1,...,n}. We now recall some known notions, which will be useful in the proof of our main result. We first recall the variant of the PCP called the modified Post Correspondence Problem. The MPCP consists, given two n-tuples (x 1,x 2,...,x n ) and (y 1,y 2,...,y n ) of non-empty words in Γ, in determining whether there exists a non-empty sequence of indices i 1,i 2,...,i k such that x 1 x i1 x i2 x ik = y 1 y i1 y i2 y ik. Similarly one can define the ω-mpcp. The ω-mpcp consists, given two n- tuples (x 1,x 2,...,x n ) and (y 1,y 2,...,y n ) of non-empty words in Γ, in determining whether there exists an infinite sequence of indices i 1,i 2,...,i k... such that x 1 x i1 x i2 x ik = y 1 y i1 y i2 y ik Recallalsothat, asusual,aturingmachineisoftheformm = (Q,Σ,Γ,δ,q 0 ), where Q is a finite set of states, Σ is a finite input alphabet, Γ is a finite tape alphabet satisfying Σ Γ and containing a special blank symbol Γ\Σ, q 0 is the initial state, and δ is a mapping from Q Γ to subsets of Q Γ {L,R,S}. Recall that Turing machines have also been considered for the reading of infinite words, see [CG78a, CG78b, Sta97]. In particular, a Turing machine M reading infinite words over a finite alphabet Σ accepts a word σ Σ ω for 1 -acceptance condition iff there is an infinite run of M on σ visiting only states in a set F Q of accepting states. We now state the following result, giving the exact complexity of the infinite Post Correspondence Problem. 3

Theorem 2.3 The infinite Post Correspondence Problem is a Π 0 1 -complete problem. Proof. We are firstly going to recall a sketch of Gire s proof of the undecidability of the ω-pcp. Next we will determine its exact complexity. Recall that the proof of Theorem 2.2 in [Gir86] is given in two steps. Firstly one can see, as in the finitary case (see [HMU01, page 396]) that the ω-mpcp can be reduced to the ω-pcp. Secondly Gire showed that one can associate in a recursive manner, to each pair (M z,w) where M z is the Turing machine of index z N and w is an input word for M z, an instance of the ω-mpcp consisting of two n- tuples (x 1,x 2,...,x n ) and (y 1,y 2,...,y n ) such that there exists an infinite sequence of indices i 1,i 2,...,i k... such that x 1 x i1 x i2 x ik = y 1 y i1 y i2 y ik if and only if the Turing machine M z does not halt on the input w. On the other hand it is well known that the halting problem is Σ 0 1 -complete and thus the ω-mpcp is Π 0 1-hard since the complement of the halting problem, which is Π 0 1-complete, is reduced to the ω-mpcp. Moreover the ω- MPCP can be reduced to the ω-pcp thus the ω-pcp is also Π 0 1 -hard. We now show that the ω-pcp is in the class Π 0 1. Let now an instance Ins of the ω-pcp be given by two n-tuples (x 1,...,x n ) and (y 1,...,y n ) of non-empty words in Γ. We can easily associate in a recursive manner to this instance a deterministic Turing machine M with 1 -acceptance condition reading infinite words over the alphabet {1,...,n} and accepting an infinite word x {1,...,n} ω if and only if x is a solution of the ω-pcp of instance Ins. On the other hand, the set of infinite words accepted by such a deterministic Turing machine with 1 -acceptance condition is known to be an effective Π 0 1 - subset of {1,...,n} ω [Sta97]. Thus the set of solutions of the ω-pcp of instanceinsisaneffective Π 0 1 -setacceptedbyadeterministicturingmachine M with 1 -acceptance condition which can be constructed from Ins. Staiger proved in [Sta93, page 638] that it is Π 0 1-complete to decide whether such a Π 0 1-set is non-empty. This is also stated by Cenzer and Remmel in [CR03, Theorem 4.1 (ii)]. 4

Therefore, the problem to determine whether a given instance Ins of the ω-pcp has a solution is in the class Π 0 1. This ends the proof. 3 Concluding remarks We have given the exact complexity of the infinite Post Correspondence Problem, showing that it is Π 0 1-complete. Thus the infinite Post Correspondence Problem is not more complex than the Post Correspondence Problem, which is known to be Σ 0 1-complete, but has the exact dual complexity. We hope that this result will help to get a better understanding of the exact complexity of some other decision problems. Indeed, when the PCP is reduced to a decision problem P then we know that P is Σ 0 1-hard, and in particular P is not recursive. But if we can also reduce the infinite Post Correspondence Problem to P then P is Π 0 1-hard, and in particular it is not in the class Σ 0 1, so it is not even recursively enumerable. For instance, Blondel and Canterini proved in [BC03] that some problems about probabilistic automata are undecidable, using a reduction from the ω-pcp, and we can now infer from the above result that these problems are not even recursively enumerable. Finally, we mention also that in another paper [Fin12], we gave a complete proof of the Σ 1 1-completeness of the ω-pcp in a regular ω-language, also denoted ω-pcp(reg), and we applied this result to get the exact complexity of several highly undecidable problems about infinitary rational relations and ω-rational functions. Acknowledgement. I wish to thank the anonymous referees for useful comments on a preliminary version of this paper. References [BC03] V. D. Blondel and V. Canterini. Undecidable problems for probabilistic automata of fixed dimension. Theory of Computing Systems, 36(3):231 245, 2003. [CG78a] R.S. Cohen and A.Y. Gold. ω-computations on deterministic pushdown machines. Journal of Computer and System Science, 16:275 300, 1978. [CG78b] R.S. Cohen and A.Y. Gold. ω-computations on Turing machines. Theoretical Computer Science, 6:1 23, 1978. 5

[CR03] D. A. Cenzer and J. B. Remmel. Index sets for omega-languages. Mathematical Logic Quaterly, 49(1):22 33, 2003. [Fin03] O. Finkel. Undecidability of topological and arithmetical properties of infinitary rational relations. RAIRO-Theoretical Informatics and Applications, 37(2):115 126, 2003. [Fin12] O. Finkel. Three applications to rational relations of the high undecidability of the infinite Post correspondence problem in a regular -language. International Journal of Foundations of Computer Science, 23(7):1481 1498, 2012. [Gir86] F. Gire. Two decidability problems for infinite words. Information Processing Letters, 22(3):135 140, 1986. [Har02] T. Harju. Decision questions on integer matrices. In Proceedings of the International Conference Developments in language theory (Vienna, 2001), volume 2295 of Lecture Notes in Computer Science, pages 57 68. Springer, Berlin, 2002. [HH06] V. Halava and T. Harju. Undecidability of infinite Post correspondence problem for instances of size 9. Theoretical Informatics and Applications, 40(4):551 557, 2006. [HHK06] V. Halava, T. Harju, and J. Karhumäki. Undecidability in omegaregular languages. Fundamamenta Informaticae, 73(1 2):119 125, 2006. [HMU01] J. E. Hopcroft, R. Motwani, and J. D. Ullman. Introduction to automata theory, languages, and computation. Addison-Wesley Publishing Co., Reading, Mass., 2001. Addison-Wesley Series in Computer Science. [Pri00] C. Prieur. Fonctions Rationnelles de Mots Infinis et Continuité. PhD thesis, Université Paris VII, 2000. [Rog67] H. Rogers. Theory of Recursive Functions and Effective Computability. McGraw-Hill, New York, 1967. [Ruo85] K. Ruohonen. Reversible machines and Post s correspondence problem for biprefix morphisms. Elektronische Informationsverarbeitung und Kybernetik, 21(12):579 595, 1985. [Sim10] P. Simonnet. 2010. Personal communication. [Sta93] L. Staiger. Recursive automata on infinite words. In P. Enjalbert, A. Finkel, and K. W. Wagner, editors, Proceedings of the 6

10th Annual Symposium on Theoretical Aspects of Computer Science, STACS 93, Würzburg, Germany, February 25-27, 1993, volume 665 of Lecture Notes in Computer Science, pages 629 639. Springer, 1993. [Sta97] L. Staiger. ω-languages. In Handbook of formal languages, Vol. 3, pages 339 387. Springer, Berlin, 1997. [Tho90] W. Thomas. Automata on infinite objects. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume B, Formal models and semantics, pages 135 191. Elsevier, 1990. 7