Abstract Monitors for Quantitative Specifications

被引:3
|
作者
Henzinger, Thomas A. [1 ]
Mazzocchi, Nicolas [1 ]
Sarac, N. Ege [1 ]
机构
[1] Inst Sci & Technol Austria ISTA, Klosterneuburg, Austria
来源
关键词
Abstract monitor; Approximate monitoring; Quantitative monitoring; Monitor resources;
D O I
10.1007/978-3-031-17196-3_11
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Quantitative monitoring can be universal and approximate: For every finite sequence of observations, the specification provides a value and the monitor outputs a best-effort approximation of it. The quality of the approximation may depend on the resources that are available to the monitor. By taking to the limit the sequences of specification values and monitor outputs, we obtain precision-resource trade-offs also for limit monitoring. This paper provides a formal framework for studying such trade-offs using an abstract interpretation for monitors: For each natural number n, the aggregate semantics of a monitor at time n is an equivalence relation over all sequences of at most n observations so that two equivalent sequences are indistinguishable to the monitor and thus mapped to the same output. This abstract interpretation of quantitative monitors allows us to measure the number of equivalence classes (or "resource use") that is necessary for a certain precision up to a certain time, or at any time. Our framework offers several insights. For example, we identify a family of specifications for which any resource-optimal exact limit monitor is independent of any error permitted over finite traces. Moreover, we present a specification for which any resource-optimal approximate limit monitor does not minimize its resource use at any time.
引用
收藏
页码:200 / 220
页数:21
相关论文
共 50 条
  • [1] A Theory of Monitors (Extended Abstract)
    Francalanza, Adrian
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2016), 2016, 9634 : 145 - 161
  • [2] Verified Rust Monitors for Lola Specifications
    Finkbeiner, Bernd
    Oswald, Stefan
    Passing, Noemi
    Schwenger, Maximilian
    RUNTIME VERIFICATION (RV 2020), 2020, 12399 : 431 - 450
  • [3] From formal specifications to QoS monitors
    Saudrais, Sebastien
    Barais, Olivier
    Duchien, Laurence
    Plouzeau, Noel
    JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (11): : 7 - 24
  • [4] Parameterisation for abstract structured specifications
    Tutu, Lonut
    THEORETICAL COMPUTER SCIENCE, 2014, 517 : 102 - 142
  • [5] Testing abstract behavioral specifications
    Wong, Peter Y. H.
    Bubel, Richard
    de Boer, Frank S.
    Gomez-Zamalloa, Miguel
    de Gouw, Stijn
    Hahnle, Reiner
    Meinke, Karl
    Sindhu, Muddassar Azam
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2015, 17 (01) : 107 - 119
  • [6] Testing abstract behavioral specifications
    Peter Y. H. Wong
    Richard Bubel
    Frank S. de Boer
    Miguel Gómez-Zamalloa
    Stijn de Gouw
    Reiner Hähnle
    Karl Meinke
    Muddassar Azam Sindhu
    International Journal on Software Tools for Technology Transfer, 2015, 17 : 107 - 119
  • [7] Abstract Specifications for Concurrent Maps
    Xiong, Shale
    Pinto, Pedro da Rocha
    Ntzik, Gian
    Gardner, Philippa
    PROGRAMMING LANGUAGES AND SYSTEMS (ESOP 2017): 26TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2017, 10201 : 964 - 990
  • [8] ADA PACKAGE SPECIFICATIONS - PATH EXPRESSIONS AND MONITORS
    GOLDSACK, SJ
    MORETON, T
    IEE PROCEEDINGS-E COMPUTERS AND DIGITAL TECHNIQUES, 1982, 129 (02): : 49 - 54
  • [9] Proven correct monitors from PSL specifications
    Morin-Allory, Katell
    Borrione, Dominique
    2006 DESIGN AUTOMATION AND TEST IN EUROPE, VOLS 1-3, PROCEEDINGS, 2006, : 1246 - +
  • [10] From Abstract Specifications to Application Generation
    Perez-Alvarez, Jose Miguel
    Mos, Adrian
    2020 IEEE/ACM 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN SOCIETY (ICSE-SEIS 2021), 2020, : 11 - 20