arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.10799cs.PLcs.DC
收藏

流程序是带状态的单同态

Stream programs are monoid homomorphisms with state

Tyler Hou, Michael Arntzenius, Max Willsey

AI总结:

本文定义了一类广泛的确定性流函数,证明其可作为带状态的单同态实现,以更简单的同态律支持顺序组合、并行组合与反馈等数据流程序的等式推理。

摘要:

我们定义了一类广泛的确定性流函数,并表明它们可以作为同态映射实现到“状态”单子中。同态律比先前流程序优化的语义框架条件更简单,却保留了对表达性数据流程序的丰富等式推理支持,包括顺序组合、并行组合和反馈。我们使用分区数据库连接、分层否定和简化的TCP模型的示例来证明这一点。

英文摘要:

We define a broad class of deterministic stream functions and show they can be implemented as homomorphisms into a "state" monoid. The homomorphism laws are simpler than the conditions of previous semantic frameworks for stream program optimization, yet retain support for rich equational reasoning over expressive dataflow programs, including sequential composition, parallel composition, and feedback. We demonstrate this using examples of partitioned database joins, stratified negation, and a simplified model of TCP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑