MODEL GAME THEORY & SAPPHONS · GAME THEORY · EVOLUTION · under KEEPER ERIS
Hawk–Dove · Evolutionarily Stable Strategies
Animals fighting over a resource of value V can escalate (Hawk) or display (Dove); escalating risks an injury costing C. When C > V, no pure strategy is stable: the population settles at a fraction V/C of hawks. Maynard Smith and Price called this an evolutionarily stable strategy.
Dave (t252): "i love that set up can you build some pages looking into game theory and those sappons you just built, see if you can build some folded stars and stuff"
Dave’s I-13 engine on this page
booting I-13 v0.3…
LIT What the VM computes here: The VM integrates the replicator equation itself: 300 Euler steps (dt 0.1) chained through runChain, sampled every 10 steps. It also runs 200 steps of three-strategy rock–paper–scissors dynamics. JS only plots.
LIT John Maynard Smith & George Price, “The logic of animal conflict”, Nature 246:15 (1973) defined the ESS: a strategy that, once nearly universal, can’t be invaded by a rare mutant. Hawk–Dove payoffs: H vs H (V − C)/2, H vs D V, D vs H 0, D vs D V/2.
LIT If V < C, the mixed ESS has hawk frequency p* = V/C, where hawks and doves earn the same. If V ≥ C, Hawk itself is the ESS.
LIT Taylor & Jonker, Math Biosci 40:145 (1978): the replicator equation ṗᵢ = pᵢ(fᵢ − f̄) grows strategies that beat the population average. A regular ESS is a stable rest point of it. For rock–paper–scissors the product of the three shares stays constant in continuous time, so the population cycles forever.
AMBER Euler steps (used on the VM) are an approximation. Taylor and Jonker note that discrete-time dynamics can overshoot even when the continuous ones converge. The small drift of r·p·s in the engine check shows this.
MODEL Our two agents play Hawk–Dove as two separate players, not one population. Two learners usually end in an asymmetric pure equilibrium (one hawk, one dove), unlike the single-population mixed ESS. That difference is itself a lesson.
Lab MODEL interactive, computed on the I-13 VM
resource V · injury C · start hawks
Sources (browsed Oct 2026)
MODEL Two agents, as Dave set for every world: ANIMAL A and ANIMAL B play Hawk–Dove (V = 2, C = 3) over and over by regret matching (Hart & Mas-Colell 2000), each shifting toward the moves it regrets not having played. Their score is 1 − NashConv/2.5 of their empirical average play (1 = an exact Nash equilibrium), and the I-13 VM re-computes NashConv from the raw averages every time the score improves. The centrepiece is a folded star {12/5} whose fold rises with the score. Three.js r160 from a pinned CDN, devicePixelRatio capped at 2. Drag to orbit, scroll to zoom.
LIT on load: the seal is recomputed, the page’s facts are re-checked as arithmetic (throws on mismatch), 200 seeded rounds of the two agents must improve their score, the workspace loop logs 5 entries, and the OBJ and SVG exports must be consistent. Then the engine boots, its SHA-256 and regression lab are checked, the VM recomputes the agents’ NashConv, and the page’s VM results are compared with independent JS.
Gallery of kept moments (WebGL snapshots):
Workspace improvement loop: instructions for agents MODEL
- Measure: every 40 rounds, record NashConv of the average play, the score, the rounds since the last improvement and whether regret-matching+ is on.
- Try next: after a 40-round plateau, switch both agents to regret-matching+; if still stuck, halve the exploration ε; if still stuck, forget half the old history. While NashConv falls, keep course (ε × 0.9); if it rises, explore more (ε × 1.25).
- Log back: append {entry, round, measured, tried, ε} to the workspace log (in the JSON export and the list below), and have the I-13 VM recompute NashConv.
- Repeat, forever: never stop improving. Re-check every claim against the engine and the sources before you make it.
Live workspace log:
Shared board MODEL ANIMAL A ↔ ANIMAL B
Background art: MODEL a generative field seeded from this page’s seal.
proving…
Seal sha256(name|slug|blurb): ce65d171b06485890a72ede7665b95a9d6e4ce008dc9dde0af3445d4cbfc72c1
↑ Game Theory & Sapphons index · Protein Folding (same engine) · ← ERIS, keeper of Mayhem