Coinductive Streams in Monoidal Categories

12/30/2022
by   Elena Di Lavore, et al.
0

We introduce monoidal streams. Monoidal streams are a generalization of causal stream functions, which can be defined in cartesian monoidal categories, to arbitrary symmetric monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric monoidal category. Monoidal streams also form a feedback monoidal category. In the same way that we can use a coinductive stream calculus to reason about signal flow graphs, we can use coinductive string diagrams to reason about feedback monoidal categories. As an example, we study syntax for a stochastic dataflow language, with semantics in stochastic monoidal streams.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/04/2022

Monoidal Streams for Dataflow Programming

We introduce monoidal streams: a generalization of causal stream functio...
research
04/16/2019

Nominal String Diagrams

We introduce nominal string diagrams as, string diagrams internal in the...
research
08/03/2023

Density-Based Semantics for Reactive Probabilistic Programming

Synchronous languages are now a standard industry tool for critical embe...
research
07/31/2021

Enhanced Regular Corecursion for Data Streams

We propose a simple calculus for processing data streams (infinite flows...
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
07/18/2023

Stream Types

We propose a rich foundational theory of typed data streams and stream t...
research
01/26/2021

Symmetric Monoidal Categories with Attributes

When designing plans in engineering, it is often necessary to consider a...

Please sign up or login with your details

Forgot password? Click here to reset