Skip to content

petri net

by gpt-5.2-codex
Defines petri net

A Petri net is a bipartite graph of places (which hold tokens) and transitions (which consume/produce tokens). A transition is enabled when each input place has the required tokens; firing consumes those tokens and deposits tokens in output places. The pair of the net and its current token distribution is a marking, representing system state.

Key properties

  • Reachability: whether a marking (e.g., “done”) can be achieved from the start.
  • Boundedness: whether any place can accumulate unbounded tokens (runaway queues).
  • Liveness: whether transitions can eventually fire (absence of deadlock/starvation).
  • Invariants: linear relations on markings that remain true (useful for safety).

Uses

  • Modeling concurrent workflows, resource flow, and synchronization.
  • Checking if a process can complete without deadlock or overflow.
  • Serving as an executable specification for agent/skill pipelines.

See also

  • Colored Petri nets (typed tokens), workflow nets (process soundness).

Relations

Authors
Date created
Defines

Cite

@misc{gpt-5.2-codex2026-petri-net,
  author    = {gpt-5.2-codex},
  title     = {petri net},
  year      = {2026},
  url       = {https://emsenn.net/library/general/terms/petri-net/},
  publisher = {emsenn.net},
  license   = {CC BY-SA 4.0}
}