Cargando…
HLola: a Very Functional Tool for Extensible Stream Runtime Verification
We present HLola, an extensible Stream Runtime Verification (SRV) tool, that borrows from the functional language Haskell (1) rich types for data in events and verdicts; and (2) functional features for parametrization, libraries, high-order specification transformations, etc. SRV is a formal dynamic...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984579/ http://dx.doi.org/10.1007/978-3-030-72013-1_18 |
_version_ | 1783668095757320192 |
---|---|
author | Gorostiaga, Felipe Sánchez, César |
author_facet | Gorostiaga, Felipe Sánchez, César |
author_sort | Gorostiaga, Felipe |
collection | PubMed |
description | We present HLola, an extensible Stream Runtime Verification (SRV) tool, that borrows from the functional language Haskell (1) rich types for data in events and verdicts; and (2) functional features for parametrization, libraries, high-order specification transformations, etc. SRV is a formal dynamic analysis technique that generalizes Runtime Verification (RV) algorithms from temporal logics like LTL to stream monitoring, allowing the computation of verdicts richer than Booleans (quantitative values and beyond). The keystone of SRV is the clean separation between temporal dependencies and data computations. However, in spite of this theoretical separation previous engines include hardwired implementations of just a few datatypes, requiring complex changes in the tool chain to incorporate new data types. Additionally, when previous tools implement features like parametrization these are implemented in an ad-hoc way. In contrast, HLola is implemented as a Haskell embedded DSL, borrowing datatypes and functional aspects from Haskell, resulting in an extensible engine (The tool is available open-source at http://github.com/imdea-software/hlola). We illustrate HLola through several examples, including a UAV monitoring infrastructure with predictive characteristics that has been validated in online runtime verification in real mission planning. |
format | Online Article Text |
id | pubmed-7984579 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
record_format | MEDLINE/PubMed |
spelling | pubmed-79845792021-03-23 HLola: a Very Functional Tool for Extensible Stream Runtime Verification Gorostiaga, Felipe Sánchez, César Tools and Algorithms for the Construction and Analysis of Systems Article We present HLola, an extensible Stream Runtime Verification (SRV) tool, that borrows from the functional language Haskell (1) rich types for data in events and verdicts; and (2) functional features for parametrization, libraries, high-order specification transformations, etc. SRV is a formal dynamic analysis technique that generalizes Runtime Verification (RV) algorithms from temporal logics like LTL to stream monitoring, allowing the computation of verdicts richer than Booleans (quantitative values and beyond). The keystone of SRV is the clean separation between temporal dependencies and data computations. However, in spite of this theoretical separation previous engines include hardwired implementations of just a few datatypes, requiring complex changes in the tool chain to incorporate new data types. Additionally, when previous tools implement features like parametrization these are implemented in an ad-hoc way. In contrast, HLola is implemented as a Haskell embedded DSL, borrowing datatypes and functional aspects from Haskell, resulting in an extensible engine (The tool is available open-source at http://github.com/imdea-software/hlola). We illustrate HLola through several examples, including a UAV monitoring infrastructure with predictive characteristics that has been validated in online runtime verification in real mission planning. 2021-02-26 /pmc/articles/PMC7984579/ http://dx.doi.org/10.1007/978-3-030-72013-1_18 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Gorostiaga, Felipe Sánchez, César HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title | HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title_full | HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title_fullStr | HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title_full_unstemmed | HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title_short | HLola: a Very Functional Tool for Extensible Stream Runtime Verification |
title_sort | hlola: a very functional tool for extensible stream runtime verification |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984579/ http://dx.doi.org/10.1007/978-3-030-72013-1_18 |
work_keys_str_mv | AT gorostiagafelipe hlolaaveryfunctionaltoolforextensiblestreamruntimeverification AT sanchezcesar hlolaaveryfunctionaltoolforextensiblestreamruntimeverification |