Enhanced Regular Corecursion for Data Streams

07/31/2021
by   Davide Ancona, et al.
0

We propose a simple calculus for processing data streams (infinite flows of data series), represented by finite sets of equations built on stream operators. Furthermore, functions defining streams are regularly corecursive, that is, cyclic calls are detected, avoiding non-termination as happens with ordinary recursion in the call-by-value evaluation strategy. As we illustrate by several examples, the combination of such two mechanisms provides a good compromise between expressive power and decidability. Notably, we provide an algorithm to check that the stream returned by a function call is represented by a well-formed set of equations which actually admits a unique solution, hence access to an arbitrary element of the returned stream will never diverge.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/14/2022

Enhancing expressivity of checked corecursive streams (extended version)

We propose a novel approach to stream definition and manipulation. Our s...
research
12/30/2022

Coinductive Streams in Monoidal Categories

We introduce monoidal streams. Monoidal streams are a generalization of ...
research
02/04/2022

Monoidal Streams for Dataflow Programming

We introduce monoidal streams: a generalization of causal stream functio...
research
07/18/2023

Stream Types

We propose a rich foundational theory of typed data streams and stream t...
research
11/24/2022

Highest-performance Stream Processing

We present the stream processing library that achieves the highest perfo...
research
01/03/2014

Data Smashing

Investigation of the underlying physics or biology from empirical data r...
research
11/09/2021

DataX: A system for Data eXchange and transformation of streams

The exponential growth in smart sensors and rapid progress in 5G network...

Please sign up or login with your details

Forgot password? Click here to reset