paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Theory of Register Monitors

寄存器监控器理论
LICS Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science2018匹配度 2/10 · 论文属于运行时验证与自动机理论,研究带寄存器监控器的表达能力层级,不涉及 LLM/Agent、静态分析工具落地、浮点程序分析或贝叶斯程序分析。虽然与形式化验证沾边,但与用户当前 PL 与 AI 交叉的核心方向几乎无直接关联。引用 14 inbox
Thomas Ferrère, Thomas A. Henzinger, N. Ege Saraç
crossref: 2026-09-12

AI 速览

一句话:提出带整数寄存器的无限状态监控器模型,并刻画其按寄存器数量与指令类型的表达能力层级。

针对有限状态监控器已被广泛研究、而实际监控软件常使用无界内存的问题,本文提出寄存器监控器作为无限状态监控器的理论基础:这类自动机带整数值寄存器,且在相邻事件之间只能执行有界条指令。作者按寄存器数量 k 和寄存器指令类型对监控器分类,并建立表达能力层级。主要结果包括:对任意 k≥1,k+1 个计数器严格强于 k 个计数器;加法器监控器严格强于计数器监控器,且 6 个加法器足以监控所有可计算安全 ω-语言;实时计数器监控器的层级保持不变;2 个加法器无法实时模拟 3 个计数器;带不等式的实时加法器监控器与实时图灵机表达能力相同。

问题
有限状态监控器无法覆盖实际中常用无界内存的监控需求,如何为无限状态监控器建立统一理论与表达能力分析?
方法
定义带整数值寄存器、且事件间仅能执行有界条指令的自动机式寄存器监控器,按寄存器数 k 与指令类型分类,并比较计数器、加法器与实时监控器的表达能力。
评估
通过可计算性与自动机理论证明建立严格表达能力层级,包括计数器层级、加法器完备性以及实时监控器与实时图灵机的关系;未涉及实现或实验评估。
原文摘要(Abstract)

The task of a monitor is to watch, at run-time, the execution of a reactive system, and signal the occurrence of a safety violation in the observed sequence of events. While finite-state monitors have been studied extensively, in practice, monitoring software also makes use of unbounded memory. We define a model of automata equipped with integer-valued registers which can execute only a bounded number of instructions between consecutive events, and thus can form the theoretical basis for the study of infinite-state monitors. We classify these register monitors according to the number k of available registers, and the type of register instructions. In stark contrast to the theory of computability for register machines, we prove that for every k 1, monitors with k + 1 counters (with instruction set 〈+1, =〉) are strictly more expressive than monitors with k counters. We also show that adder monitors (with instruction set 〈1, +, =〉) are strictly more expressive than counter monitors, but are complete for monitoring all computable safety -languages for k = 6. Real-time monitors are further required to signal the occurrence of a safety violation as soon as it occurs. The expressiveness hierarchy for counter monitors carries over to real-time monitors. We then show that 2 adders cannot simulate 3 counters in real-time. Finally, we show that real-time adder monitors with inequalities are as expressive as real-time Turing machines.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4336,
  title = {A Theory of Register Monitors},
  author = {Thomas Ferrère and Thomas A. Henzinger and N. Ege Saraç},
  booktitle = {LICS},
  year = {2018},
  doi = {10.1145/3209108.3209194}
}