Type-safe Monitoring of Parameterized Streams

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Baumeister, Jan, Finkbeiner, Bernd, Kohn, Florian
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914386641158144
author Baumeister, Jan
Finkbeiner, Bernd
Kohn, Florian
author_facet Baumeister, Jan
Finkbeiner, Bernd
Kohn, Florian
contents Stream-based monitoring is a real-time safety assurance mechanism for complex cyber-physical systems such as unmanned aerial vehicles. The monitor aggregates streams of input data from sensors and other sources to give real-time statistics and assessments of the system's health. Since the monitor is a safety-critical component, it is mandatory to ensure the absence of runtime errors in the monitor. Providing such guarantees is particularly challenging when the monitor must handle unbounded data domains, like an unlimited number of airspace participants, requiring the use of dynamic data structures. This paper provides a type-safe integration of parameterized streams into the stream-based monitoring framework RTLola. Parameterized streams generalize individual streams to sets of an unbounded number of stream instances and provide a systematic mechanism for memory management. We show that the absence of runtime errors is, in general, undecidable but can be effectively ensured with a refinement type system that guarantees all memory references are either successful or backed by a default value. We report on the performance of the type analysis on example specifications from a range of benchmarks, including specifications from the monitoring of autonomous aircraft.
format Preprint
id arxiv_https___arxiv_org_abs_2603_11104
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Type-safe Monitoring of Parameterized Streams
Baumeister, Jan
Finkbeiner, Bernd
Kohn, Florian
Software Engineering
Formal Languages and Automata Theory
Programming Languages
Stream-based monitoring is a real-time safety assurance mechanism for complex cyber-physical systems such as unmanned aerial vehicles. The monitor aggregates streams of input data from sensors and other sources to give real-time statistics and assessments of the system's health. Since the monitor is a safety-critical component, it is mandatory to ensure the absence of runtime errors in the monitor. Providing such guarantees is particularly challenging when the monitor must handle unbounded data domains, like an unlimited number of airspace participants, requiring the use of dynamic data structures. This paper provides a type-safe integration of parameterized streams into the stream-based monitoring framework RTLola. Parameterized streams generalize individual streams to sets of an unbounded number of stream instances and provide a systematic mechanism for memory management. We show that the absence of runtime errors is, in general, undecidable but can be effectively ensured with a refinement type system that guarantees all memory references are either successful or backed by a default value. We report on the performance of the type analysis on example specifications from a range of benchmarks, including specifications from the monitoring of autonomous aircraft.
title Type-safe Monitoring of Parameterized Streams
topic Software Engineering
Formal Languages and Automata Theory
Programming Languages
url https://arxiv.org/abs/2603.11104