{"ID":2895067,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_url":"https://arxiv.org/abs/2507.10799","arxiv_id":"2507.10799","title":"Stream programs are monoid homomorphisms with state","abstract":"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.","short_abstract":"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 dataf...","url_abs":"https://arxiv.org/abs/2507.10799","url_pdf":"https://arxiv.org/pdf/2507.10799v1","authors":"[\"Tyler Hou\",\"Michael Arntzenius\",\"Max Willsey\"]","published":"2025-07-14T20:51:53Z","proceeding":"cs.PL","tasks":"[\"cs.PL\",\"cs.DC\"]","methods":"[]","has_code":false}
