Automatic Sequences and Zip-Specifications

C. Grabmayer, J. Endrullis, D. Hendriks, J. Klop, L. Moss
{"title":"Automatic Sequences and Zip-Specifications","authors":"C. Grabmayer, J. Endrullis, D. Hendriks, J. Klop, L. Moss","doi":"10.1109/LICS.2012.44","DOIUrl":null,"url":null,"abstract":"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 σ the following are equivalent: (a) σ can be specified using zip; (b) σ is 2-automatic; and (c) σ 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 ... d0 where the base of digit di is determined by the automaton A on input di-1 ... d0. Finally we show that equivalence is undecidable for a simple extension of the zip-mix format with projections analogous to even and odd.","PeriodicalId":407972,"journal":{"name":"2012 27th Annual IEEE Symposium on Logic in Computer Science","volume":"64 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 27th Annual IEEE Symposium on Logic in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/LICS.2012.44","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

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 σ the following are equivalent: (a) σ can be specified using zip; (b) σ is 2-automatic; and (c) σ 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 ... d0 where the base of digit di is determined by the automaton A on input di-1 ... d0. Finally we show that equivalence is undecidable for a simple extension of the zip-mix format with projections analogous to even and odd.
自动序列和zip规格
我们考虑符号的无限序列,也称为流,以及在限制格式中定义的流的相等性的可决性问题。(有些格式会导致不可判定的等价问题。)这种受限制的格式包括在流的头部加上一个符号前缀、流函数' zip'和递归变量。这里“zip”交替地交织两个流的元素。著名的Thue- Morse序列由简洁的“zip-specification”M = 0: X X = 1: zip(X, Y) Y = 0: zip(Y, X)得到,主要结果如下:我们在适当选择的协基的基础上,利用观测图的双相似性,建立了压缩规格等价性的可判定性。此外,我们的分析,基于术语重写和共代数技术,揭示了压缩规范和自动序列之间的密切联系。这导致了一个新的和简单的表征自动序列。通过在动态逻辑设置中使用观察图,将zip-specifications的研究置于更广阔的视角中,从而产生自动序列的另一种替代表征。通过第一个表征结果,可以将zip-specification视为自动序列的术语重写语法。对于流σ,以下是等价的:(a) σ可以用zip指定;(b) σ为2-automatic;(c) σ有一个用共基(hd,偶数,奇数)的有限观测图。这里偶数和奇数由偶数(a: s) = a:奇数(s)和奇数(a: s) =偶数(s)定义。推广到zip-k规范(与zip-k交错的k流)和k-自动化是直接的。作为自动序列类的自然扩展,我们还考虑在一个规范中使用不同长度的zip的“zip-mix”规范。相应的自动机概念采用与状态相关的输入字母,用数字表示(n) a = dm…其中数字di的基数由输入di-1上的自动机A决定…d0。最后,我们证明了具有类似于奇偶投影的zip-mix格式的简单扩展的等价性是不可确定的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信