首页> 外文会议>International Haifa verification conference >Word Equations with Length Constraints: What's Decidable?
【24h】

Word Equations with Length Constraints: What's Decidable?

机译:具有长度约束的词方程:什么决定?

获取原文

摘要

We prove several decidability and undecidability results for the satisfiability and validity problems for languages that can express solutions to word equations with length constraints. The atomic formulas over this language are equality over string terms (word equations), linear inequality over the length function (length constraints), and membership in regular sets. These questions are important in logic, program analysis, and formal verification. Variants of these questions have been studied for many decades by mathematicians. More recently, practical satisfiability procedures (aka SMT solvers) for these formulas have become increasingly important in the context of security analysis for string-manipulating programs such as web applications. We prove three main theorems. First, we give a new proof of undecidability for the validity problem for the set of sentences written as a V3 quantifier alternation applied to positive word equations. A corollary of this undecidability result is that this set is undecidable even with sentences with at most two occurrences of a string variable. Second, we consider Boolean combinations of quantifier-free formulas constructed out of word equations and length constraints. We show that if word equations can be converted to a solved form, a form relevant in practice, then the satisfiability problem for Boolean combinations of word equations and length constraints is decidable. Third, we show that the satisfiability problem for quantifier-free formulas over word equations in regular solved form, length constraints, and the membership predicate over regular expressions is also decidable.
机译:我们证明了几种语言的可判定性和不可判定性结果,这些可满足性和有效性问题的语言可以表达具有长度限制的单词方程式的解。这种语言的原子公式是字符串项(单词方程式)相等,长度函数上的线性不等式(长度约束)以及规则集中的隶属关系。这些问题在逻辑,程序分析和形式验证中都很重要。这些问题的变体已经由数学家研究了数十年。最近,在用于字符串处理程序(例如Web应用程序)的安全性分析的上下文中,这些公式的实用可满足性程序(aka SMT求解器)变得越来越重要。我们证明了三个主要定理。首先,我们给出了一个新的不确定性证明,证明了作为适用于正词方程的V3量词替换写成的句子集的有效性问题。这种不可确定性结果的推论是,即使句子中最多出现两次字符串变量,该集合也是不可确定的。其次,我们考虑由单词方程和长度约束构成的无量词公式的布尔组合。我们表明,如果可以将单词方程式转换为求解形式,即与实践相关的形式,则可以确定单词方程式和长度约束的布尔组合的可满足性问题。第三,我们证明了在正则求解形式,长度约束以及正则表达式的隶属谓词的词方程中,无量词公式的可满足性问题也是可判定的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号