paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Aperiodicity, Star-freeness, and First-order Logic Definability of Operator Precedence Languages

运算符优先级语言的非周期性、星自由性与一阶逻辑可定义性
LMCS vol.Volume 19, Issue 42023匹配度 2/10 · 论文属于形式语言与自动机理论,研究运算符优先级语言的星自由、非周期性与一阶逻辑可定义性,与用户画像中 LLM/Agent、静态分析、浮点程序分析、贝叶斯程序分析等核心方向没有直接关联,仅与编程语言/编译器理论基础有较弱联系。引用 3 inbox
Dino Mandrioli, Matteo Pradella, Stefano Crespi Reghizzi
crossref: 2026-09-10

AI 速览

一句话:将正则语言中星自由、非周期与一阶逻辑可定义性的经典等价推广到运算符优先级语言。

本文研究能否将正则语言中“非周期⇔星自由⇔一阶逻辑可定义”的经典等价推广到更广语言类。此前对树语言的推广失败:星自由树语言可能不满足非计数性,存在非周期树语言不能用一阶逻辑定义。作者转向确定性上下文无关语言的重要子类——运算符优先级语言(OPL)。OPL 严格包含可见下推/输入驱动语言等,源于编程语言定义并被高性能编译器使用。论文引入 OP-表达式(OPE)定义 OPL,并在星自由假设下刻画一阶逻辑可定义与非计数 OPL;再通过精细语法变换证明非周期 OPL 均一阶逻辑可定义。由此在 OPL 上建立星自由、非周期与一阶逻辑可定义性的等价,并论证方法可用于可见下推语言。

问题
能否把正则语言中非周期、星自由与一阶逻辑可定义性的等价推广到运算符优先级语言等确定性上下文无关语言。
方法
引入 OP-表达式(OPE)刻画 OPL,并通过精细的语法变换证明非周期 OPL 的一阶逻辑可定义性。
评估
采用形式化定理证明与语法/逻辑论证建立三者的等价,无实验评估,并讨论方法对可见下推语言的推广。
原文摘要(Abstract)

A classic result in formal language theory is the equivalence among non-counting, or aperiodic, regular languages, and languages defined through star-free regular expressions, or first-order logic. Past attempts to extend this result beyond the realm of regular languages have met with difficulties: for instance it is known that star-free tree languages may violate the non-counting property and there are aperiodic tree languages that cannot be defined through first-order logic. We extend such classic equivalence results to a significant family of deterministic context-free languages, the operator-precedence languages (OPL), which strictly includes the widely investigated visibly pushdown, alias input-driven, family and other structured context-free languages. The OP model originated in the '60s for defining programming languages and is still used by high performance compilers; its rich algebraic properties have been investigated initially in connection with grammar learning and recently completed with further closure properties and with monadic second order logic definition. We introduce an extension of regular expressions, the OP-expressions (OPE) which define the OPLs and, under the star-free hypothesis, define first-order definable and non-counting OPLs. Then, we prove, through a fairly articulated grammar transformation, that aperiodic OPLs are first-order definable. Thus, the classic equivalence of star-freeness, aperiodicity, and first-order definability is established for the large and powerful class of OPLs. We argue that the same approach can be exploited to obtain analogous results for visibly pushdown languages too.

链接与引用

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

BibTeX
@article{paperbot2182,
  title = {Aperiodicity, Star-freeness, and First-order Logic Definability of Operator Precedence Languages},
  author = {Dino Mandrioli and Matteo Pradella and Stefano Crespi Reghizzi},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 19, Issue 4},
  year = {2023},
  doi = {10.46298/lmcs-19(4:12)2023}
}