42 research outputs found
Revisiting the Equivalence Problem for Finite Multitape Automata
The decidability of determining equivalence of deterministic multitape
automata (or transducers) was a longstanding open problem until it was resolved
by Harju and Karhum\"{a}ki in the early 1990s. Their proof of decidability
yields a co_NP upper bound, but apparently not much more is known about the
complexity of the problem. In this paper we give an alternative proof of
decidability, which follows the basic strategy of Harju and Karhumaki but
replaces their use of group theory with results on matrix algebras. From our
proof we obtain a simple randomised algorithm for deciding language equivalence
of deterministic multitape automata and, more generally, multiplicity
equivalence of nondeterministic multitape automata. The algorithm involves only
matrix exponentiation and runs in polynomial time for each fixed number of
tapes. If the two input automata are inequivalent then the algorithm outputs a
word on which they differ
Revisiting Membership Problems in Subclasses of Rational Relations
We revisit the membership problem for subclasses of rational relations over
finite and infinite words: Given a relation R in a class C_2, does R belong to
a smaller class C_1? The subclasses of rational relations that we consider are
formed by the deterministic rational relations, synchronous (also called
automatic or regular) relations, and recognizable relations. For almost all
versions of the membership problem, determining the precise complexity or even
decidability has remained an open problem for almost two decades. In this
paper, we provide improved complexity and new decidability results. (i) Testing
whether a synchronous relation over infinite words is recognizable is
NL-complete (PSPACE-complete) if the relation is given by a deterministic
(nondeterministic) omega-automaton. This fully settles the complexity of this
recognizability problem, matching the complexity of the same problem over
finite words. (ii) Testing whether a deterministic rational binary relation is
recognizable is decidable in polynomial time, which improves a previously known
double exponential time upper bound. For relations of higher arity, we present
a randomized exponential time algorithm. (iii) We provide the first algorithm
to decide whether a deterministic rational relation is synchronous. For binary
relations the algorithm even runs in polynomial time
Scheduling Transformation and Dependence Tests for Recursive Programs
Scheduling transformations reorder the execution of operations in a program to improve locality and/or parallelism. The polyhedral model provides a general framework for performing instance-wise scheduling transformations for regular programs, reordering the iterations of loops that operate over dense arrays through transformations like tiling. There is no analogous framework for recursive programs—despite recent interest in optimizations like tiling and fusion for recursive applications. This paper presents PolyRec, the first general framework for applying scheduling transformations—like inlining, interchange, and code motion—to nested recursive programs and reasoning about their correctness. We describe the phases of PolyRec—representing dynamic instances, applying transformations, reasoning about correctness—and show that PolyRec is able to apply sophisticated, composed transformations to complex, nested recursive programs and improve performance through enhanced locality
On the computational complexity of algebraic numbers : the Hartmanis-Stearns problem revisited
International audience— We consider the complexity of integer base expansions of algebraic irrational numbers from a computational point of view. We show that the Hartmanis–Stearns problem can be solved in a satisfactory way for the class of multistack machines. In this direction, our main result is that the base-b expansion of an algebraic irrational real number cannot be generated by a deterministic pushdown automaton. We also confirm an old claim of Cobham proving that such numbers cannot be generated by a tag machine with dilation factor larger than one
On Equivalence and Uniformisation Problems for Finite Transducers
Transductions are binary relations of finite words. For rational transductions, i.e., transductions defined by finite transducers, the inclusion, equivalence and sequential uniformisation problems are known to be undecidable. In this paper, we investigate stronger variants of inclusion, equivalence and sequential uniformisation, based on a general notion of transducer resynchronisation, and show their decidability. We also investigate the classes of finite-valued rational transductions and deterministic rational transductions, which are known to have a decidable equivalence problem. We show that sequential uniformisation is also decidable for them
Decision Problems for Subclasses of Rational Relations over Finite and Infinite Words
We consider decision problems for relations over finite and infinite words
defined by finite automata. We prove that the equivalence problem for binary
deterministic rational relations over infinite words is undecidable in contrast
to the case of finite words, where the problem is decidable. Furthermore, we
show that it is decidable in doubly exponential time for an automatic relation
over infinite words whether it is a recognizable relation. We also revisit this
problem in the context of finite words and improve the complexity of the
decision procedure to single exponential time. The procedure is based on a
polynomial time regularity test for deterministic visibly pushdown automata,
which is a result of independent interest.Comment: v1: 31 pages, submitted to DMTCS, extended version of the paper with
the same title published in the conference proceedings of FCT 2017; v2: 32
pages, minor revision of v1 (DMTCS review process), results unchanged; v3: 32
pages, enabled hyperref for Figure 1; v4: 32 pages, add reference for known
complexity results for the slenderness problem; v5: 32 pages, added DMTCS
metadat
On Rational Recursive Sequences
We study the class of rational recursive sequences (ratrec) over the rational
numbers. A ratrec sequence is defined via a system of sequences using mutually
recursive equations of depth 1, where the next values are computed as rational
functions of the previous values. An alternative class is that of simple ratrec
sequences, where one uses a single recursive equation, however of depth k: the
next value is defined as a rational function of k previous values.
We conjecture that the classes ratrec and simple ratrec coincide. The main
contribution of this paper is a proof of a variant of this conjecture where the
initial conditions are treated symbolically, using a formal variable per
sequence, while the sequences themselves consist of rational functions over
those variables. While the initial conjecture does not follow from this
variant, we hope that the introduced algebraic techniques may eventually be
helpful in resolving the problem.
The class ratrec strictly generalises a well-known class of polynomial
recursive sequences (polyrec). These are defined like ratrec, but using
polynomial functions instead of rational ones. One can observe that if our
conjecture is true and effective, then we can improve the complexities of the
zeroness and the equivalence problems for polyrec sequences. Currently, the
only known upper bound is Ackermanian, which follows from results on polynomial
automata. We complement this observation by proving a PSPACE lower bound for
both problems for polyrec. Our lower bound construction also implies that the
Skolem problem is PSPACE-hard for the polyrec class