Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-24 12:17:55 UTC · snapshot created 2026-11-24 12:21:02 UTC · last check 2026-11-24 13:55:20 UTC

CMP.14:1 - Problem frame

Use this when computations that work separately must run together, but shared state, communication or scheduling can change their results. You need to construct their interaction, repair a failing interleaving, or replace a component while retaining the behavior on which the rest relies.

Start from what the recipients must observe and what may occur between their observations. If the components are given, recover their operations and interaction. When their boundaries are yours to design, try dividing the work, then let each part meet its local promise. What state, event or responsibility must they share to make the combined observation possible? Move a boundary, keep a common revision, or add an interaction where the separate results lose that relation. This applies to concurrent algorithms and protocols, including computations performed by cooperating software agents. The implementation language, machine and operating environment determine which operations are available and which failures the composition must allow for.

The first useful result is a composed procedure with a trace or invariant explaining how it obtains the required observation, or a counterexample that identifies the interaction to change. A small shared-state example needs only a few explicit steps. A general guarantee over an implementation needs the corresponding memory, scheduling and failure assumptions.

Use ordinary sequential composition or dependency scheduling when completed outputs suffice and no relevant interference remains. If the algorithms are already adequate and only their physical communication or timing is unresolved, take those requirements to the realization method. An organizational division of work needs its own account of actual roles, capabilities and authority; a computational model can help compare it once that correspondence is established.