On 2026-11-24 we archived the entries that no longer serve what this notebook is for. pflow is becoming a catalog of objects, an ontology built from nets in which each explained object is its own runnable net, with Claude as the explainer; BeatScript does the same for music. Most of what came before was the work that got us here, and most of it isn't that.
Archived entries are out of the home page, the listings, the tag pages, the feeds, the sitemap and search. Their addresses still resolve, each with a banner, so nothing that links here breaks. The few steps that shaped the thinking stay live as short records on the lineage page.
35 archived entries, newest first.
Beats as a Wave(2026-11-14) beats.bitwrap.io's sequencer reframed as a pure function of the marking: token rings are cyclic groups, their gates are Fourier series over the place weights, and the audio is computed sample by sample in an AudioWorklet instead of triggering Tone.js instruments.
Windwheel: The Winding Is the Sound(2026-11-14) windwheel.bitwrap.io simulates a magnet moving through a patterned coil: the winding encodes a sound, the induced EMF plays it, and a hoop turns position into phase. What it borrowed from the beats-as-a-wave reading, with the code, and what it didn't.
The Capacity Paradox(2026-09-16) sim.pflow.xyz ranks every knob in a model by its measured effect on the objective. One run against a software team's backlog model reported that hiring past a point lowers the score; that finding is unconfirmed until the model's cost meter is fixed, and the catalog-wide sweep behind the rest of the pattern was never preserved. What was checked, what wasn't, and the models to re-run it on.
Byte-Exact Across Four Languages(2026-09-04) Go, Rust, JavaScript and Julia run the same stochastic Petri net from one seed and produce identical IEEE-754 doubles, checked with == against shared golden files. What that took — a pinned PRNG, a ported logarithm, a fixed arithmetic order — and the bugs it caught in an ODE solver and a canonicalizer.
From Petri-net toy to jambox: 38 days of beats.bitwrap.io(2026-08-22) A visual archaeology of beats.bitwrap.io's first 75 tags, v0.1.0 (March 23) to v2.4.0 (April 28): one screenshot captured per minor release, ten of them shown here, each reproducible from the tag's CDN URL.
Building ZK Poker: Four Petri Nets and a Branchless Circuit(2026-08-22) A technical deep dive into heads-up hold'em at stackedup.gg — four Petri nets (phase, hand classifier, bot decision, chip ledger) and what each one actually drives in the code, a commit-reveal shuffle for casino sessions, and a branchless Groth16 circuit that proves a hand's score without revealing the hole cards.
A Generator You Can Read(2026-08-22) The AI music debate is arguing about the wrong axis: the distinction that matters is structural transparency vs. statistical opacity, and a Petri net — beats.bitwrap.io's generator, linked file by file — is a third kind of generator the discourse keeps missing.
The Obligation Triangle(2026-08-22) A sketched phase space for money — three poles (sovereign, commodity, protocol), instruments placed inside as barycentric mixes, two edges labelled with witnesses, and a proposed F ⊣ U between the sovereign and protocol poles.
Peerage Is an Automorphism(2026-08-22) Two people are peers when you can swap them and the net doesn't notice — an automorphism. Cory Doctorow's reverse centaur is that symmetry broken. And only under that symmetry does continuing a protocol count as consent rather than coercion: the ethics of working alongside an LLM reduces to one question — does the agent-swap stay in the automorphism group?
The Proof Form: When a Theorem Is Just Another Port(2026-08-02) Adding Lean 4 to pflow-polyglot forced a fifth implementation form — the same reachability check is a startup assertion in five languages and a compile-time theorem in the sixth, and the code is line-for-line equivalent.
f004 Is Older Than My Daughter(2026-07-30) A single-player Minecraft world moved to a dedicated server so it could have a chat bridge — plus a closed verb list, a fixed aid ceiling, and a nether hub that separates roof traffic from portal traffic.
cdn.stackdump.com Is a Polydocument Host(2026-07-06) A content-addressed file host where the markdown frontmatter is the metadata of record — schema-first entries, a parents: lineage that is only as sound as the producer's CIDs, and a search UI that builds itself from whatever fields you wrote.
A browser music sequencer where every note is a Petri-net transition firing(2026-04-30) The sequencer is a Petri-net executor: places hold tokens, transitions fire, and the firings with a MIDI binding are the notes. Same genre + seed composes the same nets; playback adds jitter on top. Share URLs are a CIDv1 of the envelope, not of the audio.
Brouwer Ordinals and the Shape of a Witness(2026-04-16) de Jong et al. (2026) put an ordinal axis under decidability. We read that axis as past-tense and set it against the max-plus past of a Petri net — one coordinate gives the kind of sequence a Brouwer limit takes, not the limit, and the bridge beyond that is unbuilt.
The Pflow Square(2026-04-07) One square that collects six earlier posts — the free SMC on a net, the zipper W(M) = 𝓛 × M × 𝓡, and three analyses that read the ρ boundary off the incidence matrix — with what has been checked and what is still only drawn.
Petri Nets as a Music Sequencer(2026-03-25) A music sequencer built entirely on Petri nets — token rings become drum machines, Euclidean rhythms fall out of the topology, and polyrhythm comes free.
ZK Polls: Voting as a Visible State Machine(2026-03-19) Anonymous polls in bitwrap-io: a small Petri net whose cast-vote transition carries a Groth16 proof of registry membership, nullifier and range — and what the current code does about secrecy after the poll closes.
March Madness Without Monte Carlo(2026-03-16) Three NCAA tournament Petri nets, each solved by ODE and by Monte Carlo, suggest a two-axis rule (coupling × token count) for when the two agree. On the bracket net an exact forward propagation over the matchups replaces 150,000 simulated games with 256 configurations, though the code reads the bracket's game list rather than its incidence matrix.
The Category Settle(2026-03-12) Settlement networks form a sub-SMC of open Petri nets. The core-observer split is really two boundaries — an algebraic one (ρ) inside the incidence matrix and a categorical one (contextual arcs) outside it — and a ZK circuit dissolves only the second.
Earned Compression(2026-03-11) ODE simulation, tropical analysis and zero-knowledge proofs each draw a line between a Petri net's core and its observer. Where the three agree on tic-tac-toe, why the agreement follows from one definition, and where the code does not yet match the theorem.
Tropical Petri Nets(2026-03-10) Timed event graphs are max-plus linear and ReLU networks are tropical rational, so the two meet over the tropical semiring. This post covers what those two theorems give us, what pflow-tropical checks in code, and how far the Petri-net/neural-net analogy has actually been earned.
Symmetric Monoidal Categories: The Structure Underneath(2026-03-09) A Petri net generates a free symmetric monoidal category — places give the objects, transitions the generating morphisms. What that theorem buys for composition, analysis and proofs across this blog, and which of the connections are still a shape match rather than a checked result.
Skip the Spreadsheet: What-If Analysis with Petri Nets(2026-03-08) Describe your business to an LLM, get a simulation you can actually play with — adjust staffing, change demand, and watch the numbers move. Revised to say which vet-clinic results the tests actually check, and that the coffee shop runs out of milk, not cups.
Paper: Incidence Reduction via Petri Net ODE Equilibrium(2026-02-23) A draft paper formalizing incidence reduction — the ODE equilibrium of an analysis net is exactly the reciprocal of each entity's constraint count — checked on tic-tac-toe, poker, Connect Four, and Hex, with the tests linked.
ZK Hold'em: Poker Hand Ranking from Network Topology(2026-02-23) Incidence reduction applied to poker in one pflow-rs example — hand-category values come out of the ODE as 1/drains over hand-picked drain counts, every game action is Groth16-proven, the shuffle is a Poseidon commit-reveal, and the generated contract still trusts the showdown.
The Incidence Reduction(2026-02-22) With uniform rates, the tic-tac-toe ODE ranks cells by incidence degree — the number of win lines through each one — approximately on the game net and exactly on the decoupled analysis net. The go-pflow and pflow-rs tests are linked, and the rate-recovery procedure is marked as not yet built.
Comparing Nets by Their ODE Signatures(2026-02-18) The same math with different labels still produces the same ODE solution. In tic-tac-toe, we see it directly — each board position is a place, and the heatmap is the solution projected onto the grid.
Exponential Weights in Petri Nets: What Worked, What Didn't, and What's Next(2026-02-14) Power-of-2 weights encode lexicographic order over distinct ranks as a single integer. We tried it for poker kicker scoring inside the net and reverted it; the per-card variant we shipped also broke the ordering. Where the encoding belongs, and where it doesn't.
Zero-Knowledge Proofs for Petri Nets(2026-02-14) How gnark circuits prove that a Petri net transition is valid without revealing the state—MiMC hashing, topology-based constraints, and Groth16 proofs.
Texas Hold'em Model(2026-01-31) The five-seat Hold'em tutorial net (18 places, 32 transitions) read against its source — phase places, turn tokens, a dealer role and an event log, plus what the net leaves to code (chips, guards, re-raises) and one bug in how seats re-enter a hand.
ZK Tic-Tac-Toe Model(2026-01-31) The gnark circuits behind ZK tic-tac-toe, read against the code — a board circuit and a 33-place Petri-net circuit, what each proves, what stays public, and what the constraint count comes to.
tens-city v0.8: A Federated Blog Without a Database(2026-01-25) A minimal blog platform with ActivityPub federation. Markdown files, a Go binary, two JSON files and a PEM key for federation state. No database.
The Token Language(2026-01-25) Four terms — cell, func, arrow, guard — generate a free symmetric monoidal category. The DSL is a categorical language for executable token models.
Sudoku Petri-Net Model(2025-11-28) A 4×4 Sudoku as a Petri net in the tic-tac-toe pattern — cells, digit moves with history, constraint collectors into a solved place — checked against the go-pflow generator, which shows the collectors as built can never fire and the ODE ranking is not yet demonstrated.
Ode To Petri(2024-03-23) A poem for Carl Adam Petri, inventor of Petri nets—the mathematical notation for concurrent systems.