EvoLab · Rules & Physics · v0.6

The world is a budget.Matter goes round, energy runs out.

The paper spec that sits under the Design Charter. It fixes what is conserved and how it moves — the foundation every later rule is built on. A rule defines the physics, never the outcome.

§1 Currency — LOCKED · pressure-tested §2–6 — TODO conservative · lossy ≤ 1 enable, don't steer
LIGHT spent & degraded at every step HEAT ORGANIC · biomass INORGANIC · fields fix (+E) die / decompose C & N · total fixed · nothing minted
The one idea everything rests on — energy is an open river, matter is a closed wheel.
01

Currency layer

● LOCKED

The conserved quantities, their forms, and how they move. Three currencies: one that flows, two that cycle.

1.1 Conserved quantities

1.2 Spatial modellocal fields + diffusion

Inorganic C and N sit in local per-cell fields, coupled by diffusion. The diffusion rate is a single dial — and global / well-mixed is just its high-diffusion limit, so we model one mechanism, not two.

conc. distance from a consumer → consumer low diffusion · sharp depletion medium · relaxes with distance high diffusion → well-mixed (global limit)
One dial spans the whole space — from sharp local depletion zones to a single shared pool.

Guardrail: no directional transport that can move matter permanently out of reach. Plain diffusion spreads regenerated nutrients back out — which is exactly what avoids the prior detritus-stranding failure.

1.3 Biomass: reserve, structure & stoichiometryreserve / structure

Biomass isn't one lump. Following dynamic-energy-budget theory, a cell is split into two compartments:

one cell structure upkeep ∝ vol reserve · no upkeep · variable C:N uptake ∝ surface cell size → rate uptake ∝ surface (size^⅔) upkeep ∝ volume (size) max size ← net growth
Uptake scales with surface, upkeep with volume — so growth flattens to a max size on its own. No hard cap needed.

This is the keystone addition. One extra compartment buys three things at once: a size cap that's earned not imposed, a clean definition of starvation (burn reserve; die when structure can't be maintained), and the producer–consumer homeostasis gradient for free. It also adds a real size tradeoff — bigger cells pay more just to exist.

1.4 Energy & matter bookkeepingper-tick budget

energy budget (this tick) = light captured + carbon respired
  → spent on: maintenance (∝ structure) · uptake · movement · growth · optionally carbon fixation
  → anything unspent dissipates. Nothing carries to the next tick.

Maintenance is paid first and scales with structural biomass — bigger cells owe more just to persist (metabolic theory). If the budget can't cover it, the cell draws down reserve; when reserve can't cover it either, it dies.

inorganic C + light energy organic C (stored) photosynthesis · invest · η_fix < 1 respiration · withdraw · η_resp < 1 · releases energy round trip η_fix · η_resp < 1 → no perpetual motion
A battery that loses charge both ways — you can never burn what you fixed for a net gain.

Why no separate energy pool: energy storage is carbon storage in real bioenergetics. Folding it into carbon removes a state variable, makes energy's one-way nature structural rather than policed, and lets light fund immediate work directly (no fix-then-burn tax). Energy↔carbon is a fixed exchange rate — a constant.

Excretion & remineralization closing the matter loop

A consumer that eats off-ratio food (say, carbon-rich prey) keeps the element it's short on and excretes the surplus straight back to the inorganic field. This is mandatory for conservation — the atoms must go somewhere — and it's also the main way consumers and decomposers hand the limiting nutrient back to producers. Consumer-driven nutrient recycling is a real feedback, not a side effect.

food · organic off-ratio C:N consumer retains limiting inorganic C · N field eat excrete surplus producers take it up → new food
The surplus element a consumer can't use is exactly what producers are starving for.

Inter-cell transfer the multicellularity substrate

When clonally-bonded cells share resources, the physics is fixed even though the decision to bond or share is an effector (§3):

bond · upkeep ∝ structure donor recipient C · N — conserved transport energy → heat the cell stays the unit of accounting — a colony is just bonded cells, emergent
Sharing has to earn its keep — upkeep + transport energy — but no atom is ever lost doing it.

This is all §1 owes multicellularity: conservative transfer with a real cost. The adhesion and sharing effectors, and the benefits that make colonies pay (a predation size-refuge, division of labour), are §3/§4 — and they must stay emergent, never coded as a bonus.

1.5 Scope & deliberate omissions

1.6 The emergent payoff — and its limita result, not a coded rule

Because energy is stored carbon, one genuine axis falls out of the mechanism: autotrophy. Autotrophmixotroph → heterotroph is a real, monotonic gradient — the fraction of your carbon you fix yourself vs. acquire pre-made. (It collapses to a single axis only because we scoped out chemoautotrophy in §1.5; in full microbiology, carbon source and energy source are orthogonal.)

But that axis does not linearise the guilds. Predator, grazer and decomposer are all full heterotrophs — they sit at the same point on the autotrophy axis. What separates them is a second, orthogonal axis: the source / state of the organic carbon they eat — living autotroph (graze), living cell (predate), or dead matter (decompose).

living autotrophs living cells dead matter · detritus axis A · fraction of carbon eaten → 0 = fully self-fixed · 1 = fully heterotrophic axis B · what is eaten autotroph · eats nothing (axis B n/a) mixotroph · fixes + eats grazer predator decomposer same A, different B axis B only bites as you eat more — bands fade toward the self-fixed edge
Two axes, not one. Predator and decomposer share an axis-A position; the band is what tells them apart.

So guild identity = (axis A position) × (axis B band), and the decomposer band exists because death now deposits a distinct organic detritus pool (§1.1). Both axes still emerge — neither is a hard-coded guild label; we classify after the fact, we don't build guilds in.

1.7 Open threads handed forward

O1 · DETRITUS FORM
Partly resolved by the pressure-test: death must deposit an organic detritus pool (§1.1), so detritus exists. What's left is its form & dynamics — dissolved vs particulate, whether it sinks, how decomposers access it — → §3.
O2 · MAINTENANCE COST
Maintenance scales with structural biomass (§1.4); the per-unit rate, plus the subsistence reserve level, the max reserve density, and the surface/volume exponents that set max size, are constants → §6.
O3 · LIGHT COMPETITION
Nutrients are local & depletable, but light is currently a static gradient nobody depletes — so autotrophs compete for N, not light. Decide whether light is attenuated by biomass (self-shading → vertical niches, motility pressure) or stays static → §2.
02

World & environment

TODO

Geometry, the photic light gradient, field-diffusion specifics, time / tick structure, boundaries.

Carried in from the §1 pressure-test: resolve O3 (is light depletable / self-shading?); and conservation requires closed or periodic field boundaries (no-flux) plus a conservative diffusion stencil, or total C/N silently leaks.

03

In / out — sensing & effectors

TODO

What a cell senses (inputs) and what it can do (effectors): uptake, photosynthesis, respiration, movement, predation, decomposition, division. Resolves O1's form question.

Carried in from the §1 pressure-test: the decisive anti-generalist tradeoff lives here, not in §1. §1 gives only the shared budget + size cost; §3 must make being good at one function (photosynthesis / feeding / movement apparatus) cost being good at another — or "no tradeoff → generalist wins" returns.

04

The simulation

TODO

Tick order, how the world updates each step, conservation accounting per step.

Carried in from the §1 pressure-test: single-pass accounting per tick (no respiring the same carbon twice, demand-driven respiration), and a running C/N total that must stay flat — the canary for any conservation leak.

05

Genome

TODO

Representation (GRN or reconsider) and mutation operators.

06

Constants

TODO

Every tuned number in one place: diffusion rate, η_fix, η_resp, energy/carbon exchange, structural C:N, subsistence reserve level, max reserve density, surface/volume exponents (→ max size), maintenance rate, bond upkeep, per-unit transport energy.

Decision log — why, not just what
3 pools, not 2
energy + C + N, to get nutrient limitation (Liebig) and stoichiometric tradeoffs — the charter's richest lever — for one extra pool.
Local fields + diffusion
spans local ↔ global through one constant; avoids a second system; diffusion counteracts matter-stranding.
Variable quotas, not fixed C:N
richer (ecological stoichiometry) and cleaner given C and N are tracked separately regardless.
Energy as flux + carbon-reserve
faithful to real bioenergetics, removes a state variable, and makes the trophic web emerge from one mechanism. It yields one genuine axis (autotrophy: self-fixed ↔ eaten); the guilds at the heterotroph end are split by a second axis (carbon source: live autotroph / live cell / detritus). Per-tick budget added so light can power work directly.
Reserve / structure split (DEB)
the keystone of the v0.4 revision. Buys an emergent max size (surface-uptake vs volume-maintenance), a clean starvation definition, a size tradeoff, and the producer/consumer homeostasis gradient — all from one extra compartment. Retires the hard-coded max-quota cap.
Liebig × Droop on quota-vs-subsistence
kept Liebig minimum (beats the multiplicative rule empirically) but moved the per-nutrient term onto reserve quota relative to a subsistence minimum, via a saturating response — the validated phytoplankton-growth form. The subsistence level doubles as the death floor.
Excretion / consumer-driven recycling
off-ratio feeders excrete the surplus element back to inorganic — conservation-mandatory, and the feedback that returns the limiting nutrient to producers.
Oxygen, currents, P — declared out of scope
O₂/redox, advective currents, and phosphorus are conscious omissions (parsimony), now stated so the missing niches are a choice, not an accident.
Inter-cell transfer — conservative, with a cost
matter conserved in transit (a leak would be anti-conservation); the tradeoff comes from bond upkeep + per-unit transport energy. This is all §1 owes multicellularity — effectors and benefits stay emergent in §3/§4. The cell remains the unit of accounting; colonies are emergent.
Bounded reserve density (pressure-test fix)
reserve is capped per unit structure, with overflow exuded to the field — closes the unbounded-hoarder / immortal-dormancy exploit and keeps matter circulating.
Death routes to organic detritus (pressure-test fix)
because a dead cell's carbon still holds energy, death must deposit organic detritus and let decomposition mineralize it — direct mineralization would destroy that energy and re-create the decomposer-starvation failure.
Division conserves (pressure-test fix)
daughters partition the parent's structure, reserve and stored energy — stated explicitly so reproduction can't mint or lose matter.