Compositional Separation of Control Flow and Data Flow

Arellanes, Damian (2026) Compositional Separation of Control Flow and Data Flow. Journal of Logical and Algebraic Methods in Programming, 150: 101125. ISSN 2352-2208

[thumbnail of Compositional-Separation-Control-Data-Flow]
Text (Compositional-Separation-Control-Data-Flow)
main.pdf - Accepted Version
Available under License Creative Commons Attribution.

Download (1MB)

Abstract

Every Model of High-Level Computation (MHC) has an underlying composition mechanism for combining simple computing devices into more complex ones. Composition can be done by (explicitly or implicitly) defining control flow, data flow or any combination thereof. Control flow specifies the order in which individual computations are activated, whereas data flow defines how data is exchanged among them. Unfortunately, traditional MHCs either mix data and control or only consider one dimension explicitly, which makes it difficult to reason about data flow and control flow separately. Reasoning about these dimensions orthogonally is a crucial desideratum for optimisation, maintainability and verification purposes. In this paper, we introduce a novel MHC that explicitly treats data flow and control flow as separate dimensions, while providing modularity. As the model is rooted in category theory, it provides category-theoretic operations for compositionally constructing sequential, parallel, branching or iterative composites. Compositionality entails that a composite exhibits the same properties as its respective constituents, including separation of concerns and modularity. We conclude the paper by demonstrating how our proposal can be used to model high-level computations in two different application domains: software engineering and artificial intelligence.

Item Type:
Journal Article
Journal or Publication Title:
Journal of Logical and Algebraic Methods in Programming
Uncontrolled Keywords:
Research Output Funding/no_not_funded
Subjects:
?? no - not fundedcultural studiessociology and political sciencepolitical science and international relations ??
ID Code:
237568
Deposited By:
Deposited On:
26 May 2026 11:00
Refereed?:
Yes
Published?:
Published
Last Modified:
26 May 2026 22:05