GIMMER / HIGHER AUTONOMY

ESSAY 06 · PETRI NETS → MONOIDAL STRUCTURE → WORK PLANS

Connect the work.
Keep the freedoms.

How can a Petri-net description of work become a family of lawful plans? This essay tackles one part: connect work packages without losing resource needs, early outputs or possible joint actions.

See the Petri net

THE ROUTE BACK TO ENDS / WAYS / MEANS

Why this step belongs in the foray.

End · generate lawful options

Represent the refuge’s physical and operational logic, then generate and compare compliant executions, work structures and schedules. Keep necessary constraints without turning one chosen order into the only order.

Ways · follow the mechanism

Start with Petri nets and explicit starting conditions. Interpret their executions through symmetric monoidal categories (SMCs). Carry the resulting freedoms and dependencies into plans, with replayable reasons and clear limits.

Means · make it inspectable

Use small executable examples, independent checks and an interactive essay. Change the supply, inspect the tokens and follow the legal steps. The diagrams below show the same checked model as the work orders.

This essay’s step toward the End: determine what a reusable work package must retain so that joining it to another package preserves its lawful behaviour. The proposed boundary contract keeps resource demands, partial states, outputs and joint steps. The papers provide the foundations; this restricted contract and its checks are our construction.

Petri nets, open boundaries and monoidal structure — the three layers
1

Petri nets: what can happen?

A circle holds tokens representing resources or conditions. A task box consumes its input tokens and produces its outputs. Borrowing and returning a lift is a pair of ordinary arcs, not an unlimited permission to use it.

Lift : L → L ⊗ R

L is an available lift; R is an installed roof. The token’s return permits later reuse. This lab separately marks selected events as once-only.

2

Open Petri nets: how do pieces meet?

Expose places through named input and output ports. Connecting compatible ports identifies their places: the two packages now refer to the same resource. Two names must not become two lifts.

Baez & Master · Open Petri Nets

The lab uses restricted wiring and an explicit supply convention; the paper treats a more general construction.

3

Monoidal structure: how do actions combine?

Markings are objects; executions are arrows. Composition (∘) joins actions through matching intermediate markings. Tensor (⊗) combines resources or actions alongside one another. An identity carries untouched resources through a step.

Baez, Genovese, Master & Shulman · Categories of Nets

We use its commutative count-token interpretation, a particular SMC. Equal arrows alone do not establish that tasks can start together.

Connecting open nets assembles a mechanism; composing arrows describes an execution within it. These are related operations at different levels. The practical question comes from Wynn & Clarkson’s ASM2.0 work: can reusable process descriptions earn their maintenance cost when context changes?

Still to be achieved: this is a finite, once-only, selected-work construction—not a complete engineering model or general WBS generator. The earlier forward generator explores alternative work branches; the feedback essay handles review and rework. Here, timing is an added illustration, and a lawful execution need not fit one elementary WBS tree. Follow the full source → construction → limitation map.

01 / Retain

What each piece needs, what it releases, and which internal states are possible.

02 / Connect

Identify only the chosen, type-compatible ports. Account for each owned supply once.

03 / Challenge

Compare the composed contract with a separately glued process model, state by state and step by step.

THE EXECUTABLE ESSAY

Build a connection. Inspect what survives.

Local to this browser

The pieces and their boundary

Change the starting supplies

Local tokens and unconnected input supplies belong to this scenario. A connected input’s old external supply is discharged; changing it cannot create a second token.

CURRENT FINDING

Preparing the example…
Inspect or edit the full construction

Change the fragments, event signatures, durations or named port connections. Checking validates the whole construction. An invalid edit keeps the last valid example available; it cannot silently become a result.

Keep and reopen a construction

Save one copy in this browser or download a portable JSON file. Opening a copy recomputes the result; imported findings are never trusted. No file, repository or remote model is overwritten.

No browser copy saved in this session.

WHY THIS MAY HELP

A reusable piece needs an explicit boundary.

The benefit is modest and testable: change a refuge method or resource arrangement, and see whether the combined work keeps its lawful alternatives. The source literature’s warning remains: context can make reusable process modules more trouble than they are worth. This example tests one piece of that problem.

Read the essay and source map · Build and independent challenge · Source code