paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Deciding ω-regular properties on linear recurrence sequences

在线性递推序列上判定 ω-正则性质
POPL 5(POPL)2021匹配度 3/10 · 论文属于程序验证/逻辑与自动机方向,研究线性循环与ω-正则性质判定,与用户关注的PL/AI交叉、浮点程序分析或贝叶斯程序分析均无直接关系。虽然属于形式化验证相关,但未涉及LLM/Agent、浮点分析或贝叶斯方法,只能作为PL/验证背景知识。引用 14 inbox
Shaull Almagor, Toghrul Karimov, Edon Kelmendi, Joël Ouaknine, James Worrell
crossref: 2026-09-10

AI 速览

一句话:证明简单线性递推序列的符号描述几乎周期,并给出判定前缀无关 ω-正则性质的过程。

本文研究由线性循环产生的无限迹上的 ω-正则性质判定问题。给定循环产生的单条无限迹编码程序变量在各时刻的符号信息;形式上,输入一个前缀无关的 ω-正则性质以及满足线性递推的数列,判定其符号描述(正项记“+”、负项记“−”、零项记“0”)是否满足该性质。方法依赖于递推的“简单”性,即底层循环的更新矩阵可对角化。作者证明关键引理:简单线性递推序列的符号描述在 Muchnik、Semenov 和 Ushakov 意义下是几乎周期的;同时给出反例表明一般线性递推序列的符号描述未必几乎周期。最后,将结果从符号描述推广到涉及程序变量上半代数谓词的性质验证。

问题
如何判定线性循环所产生的无限迹是否满足 ω-正则性质,尤其是当前缀无关性质作用于变量符号描述时。
方法
要求更新矩阵可对角化(简单递推),通过证明简单线性递推序列的符号描述几乎周期来构造判定过程,并推广至半代数谓词。
评估
以数学证明和反例评估:给出几乎周期性关键引理,说明一般递推不满足该性质,并展示对半代数谓词验证的推广。
原文摘要(Abstract)

We consider the problem of deciding ω-regular properties on infinite traces produced by linear loops. Here we think of a given loop as producing a single infinite trace that encodes information about the signs of program variables at each time step. Formally, our main result is a procedure that inputs a prefix-independent ω-regular property and a sequence of numbers satisfying a linear recurrence, and determines whether the sign description of the sequence (obtained by replacing each positive entry with “+”, each negative entry with “−”, and each zero entry with “0”) satisfies the given property. Our procedure requires that the recurrence be simple, i.e., that the update matrix of the underlying loop be diagonalisable. This assumption is instrumental in proving our key technical lemma: namely that the sign description of a simple linear recurrence sequence is almost periodic in the sense of Muchnik, Sem'enov, and Ushakov. To complement this lemma, we give an example of a linear recurrence sequence whose sign description fails to be almost periodic. Generalising from sign descriptions, we also consider the verification of properties involving semi-algebraic predicates on program variables.

链接与引用

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

BibTeX
@article{paperbot1154,
  title = {Deciding ω-regular properties on linear recurrence sequences},
  author = {Shaull Almagor and Toghrul Karimov and Edon Kelmendi and Joël Ouaknine and James Worrell},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {POPL},
  year = {2021},
  doi = {10.1145/3434329}
}