Interactive marimo notebook exploring the Bergstrom-Lachmann model of evolutionary bet-hedging. Covers why natural selection maximizes geometric mean fitness, the phase transition between pure and mixed strategies under environmental fluctuation, the connection to Kelly betting and Shannon entropy, and how environmental cues provide fitness value bounded by mutual information. An experiment in AI-assisted pedagogy as much as a tutorial on information-theoretic fitness.
Interactive notebook (runs in browser) ยท GitHub repo
Written with Claude.