{"title":"Sequentiality, Monadic Second-Order Logic and Tree Automata","authors":"Hubert Comon","doi":"10.1006/inco.1999.2838","DOIUrl":null,"url":null,"abstract":"<div><div>Given a term rewriting system <em>R</em> and a normalizable term <em>t</em>, a redex is <em>needed</em> if in any reduction sequence of <em>t</em> to a normal form, this redex will be contracted. Roughly, <em>R</em> is <em>sequential</em> if there is an optimal reduction strategy in which only needed redexes are contracted. More generally, G. Huet and J.-J. Lévy have defined the sequentiality of a predicate <em>P</em> on partially evaluated terms (1991, “Computational Logic: Essays in Honor of Alan Robinson”, MIT Press, Cambridge, MA, pp. 415–443). We show here that the sequentiality of <em>P</em> is definable in SkS, the monadic second-order logic with <em>k</em> successors, provided <em>P</em> is definable in SkS. We derive several known and new consequences of this remark: (1) <em>strong sequentiality</em>, as defined by Huet and Lévy of a left linear (possibly overlapping) rewrite system is decidable, (2) <em>NV-sequentiality</em>, as defined in (M. Oyamaguchi, 1993, <em>SIAM J. Comput.</em><strong>19</strong>, 424–437), is decidable, even in the case of overlapping rewrite systems (3) <em>sequentiality</em> of any linear shallow rewrite system is decidable. Then we describe a direct construction of a tree automaton recognizing the set of terms that do have needed redexes, which again, yields immediate consequences: (1) Strong sequentiality of possibly overlapping linear rewrite systems is decidable in EXPTIME, (2) For strongly sequential rewrite systems, needed redexes can be read directly on the automaton.</div></div>","PeriodicalId":54985,"journal":{"name":"Information and Computation","volume":"157 1","pages":"Pages 25-51"},"PeriodicalIF":0.8000,"publicationDate":"2000-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information and Computation","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0890540199928389","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Given a term rewriting system R and a normalizable term t, a redex is needed if in any reduction sequence of t to a normal form, this redex will be contracted. Roughly, R is sequential if there is an optimal reduction strategy in which only needed redexes are contracted. More generally, G. Huet and J.-J. Lévy have defined the sequentiality of a predicate P on partially evaluated terms (1991, “Computational Logic: Essays in Honor of Alan Robinson”, MIT Press, Cambridge, MA, pp. 415–443). We show here that the sequentiality of P is definable in SkS, the monadic second-order logic with k successors, provided P is definable in SkS. We derive several known and new consequences of this remark: (1) strong sequentiality, as defined by Huet and Lévy of a left linear (possibly overlapping) rewrite system is decidable, (2) NV-sequentiality, as defined in (M. Oyamaguchi, 1993, SIAM J. Comput.19, 424–437), is decidable, even in the case of overlapping rewrite systems (3) sequentiality of any linear shallow rewrite system is decidable. Then we describe a direct construction of a tree automaton recognizing the set of terms that do have needed redexes, which again, yields immediate consequences: (1) Strong sequentiality of possibly overlapping linear rewrite systems is decidable in EXPTIME, (2) For strongly sequential rewrite systems, needed redexes can be read directly on the automaton.
期刊介绍:
Information and Computation welcomes original papers in all areas of theoretical computer science and computational applications of information theory. Survey articles of exceptional quality will also be considered. Particularly welcome are papers contributing new results in active theoretical areas such as
-Biological computation and computational biology-
Computational complexity-
Computer theorem-proving-
Concurrency and distributed process theory-
Cryptographic theory-
Data base theory-
Decision problems in logic-
Design and analysis of algorithms-
Discrete optimization and mathematical programming-
Inductive inference and learning theory-
Logic & constraint programming-
Program verification & model checking-
Probabilistic & Quantum computation-
Semantics of programming languages-
Symbolic computation, lambda calculus, and rewriting systems-
Types and typechecking