具有长度约束的二次字方程,计数器系统和具有可整除性的Presburger算法

A. Lin, R. Majumdar
{"title":"具有长度约束的二次字方程,计数器系统和具有可整除性的Presburger算法","authors":"A. Lin, R. Majumdar","doi":"10.46298/lmcs-17(4:4)2021","DOIUrl":null,"url":null,"abstract":"Word equations are a crucial element in the theoretical foundation of\nconstraint solving over strings. A word equation relates two words over string\nvariables and constants. Its solution amounts to a function mapping variables\nto constant strings that equate the left and right hand sides of the equation.\nWhile the problem of solving word equations is decidable, the decidability of\nthe problem of solving a word equation with a length constraint (i.e., a\nconstraint relating the lengths of words in the word equation) has remained a\nlong-standing open problem. We focus on the subclass of quadratic word\nequations, i.e., in which each variable occurs at most twice. We first show\nthat the length abstractions of solutions to quadratic word equations are in\ngeneral not Presburger-definable. We then describe a class of counter systems\nwith Presburger transition relations which capture the length abstraction of a\nquadratic word equation with regular constraints. We provide an encoding of the\neffect of a simple loop of the counter systems in the existential theory of\nPresburger Arithmetic with divisibility (PAD). Since PAD is decidable (NP-hard\nand is in NEXP), we obtain a decision procedure for quadratic words equations\nwith length constraints for which the associated counter system is flat (i.e.,\nall nodes belong to at most one cycle). In particular, we show a decidability\nresult (in fact, also an NP algorithm with a PAD oracle) for a recently\nproposed NP-complete fragment of word equations called regular-oriented word\nequations, when augmented with length constraints. We extend this decidability\nresult (in fact, with a complexity upper bound of PSPACE with a PAD oracle) in\nthe presence of regular constraints.","PeriodicalId":335085,"journal":{"name":"Automated Technology for Verification and Analysis","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"29","resultStr":"{\"title\":\"Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility\",\"authors\":\"A. Lin, R. Majumdar\",\"doi\":\"10.46298/lmcs-17(4:4)2021\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Word equations are a crucial element in the theoretical foundation of\\nconstraint solving over strings. A word equation relates two words over string\\nvariables and constants. Its solution amounts to a function mapping variables\\nto constant strings that equate the left and right hand sides of the equation.\\nWhile the problem of solving word equations is decidable, the decidability of\\nthe problem of solving a word equation with a length constraint (i.e., a\\nconstraint relating the lengths of words in the word equation) has remained a\\nlong-standing open problem. We focus on the subclass of quadratic word\\nequations, i.e., in which each variable occurs at most twice. We first show\\nthat the length abstractions of solutions to quadratic word equations are in\\ngeneral not Presburger-definable. We then describe a class of counter systems\\nwith Presburger transition relations which capture the length abstraction of a\\nquadratic word equation with regular constraints. We provide an encoding of the\\neffect of a simple loop of the counter systems in the existential theory of\\nPresburger Arithmetic with divisibility (PAD). Since PAD is decidable (NP-hard\\nand is in NEXP), we obtain a decision procedure for quadratic words equations\\nwith length constraints for which the associated counter system is flat (i.e.,\\nall nodes belong to at most one cycle). In particular, we show a decidability\\nresult (in fact, also an NP algorithm with a PAD oracle) for a recently\\nproposed NP-complete fragment of word equations called regular-oriented word\\nequations, when augmented with length constraints. We extend this decidability\\nresult (in fact, with a complexity upper bound of PSPACE with a PAD oracle) in\\nthe presence of regular constraints.\",\"PeriodicalId\":335085,\"journal\":{\"name\":\"Automated Technology for Verification and Analysis\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-05-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"29\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Automated Technology for Verification and Analysis\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.46298/lmcs-17(4:4)2021\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Automated Technology for Verification and Analysis","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-17(4:4)2021","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 29

摘要

词方程是弦约束求解理论基础的重要组成部分。单词方程将两个单词关联到字符串变量和常量上。它的解相当于一个将变量映射为常量字符串的函数,这些常量字符串等于等式的左右两边。虽然求解词方程的问题是可判定的,但求解具有长度约束(即与词方程中单词长度相关的约束)的词方程问题的可判定性一直是一个悬而未决的问题。我们关注二次方程的子类,即每个变量最多出现两次。我们首先证明了二次字方程解的长度抽象一般不是普瑞斯伯格可定义的。然后,我们描述了一类具有Presburger转换关系的计数器系统,它捕获了具有规则约束的二次词方程的长度抽象。本文给出了具有可除性的presburger算术存在理论中计数器系统的简单循环效应的编码。由于PAD是可决定的(np -hard并且在NEXP中),我们获得了具有长度约束的二次词方程的决策过程,该方程的相关计数器系统是平坦的(即所有节点最多属于一个循环)。特别是,当增加长度约束时,我们展示了最近提出的称为正则导向词方程的NP完全片段的可判决性结果(实际上,也是一个带有PAD oracle的NP算法)。在正则约束的情况下,我们扩展了这个可判定结果(实际上,使用PAD oracle扩展了PSPACE的复杂度上界)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility
Word equations are a crucial element in the theoretical foundation of constraint solving over strings. A word equation relates two words over string variables and constants. Its solution amounts to a function mapping variables to constant strings that equate the left and right hand sides of the equation. While the problem of solving word equations is decidable, the decidability of the problem of solving a word equation with a length constraint (i.e., a constraint relating the lengths of words in the word equation) has remained a long-standing open problem. We focus on the subclass of quadratic word equations, i.e., in which each variable occurs at most twice. We first show that the length abstractions of solutions to quadratic word equations are in general not Presburger-definable. We then describe a class of counter systems with Presburger transition relations which capture the length abstraction of a quadratic word equation with regular constraints. We provide an encoding of the effect of a simple loop of the counter systems in the existential theory of Presburger Arithmetic with divisibility (PAD). Since PAD is decidable (NP-hard and is in NEXP), we obtain a decision procedure for quadratic words equations with length constraints for which the associated counter system is flat (i.e., all nodes belong to at most one cycle). In particular, we show a decidability result (in fact, also an NP algorithm with a PAD oracle) for a recently proposed NP-complete fragment of word equations called regular-oriented word equations, when augmented with length constraints. We extend this decidability result (in fact, with a complexity upper bound of PSPACE with a PAD oracle) in the presence of regular constraints.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Fast Equivalence Checking of Quantum Circuits of Clifford Gates An Automata-Theoretic Approach to Synthesizing Binarized Neural Networks Syntactic vs Semantic Linear Abstraction and Refinement of Neural Networks Synthesis of Distributed Protocols by Enumeration Modulo Isomorphisms Minimally Comparing Relational Abstract Domains
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1