Single-Pass List Processing Algorithms as MSO-Definable Transducers

نویسندگان

  • Rajeev Alur
  • Pavol Černý
چکیده

Two-way deterministic finite-state transducers define (partial) functions from input words to output words. This class of “regular” transductions has appealing theoretical properties, including a logical MSO-based characterization. We introduce a new kind of a transducer, heap-based (deterministic) transducer , that reads the input word from left to right in a single pass, and computes the output using a heap of cells storing output symbols and connected by next pointers. Using a finite number of pointer variables ranging over the heap cells, the transducer can dynamically update the heap structure by adding new cells and changing next-pointers. We prove that our model is expressively equivalent to the classical two-way model. We also establish Pspace bounds for the problems of checking equivalence of two heap-based transducers, and of checking whether a heap-based transducer satisfies pre/post verification conditions specified by automata over input/output words.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nondeterministic Streaming String Transducers

We introduce nondeterministic streaming string transducers (NSSTs) { a new computational model that can implement MSO-definable relations between strings. An NSST makes a single left-to-right pass on the input string and uses a finite set of string variables to compute the output. In each step, it reads one input symbol, and updates its string variables in parallel with a copyless assignment.We...

متن کامل

Macro Tree Transducers, Attribute Grammars, and MSO Definable Tree Translations

A characterization is given of the class of tree translations definable in monadic second-order logic (MSO), in terms of macro tree transducers. The first main result is that the MSO definable tree translations are exactly those tree translations realized by macro tree transducers (MTTs) with regular look-ahead that are single use restricted. For this the single use restriction known from attri...

متن کامل

Macro Tree Translations of Linear Size Increase are MSO Definable

The first main result is that if a macro tree translation is of linear size increase, i.e., if the size of every output tree is linearly bounded by the size of the corresponding input tree, then the translation is MSO definable (i.e., definable in monadic second-order logic). This gives a new characterization of the MSO definable tree translations in terms of macro tree transducers: they are ex...

متن کامل

Expressiveness of streaming string transducers

Streaming string transducers [1] define (partial) functions from input strings to output strings. A streaming string transducer makes a single pass through the input string and uses a finite set of variables that range over strings from the output alphabet. At every step, the transducer processes an input symbol, and updates all the variables in parallel using assignments whose right-hand-sides...

متن کامل

Finitary Compositions of Two-way Finite-State Transductions

The hierarchy of arbitrary compositions of two-way nondeterministic finite-state transductions collapses when restricted to finitary transductions, i.e., transductions that produce a finite set of outputs for each input. The hierarchy collapses to the class of nondeterministic MSO definable transductions, which is inside the second level of that hierarchy. It is decidable whether a composition ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010