Deadlock-Free Parallel Regions for Projected Workflows

Projected workflow languages describe a distributed protocol once and compile it to one local program per participant. Many agent workflows are not purely sequential: independent streams of tasks may proceed at the same time while sharing some participants, such as a user or a calendar service. The ZIPPERGEN workflow language gives deadlock-freedom guarantees for sequential coordination, in particular for LLM-agent workflows, but its core language has no parallel construct. We add such a construct: a structured parallel-region operator whose branches are full workflows and may share lifelines. Projection assigns separate branch-local channel names to messages in different branches, although no channel annotations are written in the source program. A shared lifeline is projected to one local program with a local interleaving operator over the corresponding branch projections. We define the semantics using message sequence charts (MSCs), which record local event orders and message matching. A parallel region admits those interleavings of branch executions in which all messages are matched in FIFO order and the induced causal relation is acyclic. This check includes the broadcasts generated by projection to communicate control decisions. The broadcasts are erased only from the final observation, which retains channel names. For this combination of shared lifelines, asynchronous FIFO communication, generated control messages, and branch-local channels, we prove exact MSC correspondence and deadlock-freedom of the projected programs.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2026-11-29
DOI
https://doi.org/10.4204/eptcs.458.6
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Deadlock-Free Parallel Regions for Projected Workflows

Benedikt Bollig
Electronic Proceedings in Theoretical Computer Science
Logic, programming, and type systems
article

Deadlock-Free Parallel Regions for Projected Workflows

Benedikt Bollig
article en

Abstract

Projected workflow languages describe a distributed protocol once and compile it to one local program per participant. Many agent workflows are not purely sequential: independent streams of tasks may proceed at the same time while sharing some participants, such as a user or a calendar service. The ZIPPERGEN workflow language gives deadlock-freedom guarantees for sequential coordination, in particular for LLM-agent workflows, but its core language has no parallel construct. We add such a construct: a structured parallel-region operator whose branches are full workflows and may share lifelines. Projection assigns separate branch-local channel names to messages in different branches, although no channel annotations are written in the source program. A shared lifeline is projected to one local program with a local interleaving operator over the corresponding branch projections. We define the semantics using message sequence charts (MSCs), which record local event orders and message matching. A parallel region admits those interleavings of branch executions in which all messages are matched in FIFO order and the induced causal relation is acyclic. This check includes the broadcasts generated by projection to communicate control decisions. The broadcasts are erased only from the final observation, which retains channel names. For this combination of shared lifelines, asynchronous FIFO communication, generated control messages, and branch-local channels, we prove exact MSC correspondence and deadlock-freedom of the projected programs.

Electronic Proceedings in Theoretical Computer ScienceVol. 458
Centre National de la Recherche Scientifique (FR), Université Paris-Saclay (FR)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon