一句话:将因果流函数推广到幺半范畴,为以对称幺半范畴表示过程的数据流语言与信号流图提供语义。
论文研究如何为使用过程理论而非纯函数的数据流编程提供统一语义。作者引入幺半流,将因果流函数从函数情形推广到对称幺半范畴:过程由幺半范畴中的态表示,数据流则由幺半流刻画。进一步证明幺半流构成反馈幺半范畴,从而可用于解释信号流图。作为案例,论文研究了一个随机数据流语言,说明该语义框架能够覆盖带反馈与随机过程的数据流程序。
We introduce monoidal streams: a generalization of causal stream functions to 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. At the same time, monoidal streams form a feedback monoidal category, which can be used to interpret signal flow graphs. As an example, we study a stochastic dataflow language.