Concrete OpenTheory model backed by OpenProcess #
This file provides the first concrete realization of UC.OpenTheory
using actual open processes (OpenProcess Party Δ).
Implemented operations #
mapadapts boundary actions along aPortBoundary.Hom, with a provenIsLawfulMapinstance (functoriality).parplaces two open processes side by side using binary-choice interleaving: a scheduling node chooses left or right, then runs the selected subprocess's step protocol. Emitted packets are injected into the appropriate summand of the tensor output interface.wireconnects a shared internal boundary between two processes. Packets on the shared boundary are filtered out (deferred to runtime routing), while packets on the remaining external boundaries are preserved.plugcloses an open system against a matching context by internalizing all boundary traffic.
The concrete open-composition theory backed by OpenProcess.
Obj ΔisOpenProcess Party Δ, the boundary-indexed family of open concurrent processes.mapadapts boundary actions along aPortBoundary.Hom.par,wire, andplugall useProcessOver.interleavewith the appropriate context morphisms.
Instances For
Parallel composition of open processes is associative up to bisimilarity: reassociating the internal scheduler nesting does not change the observable boundary behavior.
Parallel composition of open processes is commutative up to bisimilarity.
The unit for parallel composition is the trivial process with no boundary
and PUnit state.
Instances For
The monoidal unit is a left identity for parallel composition up to bisimilarity.
The monoidal unit is a right identity for parallel composition up to bisimilarity.
The identity wire (coevaluation) on boundary Γ: relays messages
bidirectionally between swap Γ and Γ.
Instances For
Left zig-zag: wiring the identity wire on the left is a no-op up to bisimilarity.
Right zig-zag: wiring the identity wire on the right is a no-op up to bisimilarity.
plug is derivable from wire plus boundary reshaping, up to
bisimilarity.
The monoidal unit equals the coevaluation at the trivial boundary, up to bisimilarity.