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