1. Preface
  2. Part I: Foundations
  3. Why Petri Nets?
  4. The Mathematics of Flow
  5. From Discrete to Continuous
  6. The Token Language
  7. Part II: Applications
  8. Resource Modeling — The Coffee Shop
  9. Game Mechanics — Tic-Tac-Toe
  10. Constraint Satisfaction — Sudoku
  11. Optimization — The Knapsack Problem
  12. Biochemistry — Enzyme Kinetics
  13. Complex State Machines — Texas Hold'em
  14. Part III: Advanced Topics
  15. Process Mining
  16. Zero-Knowledge Proofs
  17. Topology-Driven Verification
  18. On-Chain ZK Verification
  19. Exponential Weights and Scoring Systems
  20. Declarative Infrastructure
  21. Part IV: Building with pflow
  22. The Visual Editor — pflow.xyz
  23. Code Generation — From Model to Application
  24. The go-pflow Library
  25. Dual Implementation and Verification
  26. Epilogue
  27. What the Abstraction Sits On
  28. Appendices
  29. Solver Parameter Reference
  30. Token Language Grammar
  31. JSON Schema Reference
  32. Glossary
  33. Categorical Foundations