paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On the Expressive Power of String Constraints

论字符串约束的表达能力
POPL 7(POPL)2023匹配度 3/10 · 论文属于形式化方法与约束求解理论,研究字符串约束逻辑的表达力与可判定性;与用户关注的 LLM/Agent 程序静态分析、LLM 辅助形式化验证、浮点程序分析和贝叶斯程序分析等核心方向没有直接交集,仅与静态分析和形式验证有宽泛关联。引用 11 inbox
Joel D. Day, Vijay Ganesh, Nathan Grewal, Florin Manea
crossref: 2026-09-10

AI 速览

一句话:系统比较20种字符串约束逻辑理论的语言表达能力,并研究跨理论可表达性的可判定性。

本文研究字符串约束逻辑理论的语言表达能力。作者围绕四类常见要素——语言成员关系(如正则语言)、串接、字符串项相等与字符串长度相等——构造20种逻辑理论;对变量 x 和公式 f,考察可作为满足赋值一部分代入 x 的值集合,即 f 通过 x 表达的语言。文章比较这些理论可表达的语言类,给出相对表达能力的近乎完整图景;进而研究一个理论中的变量或公式所表达的语言能否在另一理论中表达。若干否定结果表明这种转换并非总可行,对字符串约束的预处理与规范化有直接意义,并与字方程及字符串求解的重要开放问题密切相关。

问题
四类字符串约束要素的不同组合会形成哪些逻辑理论,它们的语言表达能力有何差异,以及跨理论的可表达性是否可判定。
方法
将语言成员、串接、字符串项相等、字符串长度相等等要素组合成20种逻辑理论,以变量满足赋值集合定义其表达的语言,并用形式语言与可判定性分析比较理论间表达能力。
评估
通过理论证明建立各理论可表达语言类的比较图景,并对跨理论表达问题给出若干否定结果,讨论其对字符串约束预处理与规范化的影响。
原文摘要(Abstract)

We investigate properties of strings which are expressible by canonical types of string constraints. Specifically, we consider a landscape of 20 logical theories, whose syntax is built around combinations of four common elements of string constraints: language membership (e.g. for regular languages), concatenation, equality between string terms, and equality between string-lengths. For a variable x and formula f from a given theory, we consider the set of values for which x may be substituted as part of a satisfying assignment, or in other words, the property f expresses through x. Since we consider string-based logics, this set is a formal language. We firstly consider the relative expressive power of different combinations of string constraints by comparing the classes of languages expressible in the corresponding theories, and are able to establish a mostly complete picture in this regard. Secondly, we consider the question of deciding whether the language or property expressed by a variable/formula in one theory can be expressed in another theory. We establish several negative results which are relevant to preprocessing and normalisation of string constraints in practice. Some of our results have strong connections to important open problems regarding word equations and the theory of string solving.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2052,
  title = {On the Expressive Power of String Constraints},
  author = {Joel D. Day and Vijay Ganesh and Nathan Grewal and Florin Manea},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {POPL},
  year = {2023},
  doi = {10.1145/3571203}
}