一句话:证明确定性双向变换器定义的有限/无限字正则函数均可由正则变换器表达式(RTE)描述。
本文研究正则函数的表达式刻画。已知函数式 MSO 变换、确定性双向变换器与流式字符串变换器在有限字上等价。作者证明:确定性双向变换器(无限字情形使用 Muller 接受与 ω-正则前瞻)定义的有限字或无限字正则函数,都可由正则变换器表达式(RTE)表示。RTE 由常函数经 if-then-else、Hadamard 积,以及 Cauchy 积、2-链 Kleene 迭代、2-链 ω-迭代的无歧义版本组合而成。证明引入此类变换器的转移幺半群,用后向确定性 Büchi 自动机刻画前瞻;再借助 Imre Simon 森林因子分解定理的无歧义版本,为变换器定义域构造“好”的(ω-)正则表达式,并据其结构归纳构造 RTE。该工作推广了 Alur 等人在 LICS'14 的有限字结果。
Functional MSO transductions, deterministic two-way transducers, as well as streaming string transducers are all equivalent models for regular functions. In this paper, we show that every regular function, either on finite words or on infinite words, captured by a deterministic two-way transducer, can be described with a regular transducer expression (RTE). For infinite words, the transducer uses Muller acceptance and ω-regular look-ahead. RTEs are constructed from constant functions using the combinators if-then-else (deterministic choice), Hadamard product, and unambiguous versions of the Cauchy product, the 2-chained Kleene-iteration and the 2-chained omega-iteration. Our proof works for transformations of both finite and infinite words, extending the result on finite words of Alur et al. in LICS'14. In order to construct an RTE associated with a deterministic two-way Muller transducer with look-ahead, we introduce the notion of transition monoid for such two-way transducers where the look-ahead is captured by some backward deterministic Büchi automaton. Then, we use an unambiguous version of Imre Simon's famous forest factorization theorem in order to derive a "good" (ω-)regular expression for the domain of the two-way transducer. "Good" expressions are unambiguous and Kleene-plus as well as ω-iterations are only used on subexpressions corresponding to idempotent elements of the transition monoid. The combinator expressions are finally constructed by structural induction on the "good" (ω-)regular expression describing the domain of the transducer.