← Ziding Zhang

Moving a Wolbachia cost past larval crowding erases its container discount

Across 20,400 runs, cutting eggs before competition lowers the invasion threshold by nearly 4 points, while paying the exact same cost at adult emergence erases that spatial discount.

November 25, 2026 · Research note · What is not yet established


In our earlier Wolbachia simulation and 200-seed follow-up in Turn the Wolbachia simulation into a preprint, an infection with a 25% egg penalty invaded about 4 percentage points below the textbook formula. The proposed mechanism was timing: infected mothers lay fewer eggs before density-dependent competition inside each water container, so their larvae share tight containers with smaller broods and survive better.

To isolate timing directly (Step 3), we tested four ways of paying the exact same textbook fitness cost across 20,400 runs (50 seeds/point, MAXDAYS=1500): cutting eggs before competition (egg), charging the penalty at adult emergence after crowding (emergence), cutting adult female daily survival (adult-female), and cutting both sexes’ adult survival (adult-both).

Two-panel chart showing Wolbachia tipping-point offsets for egg, emergence, adult-female, and adult-both cost modes under nearest-container crowding and well-mixed scattered egg controls
Tipping-point offsets from the textbook formula across 10%, 25%, and 40% face costs (50 seeds per point, 95% bootstrap CIs). Under spatial crowding (left), only pre-crowding egg reductions earn the full ~4-point discount against the matching well-mixed control (right).
22 s deterministic motion breakdown (native 9:16 social cut).
Cost mode (25% face cost)Nearest crowdingScattered controlSpatial shift (nearest - scattered)
egg (pre-crowding)−3.93 [−4.18, −3.67]−0.20 [−0.50, +0.10]−3.73 points
emergence (post-crowding)+2.05 [+1.69, +2.39]+2.04 [+1.72, +2.36]+0.01 points
adult-female (exact lifetime clutch)−3.40 [−3.78, −3.03]−1.76 [−2.08, −1.44]−1.64 points
adult-both (both sexes survival)+1.73 [+1.40, +2.05]+2.46 [+2.14, +2.78]−0.73 points

Two results stand out:

  1. Moving fecundity loss past larval crowding erases the crowding discount. Charging the penalty at emergence rather than oviposition removes the gap between nearest-container crowding and scattered controls (+2.05 vs +2.04 at 25% cost), a −5.98 point [−6.39, −5.54] swing relative to egg (nearest).
  2. Adult female longevity still reduces multi-clutch overlap (−1.64 points), while male mortality shifts the threshold sharply upward. Shorter-lived infected females lay fewer late clutches into nearby containers over the 10-day larval window, preserving roughly 44% of the spatial discount at 25% cost. Charging the same survival penalty to infected males (adult-both) removes incompatible matings faster and raises the tipping point by +5.13 points (25% cost) and +9.76 points (40% cost) relative to adult-female.

Limitations. Two design caveats matter before generalizing to Hancock, Sinkins and Godfray (2011) or field releases: day-0 larval initialization leaves un-thinned cohorts in emergence and adult-female, requiring within-mode scattered controls, and stopping at day 1,500 leaves 95 egg (nearest) 40% runs undecided. Next steps are deriving the analytical effective-cost factor (Step 4) and reading the core theory papers in full (Step 1). All scripts, independent survival checks (recheck.mjs), and aggregated tables live in the Cinema Deck ↗, the cost-type research bundle, and sartoshi-foot-dao/wolbachia-threshold.

Agent context: sources, method and working notes
  • Lifetime clutch calibration (s_i): Solving s_i^2 / (1 - s_i) = (1 - s_f) s_w^2 / (1 - s_w) with s_w = 0.90 yields s_i = 0.891080 (10%), 0.874201 (25%), and 0.850991 (40%), verified to abs_err < 2e-15 in /research/wolbachia-cost-type-test/independent/recheck.mjs.
  • Extensible entry points: Swap density-dependence functions in run.mjs (Beverton–Holt or Ricker vs linear crowding) or pass MAXDAYS=6000 in /research/wolbachia-cost-type-test/code/run.mjs to resolve stalled 40% runs.
  • Standalone WebGL 2 Cinema Deck (wolbachia-threshold v2 on zidingz-cinema, 991 KB, zero network requests): /interactive/wolbachia-threshold/index.html (poster, 23-frame contact sheet). Verified on Apple M3 Pro Metal GPU (Beat Silhouette Deltas: surface 23.36/26.78, tank 29.14/36.60, bottleneck 91.68/24.26, clock 41.36/35.64, males 32.53/32.95, plate 34.58/44.06; motion.mjs: 0 pops/flashes/still holds 0.33–9.68, worst drift 0.274, 0 transition findings; smoke.mjs: 18 beats fwd/back, 6/6 overview thumbnails, 0 external network requests).
Changes
  • November 25, 2026: Completed the Step 3 cost-type sweep (20,400 runs), verified lifetime clutch survival calibration to machine precision, and closed wolbachia-threshold issue