Automatic Sequences and Zip-Specifications

被引:8
|
作者
Grabmayer, Clemens [1 ]
Endrullis, Joerg [2 ]
Hendriks, Dimitri [2 ]
Klop, Jan Willem [2 ]
Moss, Lawrence S. [3 ]
机构
[1] Univ Utrecht, Dept Philosophy, NL-3584 CS Utrecht, Netherlands
[2] Vrije Univ Amsterdam, Dept Comp Sci, Amsterdam, Netherlands
[3] Indiana Univ, Dept Math, Bloomington, IN 47405 USA
来源
2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS) | 2012年
关键词
Automatic sequences; term rewriting; coalgebra; dynamic logic; streams; equational specifications; COMPLEXITY;
D O I
10.1109/LICS.2012.44
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider infinite sequences of symbols, also known as streams, and the decidability question for equality of streams defined in a restricted format. (Some formats lead to undecidable equivalence problems.) This restricted format consists of prefixing a symbol at the head of a stream, of the stream function 'zip', and recursion variables. Here 'zip' interleaves the elements of two streams alternatingly. The celebrated Thue-Morse sequence is obtained by the succinct 'zip-specification' M = 0: X X = 1: zip(X, Y) Y = 0: zip(Y, X) The main results are as follows. We establish decidability of equivalence of zip-specifications, by employing bisimilarity of observation graphs based on a suitably chosen cobasis. Furthermore, our analysis, based on term rewriting and coalgebraic techniques, reveals an intimate connection between zip-specifications and automatic sequences. This leads to a new and simple characterization of automatic sequences. The study of zip-specifications is placed in a wider perspective by employing observation graphs in a dynamic logic setting, yielding yet another alternative characterization of automatic sequences. By the first characterization result, zip-specifications can be perceived as a term rewriting syntax for automatic sequences. For streams sigma the following are equivalent: (a) sigma can be specified using zip; (b) sigma is 2-automatic; and (c) sigma has a finite observation graph using the cobasis < hd, even, odd >. Here even and odd are defined by even(a : s) = a : odd(s), and odd(a : s) = even(s). The generalization to zip-k specifications (with zip-k interleaving k streams) and to k-automaticity is straightforward. As a natural extension of the class of automatic sequences, we also consider 'zip-mix' specifications that use zips of different arities in one specification. The corresponding notion of automaton employs a state-dependent input-alphabet, with a number representation (n)(A) = dm ... d(0) where the base of digit d(i) is determined by the automaton A on input d(i-1) ... d(0). Finally we show that equivalence is undecidable for a simple extension of the zip-mix format with projections analogous to even and odd.
引用
收藏
页码:335 / 344
页数:10
相关论文
共 39 条
  • [31] AUTOMATIC SEQUENCES ARE ORTHOGONAL TO APERIODIC MULTIPLICATIVE FUNCTIONS
    Lemanczyk, Mariusz
    Muellner, Clemens
    DISCRETE AND CONTINUOUS DYNAMICAL SYSTEMS, 2020, 40 (12) : 6877 - 6918
  • [32] Combinatorics on words and generating Dirichlet series of automatic sequences
    Allouche, Jean-Paul
    Shallit, Jeffrey
    Stipulanti, Manon
    DISCRETE MATHEMATICS, 2025, 348 (08)
  • [33] (LOGARITHMIC) DENSITIES FOR AUTOMATIC SEQUENCES ALONG PRIMES AND SQUARES
    Adamczewski, Boris
    Drmota, Michael
    Muellner, Clemens
    TRANSACTIONS OF THE AMERICAN MATHEMATICAL SOCIETY, 2022, 375 (01) : 455 - 499
  • [34] Generalization of automatic sequences for numeration systems on a regular language
    Rigo, M
    THEORETICAL COMPUTER SCIENCE, 2000, 244 (1-2) : 271 - 281
  • [35] Automatic sequences generated by synchronizing automata fulfill the Sarnak conjecture
    Deshouillers, Jean-Marc
    Drmota, Michael
    Muellner, Clemens
    STUDIA MATHEMATICA, 2015, 231 (01) : 83 - 95
  • [36] Subsequences of automatic sequences indexed by left perpendicularncright perpendicular and correlations
    Deshouillers, Jean-Marc
    Drmota, Michael
    Morgenbesser, Johannes F.
    JOURNAL OF NUMBER THEORY, 2012, 132 (09) : 1837 - 1866
  • [37] Self-similar groups, automatic sequences, and unitriangular representations
    Grigorchuk, R.
    Leonov, Y.
    Nekrashevych, V.
    Sushchansky, V.
    BULLETIN OF MATHEMATICAL SCIENCES, 2016, 6 (02) : 231 - 285
  • [38] A characterization of p-automatic sequences as columns of linear cellular automata
    Rowland, Eric
    Yassawi, Reem
    ADVANCES IN APPLIED MATHEMATICS, 2015, 63 : 68 - 89
  • [39] Decision algorithms for Fibonacci-automatic words, II: Related sequences and avoidability
    Du, Chen Fei
    Mousavi, Hamoon
    Rowland, Eric
    Schaeffer, Luke
    Shallit, Jeffrey
    THEORETICAL COMPUTER SCIENCE, 2017, 657 : 146 - 162