paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A First-Order Complete Temporal Logic for Structured Context-Free Languages

面向结构化上下文无关语言的一阶完备时序逻辑
LMCS vol.Volume 18, Issue 32022匹配度 2/10 · 该论文属于形式化方法与程序验证中的时序逻辑理论,讨论上下文无关结构的模型检测,与用户关注的 PL 与 AI/LLM 交叉、静态分析应用于 ML/Agentic 程序、浮点程序分析或贝叶斯程序分析等方向均无直接关联;仅在“形式化验证”大方向上有非常微弱的联系。引用 8 inbox
Michele Chiari, Dino Mandrioli, Matteo Pradella
crossref: 2026-09-10

AI 速览

一句话:提出基于算子优先语言(OPL)的时序逻辑 POTL,证明其一阶完备性,表达力优于 NWTL 与 OPTL。

过程式程序的模型检测推动了对上下文无关结构时序逻辑的研究,已有工作包括嵌套字上的 CaRet 与 NWTL,以及基于算子优先语言(OPL)的 OPTL。本文定义新的 OPL 时序逻辑 POTL,并证明其相对一阶逻辑是完备的(FO-complete),即其表达能力与相应一阶逻辑吻合。POTL 相比 NWTL 的改进在于:在存在异常类构造的情况下仍能刻画前/后条件、栈检查等需求;相比 OPTL,本文证明 OPTL 并不 FO-完备,而 POTL 不仅能达到 FO-完备,还更易表达栈检查与函数局部性质。作者在姊妹论文中给出 POTL 的模型检测过程及原型工具的实验结果,本文对该互补结果作了简要总结。

问题
如何为比嵌套字更强的结构化上下文无关语言(算子优先语言)设计表达力充分的时序逻辑,并刻画其与一阶逻辑的对应关系。
方法
定义基于算子优先语言(OPL)的时序逻辑 POTL,证明其 FO-完备性,并与 NWTL、OPTL 在表达能力上进行比较。
评估
以理论证明为主:给出 POTL 的 FO-完备性证明、证明 OPTL 非 FO-完备,并论证其可表达栈检查、前/后条件与函数局部性质;模型检测算法与原型工具实验见姊妹论文,本文仅作简述。
原文摘要(Abstract)

The problem of model checking procedural programs has fostered much research towards the definition of temporal logics for reasoning on context-free structures. The most notable of such results are temporal logics on Nested Words, such as CaRet and NWTL. Recently, the logic OPTL was introduced, based on the class of Operator Precedence Languages (OPLs), more powerful than Nested Words. We define the new OPL-based logic POTL and prove its FO-completeness. POTL improves on NWTL by enabling the formulation of requirements involving pre/post-conditions, stack inspection, and others in the presence of exception-like constructs. It improves on OPTL too, which instead we show not to be FO-complete; it also allows to express more easily stack inspection and function-local properties. In a companion paper we report a model checking procedure for POTL and experimental results based on a prototype tool developed therefor. For completeness a short summary of this complementary result is provided in this paper too.

链接与引用

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

BibTeX
@article{paperbot1678,
  title = {A First-Order Complete Temporal Logic for Structured Context-Free Languages},
  author = {Michele Chiari and Dino Mandrioli and Matteo Pradella},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 18, Issue 3},
  year = {2022},
  doi = {10.46298/lmcs-18(3:11)2022}
}