sim14 โ Heterogeneous Agents
Open the interactive visualization โ renders the grid heatmap (play/pause, step slider) and all metric charts from
results.json.
One-line: Agents carry a structure ID; deposits are tagged with the depositor's ID; co-presence checks for material from TWO DISTINCT IDs โ so a 1-seed control is structurally zero, regardless of agent wander.
The question
sim13 showed that agent wander (not the torus leak) causes false boundaries: agents on a torus deposit material in both halves, creating real co-presence from a single structure. Every spatial filter โ diffusion (sim12), direct-material max filter (sim13) โ picks up wander material because it detects WHERE material is, not WHOSE it is.
sim14 tests agent-level fidelity: each termite carries a structure ID (0=left, 1=right). Deposits go into material_by_id[agent.id]. Co-presence = min(dilate(material_by_id[0]), dilate(material_by_id[1])). For a single seed, all agents have id=0, so material_by_id[1] is zero everywhere โ co-presence = 0 โ B = 0. This is a structural guarantee โ no spatial filter can achieve it.
Design
- HeteroTermites: first n//2 agents get id=0 (left), rest get id=1 (right). For 1-seed control, all get id=0.
- Material tracking:
material_by_id[0]andmaterial_by_id[1]track deposits by ID. Totalfield.material = sum(for compatibility with sim09 curvature/on_surface/metrics). - Deposits:
material_by_id[agent.id] += pelletANDfield.material += pellet. - Excavation: proportional removal from both ID arrays.
- Co-presence:
min(dilate_no_x_wrap(material_by_id[0]), dilate_no_x_wrap(material_by_id[1]))โ sim13's max filter, but on ID-separated arrays. - Boundary B: identical growth/decay to sim12 (
B_new = B*(1-decay) + growth*co_presence). - Suppression: identical to sim12 (
p_dep *= (1 - g*B_norm/(1+B_norm))).
Results
8-Condition experiment (seed 42, g=0.9)
| Condition | L2 | Outcome | Stable | H7 | Cells | L_retain | R_retain |
|---|---|---|---|---|---|---|---|
| hetero 2-seed | YES | coexist | YES | NO | 167 | 0.55 | 0.49 |
| hetero 1-seed | NO | none | NO | YES | 3936 | 0.95 | 1.00 |
| passive 2-seed | YES | coexist | NO | YES | 1779 | 0.99 | 1.00 |
| passive 1-seed | YES | none | YES | YES | 1727 | 0.95 | 1.00 |
| none 2-seed | NO | none | NO | YES | 4832 | 1.00 | 1.00 |
| none 1-seed | NO | none | NO | YES | 4494 | 0.99 | 1.00 |
| shadow 2-seed | YES | coexist | YES | YES | 3714 | 0.99 | 1.00 |
| shadow 1-seed | YES | coexist | YES | YES | 3129 | 0.99 | 1.00 |
4-Seed robustness sweep
| Mode | Seeds | L2 | Coexist | Stable | H7 | Clean |
|---|---|---|---|---|---|---|
| hetero | 2 | 4/4 | 2/4 | 2/4 | 0/4 | 2/4 |
| hetero | 1 | 0/4 | 0/4 | 0/4 | 4/4 | โ |
| shadow | 2 | 4/4 | 4/4 | 4/4 | 4/4 | 2/4 |
| shadow | 1 | 4/4 | 2/4 | 2/4 | 4/4 | โ |
| passive | 2 | 4/4 | 2/4 | 1/4 | 4/4 | 2/4 |
| passive | 1 | 4/4 | 1/4 | 2/4 | 4/4 | โ |
| none | 2 | 0/4 | 0/4 | 0/4 | 4/4 | 0/4 |
| none | 1 | 0/4 | 0/4 | 0/4 | 4/4 | โ |
Key findings
The 1-seed control is 0/4 on ALL metrics. l2_crossed=0/4, coexist=0/4, stable=0/4, B_max=0.0 across all seeds. This is the first time the false-positive rate has been structurally zero. No spatial filter achieves this โ sim12's shadow has 4/4 l2_false positives, sim13's direct-material has 4/4 l2 and 1/4 coexist.
Clean composition: 2/4 โ matching shadow and passive. The heterogeneous approach achieves the same clean rate, but through a different mechanism: eliminating false positives (0/4 in 1-seed) rather than generating enough true positives to overcome them.
H7 crossing suppressed: 0/4. The ID-based boundary is too strong โ it suppresses growth below the H7 crossing threshold (cells: 167 vs 3714 for shadow). The cost of structural specificity is a boundary that is too aggressive.
The memory-specificity trade-off is broken on the specificity axis but not on the strength axis. Agent IDs eliminate false positives (specificity), but the boundary's strength (memory) needs tuning โ the same trade-off in a new form.
Selftest
All 7 parts pass: ID co-presence high for 2 seeds (1.83), EXACTLY zero for 1 seed (max=0.0), B grows/decays, B=0 for 1 seed, full run produces ID metrics, B=0 throughout 1-seed run, determinism verified.
Comparison to previous simulations
| sim | 1-seed l2_false | 1-seed coexist | 2-seed coexist | clean | mechanism |
|---|---|---|---|---|---|
| sim11 (passive) | 4/4 | 1/4 | 2/4 | 2/4 | passive lateral inhibition |
| sim12 (shadow) | 4/4 | 2/4 | 4/4 | 2/4 | diffused-shadow autopoietic |
| sim13 (direct) | 4/4 | 1/4 | 1/4 | 1/4 | direct-material max filter |
| sim14 (hetero) | 0/4 | 0/4 | 2/4 | 2/4 | ID-tagged agents |
sim14 is the first approach where the 1-seed control fires 0/4 on l2_crossed. The structural guarantee (id1 material = 0 for a single seed) is absolute โ it cannot be broken by agent wander, torus topology, or boundary radius.
Limitations
- H7 crossing suppressed (0/4). The boundary is too strong at g=0.9. A lower inh_gain might allow both crossing and composition โ but that is a parameter-tuning question, not a mechanism question.
- 2/4 coexist, not higher. The same rate as passive and shadow. The heterogeneous approach improves specificity without improving the raw coexistence rate.
- Agents still wander freely. The IDs tag deposits, not movement. Agents from the left can still wander to the right and deposit there โ their deposits carry id=0, which doesn't create false co-presence, but it does mean the boundary's spatial location is still determined by where agents deposit, which is influenced by wander.
Files
sim14.pyโ the simulation (imports sim13/sim12/sim11/sim10/sim09)results.jsonโ 8-condition experimentoutput/robustness_sweep.jsonโ 4-seed robustness sweepvisualize.htmlโ interactive visualization
Run
python3 sim14.py selftest # 7-part selftest
python3 sim14.py run # 8-condition experiment
python3 sim14.py robustness # 4-seed robustness sweep
Density Scaling (Session 41)
Queued-topic #119: does scaling n_termites with grid area rescue the 160ร160 grid's degradation?
| grid | nT | density | jit | l2(2s) | coexist | stable | h7(2s) | l2(1s) | cells |
|---|---|---|---|---|---|---|---|---|---|
| 80 | 150 | 23.44 | 0.0 | 4/4 | 4/4 | 4/4 | 4/4 | 0/4 | 1770 |
| 80 | 150 | 23.44 | 10.0 | 4/4 | 4/4 | 4/4 | 4/4 | 0/4 | 1970 |
| 80 | 150 | 23.44 | 20.0 | 2/4 | 1/4 | 0/4 | 4/4 | 0/4 | 2022 |
| 160 | 150 | 5.86 | 0.0 | 4/4 | 4/4 | 3/4 | 4/4 | 0/4 | 1674 |
| 160 | 150 | 5.86 | 10.0 | 4/4 | 4/4 | 1/4 | 2/4 | 0/4 | 1685 |
| 160 | 150 | 5.86 | 20.0 | 4/4 | 0/4 | 0/4 | 0/4 | 2/4 | 1216 |
| 160 | 300 | 11.72 | 0.0 | 4/4 | 4/4 | 4/4 | 4/4 | 0/4 | 2744 |
| 160 | 300 | 11.72 | 10.0 | 4/4 | 2/4 | 2/4 | 4/4 | 0/4 | 3393 |
| 160 | 300 | 11.72 | 20.0 | 4/4 | 0/4 | 0/4 | 4/4 | 3/4 | 3324 |
| 160 | 600 | 23.44 | 0.0 | 4/4 | 4/4 | 4/4 | 4/4 | 0/4 | 4515 |
| 160 | 600 | 23.44 | 10.0 | 4/4 | 4/4 | 3/4 | 4/4 | 2/4 | 5780 |
| 160 | 600 | 23.44 | 20.0 | 4/4 | 2/4 | 0/4 | 4/4 | 4/4 | 6748 |
H7 fully rescued by density (4/4 at all jitter). Composition partially rescued (4/4 at jit=0, 3/4 stable at jit=10, 2/4 at jit=20). 1-seed structural guarantee leaks at 160ร600 (absolute-size effect โ bigger structure overwhelms midline). See density_sweep.py.
N550 Plateau (Session 66)
Queued-topic #157/#161: does g* ever hit zero at n=550โ600 (~31% grid fill)?
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n550_g003 | 550 | 21.48 | 0.003 | 4/4 | 4/4 | 3/4 | 4/4 | 4/4 | 3/4 | 0.600 | 2/4 | 4/4 | 7848 | 30.7% |
| n550_g005 | 550 | 21.48 | 0.005 | 4/4 | 4/4 | 3/4 | 4/4 | 4/4 | 3/4 | 0.637 | 2/4 | 4/4 | 7795 | 30.4% |
| n550_g010 | 550 | 21.48 | 0.010 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 | 0.712 | 2/4 | 4/4 | 7775 | 30.4% |
| n600_g003 | 600 | 23.44 | 0.003 | 4/4 | 3/4 | 2/4 | 4/4 | 3/4 | 2/4 | 0.537 | 2/4 | 4/4 | 8047 | 31.4% |
| n600_g005 | 600 | 23.44 | 0.005 | 4/4 | 4/4 | 1/4 | 4/4 | 4/4 | 1/4 | 0.450 | 2/4 | 4/4 | 7977 | 31.2% |
| n600_g010 | 600 | 23.44 | 0.010 | 4/4 | 4/4 | 3/4 | 4/4 | 4/4 | 3/4 | 0.538 | 2/4 | 4/4 | 7960 | 31.1% |
g does NOT hit zero.* The 1/โn scaling holds at ~31% fill. H7=4/4 at all combos. n=550 g=0.01 achieves 4/4 full (cf=0.712). The LSW "droplet dissolves" prediction is not realized โ ~31% fill is far below the 2D percolation threshold (~59%). The 43rd mechanism: the 1/โn scaling is conservative (actual optimal > predicted). The 30th mechanism (stability-density trade-off) continues at n=600. See n550_plateau_sweep.py.
No-inhibition control: n=550 g=0 โ 3/4 coexist, 1/4 stable, cells=15691 (61% fill). n=600 g=0 โ 0/4 coexist, cells=17020 (66% fill). The boundary remains necessary at every density.
N700 Plateau (Session 67)
Queued-topic #157 (continuation): does g* hit zero at n=700โ800 (~33โ35% grid fill)? The 1/โn formula predicts NEGATIVE g* at n=700โ800 โ the 43rd mechanism says actual > predicted.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n700_g003 | 700 | 27.34 | 0.003 | 4/4 | 4/4 | 1/4 | 4/4 | 4/4 | 1/4 | 0.325 | 1/4 | 4/4 | 8538 | 33.4% |
| n700_g005 | 700 | 27.34 | 0.005 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.500 | 1/4 | 4/4 | 8479 | 33.1% |
| n700_g010 | 700 | 27.34 | 0.010 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.500 | 1/4 | 4/4 | 8474 | 33.1% |
| n800_g003 | 800 | 31.25 | 0.003 | 4/4 | 4/4 | 3/4 | 4/4 | 4/4 | 3/4 | 0.575 | 3/4 | 4/4 | 8832 | 34.5% |
| n800_g005 | 800 | 31.25 | 0.005 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.500 | 3/4 | 4/4 | 8852 | 34.6% |
| n800_g010 | 800 | 31.25 | 0.010 | 4/4 | 1/4 | 2/4 | 4/4 | 1/4 | 0/4 | 0.450 | 3/4 | 4/4 | 8813 | 34.4% |
g does NOT hit zero.* The 43rd mechanism (conservative scaling) confirmed: the 1/โn formula predicts NEGATIVE g* but actual g* is positive. H7=4/4 at all 8 combos. n=800 g=0.003 achieves 3/4 full (cf=0.575). The 30th mechanism (stability-density trade-off) worsens at n=800 g=0.01 (coexist 1/4, 3/4 fragmented). The 1-seed structural guarantee degrades: 1/4 at n=700, 3/4 at n=800. See n700_plateau_sweep.py.
No-inhibition control: n=700 g=0 โ 0/4 coexist, cells=18954 (74% fill). n=800 g=0 โ 2/4 coexist (measurement artifact at 82% fill), cells=20960. The boundary remains necessary at every density tested.
N900 Plateau (Session 68)
Queued-topic #157 (continuation): does g* hit zero at n=900โ1000 (~36% grid fill)? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.44 to -0.47) โ the 43rd mechanism says actual > predicted.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n900_g003 | 900 | 35.16 | 0.003 | 4/4 | 4/4 | 0/4 | 4/4 | 4/4 | 0/4 | 0.300 | 1/4 | 4/4 | 9164 | 35.8% |
| n900_g005 | 900 | 35.16 | 0.005 | 4/4 | 3/4 | 2/4 | 4/4 | 3/4 | 2/4 | 0.450 | 1/4 | 4/4 | 9017 | 35.2% |
| n900_g010 | 900 | 35.16 | 0.010 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.525 | 1/4 | 4/4 | 9077 | 35.5% |
| n1000_g003 | 1000 | 39.06 | 0.003 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 1/4 | 0.475 | 4/4 | 4/4 | 9357 | 36.6% |
| n1000_g005 | 1000 | 39.06 | 0.005 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 1/4 | 0.450 | 4/4 | 4/4 | 9337 | 36.5% |
| n1000_g010 | 1000 | 39.06 | 0.010 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 2/4 | 0.400 | 4/4 | 4/4 | 9356 | 36.5% |
g does NOT hit zero.* The 43rd mechanism (conservative scaling) confirmed at a third density range: the 1/โn formula predicts deeply NEGATIVE g* but actual g* is positive. H7=4/4 at all 8 combos. n=900 g=0.01 achieves 2/4 full (cf=0.525). The 30th mechanism (stability-density trade-off) persists: stable 0โ2/4. The 1-seed structural guarantee is stochastic, not monotonic: 1/4 at n=900, 4/4 at n=1000 โ the 12th member does not degrade monotonically. See n900_plateau_sweep.py.
No-inhibition control: n=900 g=0 โ 0/4 coexist, cells=22240 (87% fill). n=1000 g=0 โ 0/4 coexist (1/4 l2_crossed artifact at 92% fill), cells=23519. The boundary remains necessary โ it prevents percolation.
N1200 Plateau (Session 69)
Queued-topic #157 (continuation): does g* hit zero at n=1200โ1500 (~38โ39% grid fill)? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.51 to -0.56) โ the 43rd mechanism says actual > predicted.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n1200_g003 | 1200 | 46.88 | 0.003 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.512 | 3/4 | 4/4 | 9762 | 38.1% |
| n1200_g005 | 1200 | 46.88 | 0.005 | 4/4 | 4/4 | 1/4 | 4/4 | 4/4 | 1/4 | 0.438 | 3/4 | 4/4 | 9755 | 38.1% |
| n1200_g010 | 1200 | 46.88 | 0.010 | 4/4 | 4/4 | 1/4 | 4/4 | 4/4 | 1/4 | 0.400 | 3/4 | 4/4 | 9847 | 38.5% |
| n1500_g003 | 1500 | 58.59 | 0.003 | 4/4 | 4/4 | 3/4 | 4/4 | 4/4 | 3/4 | 0.600 | 1/4 | 4/4 | 10075 | 39.4% |
| n1500_g005 | 1500 | 58.59 | 0.005 | 4/4 | 4/4 | 0/4 | 4/4 | 4/4 | 0/4 | 0.275 | 1/4 | 4/4 | 10142 | 39.6% |
| n1500_g010 | 1500 | 58.59 | 0.010 | 4/4 | 4/4 | 2/4 | 4/4 | 4/4 | 2/4 | 0.475 | 1/4 | 4/4 | 10037 | 39.2% |
g does NOT hit zero.* The 43rd mechanism (conservative scaling) confirmed at a fourth density range: the 1/โn formula predicts deeply NEGATIVE g* but actual g* is positive. H7=4/4 at all 8 combos. n=1500 g=0.003 achieves 3/4 full (cf=0.600) โ the best overall since n=800. The 44th mechanism: the boundary caps fill at ~39% (not 45% expected) โ the no-inhibition control fills 96โ100%. The 30th mechanism is non-monotonic: 3/4 stable at g=0.003 but 0/4 at g=0.005 โ a sharp gain-dependent transition. The 1-seed guarantee is stochastic: 3/4 at n=1200, 1/4 at n=1500. See n1200_plateau_sweep.py.
No-inhibition control: n=1200 g=0 โ 0/4 coexist, cells=24669 (96% fill). n=1500 g=0 โ 0/4 coexist, cells=25537 (100% fill). The boundary prevents percolation โ it keeps the system in the droplet regime below the 2D percolation threshold (~59%).
N1800 Plateau (Session 70)
Queued-topic #186 (continuation of #157): does g* hit zero at n=1800โ2000 (~40โ41% grid fill)? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.59 to -0.61) โ the 43rd mechanism says actual > predicted.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | coex(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n1800_g001 | 1800 | 70.31 | 0.001 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 2/4 | 0.450 | 1/4 | 4/4 | 1/4 | 10393 | 40.6% |
| n1800_g003 | 1800 | 70.31 | 0.003 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 2/4 | 0.512 | 1/4 | 4/4 | 1/4 | 10380 | 40.5% |
| n1800_g005 | 1800 | 70.31 | 0.005 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 1/4 | 0.475 | 1/4 | 4/4 | 1/4 | 10310 | 40.3% |
| n2000_g001 | 2000 | 78.12 | 0.001 | 4/4 | 4/4 | 3/4 | 4/4 | 3/4 | 2/4 | 0.512 | 2/4 | 4/4 | 1/4 | 10542 | 41.2% |
| n2000_g003 | 2000 | 78.12 | 0.003 | 4/4 | 4/4 | 1/4 | 4/4 | 3/4 | 1/4 | 0.388 | 2/4 | 4/4 | 1/4 | 10516 | 41.1% |
| n2000_g005 | 2000 | 78.12 | 0.005 | 4/4 | 4/4 | 1/4 | 4/4 | 3/4 | 1/4 | 0.438 | 2/4 | 4/4 | 1/4 | 10573 | 41.3% |
g does NOT hit zero.* The 43rd mechanism (conservative scaling) confirmed at a fifth density range: the 1/โn formula predicts deeply NEGATIVE g* but actual g* is positive. H7=4/4 at all 6 plateau combos. The 44th mechanism (boundary caps fill) confirmed at a 5th density range: fill plateaus at ~41% (not ~45โ50% expected) โ the no-inhibition control fills 100%. The 30th mechanism is a gain-density interaction: at n=2000, stable drops 3/4โ1/4 as g rises 0.001โ0.005; at n=1800, stable is 2/4 at all gains (less sensitive). The 1-seed guarantee is stochastic: 1/4 at n=1800, 2/4 at n=2000. See n1800_plateau_sweep.py.
No-inhibition control: n=1800 g=0 โ 0/4 coexist, cells=25599 (100% fill). n=2000 g=0 โ 0/4 coexist, cells=25600 (100% fill). The boundary prevents percolation โ it caps fill at ~41% even with 2000 termites.
N2500 Plateau (Session 71)
Queued-topic #189, #190 (continuation of #157): does g* hit zero at n=2500โ3000 (~42โ44% grid fill)? Is the fill cap logarithmic? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.64 to -0.65) โ the 43rd mechanism says actual > predicted.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | coex(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n2500_g001 | 2500 | 97.66 | 0.001 | 4/4 | 4/4 | 2/4 | 4/4 | 3/4 | 1/4 | 0.400 | 4/4 | 4/4 | 1/4 | 10773 | 42.1% |
| n2500_g003 | 2500 | 97.66 | 0.003 | 4/4 | 3/4 | 0/4 | 4/4 | 2/4 | 0/4 | 0.250 | 4/4 | 4/4 | 1/4 | 10854 | 42.4% |
| n2500_g005 | 2500 | 97.66 | 0.005 | 4/4 | 3/4 | 0/4 | 4/4 | 2/4 | 0/4 | 0.300 | 4/4 | 4/4 | 1/4 | 10711 | 41.8% |
| n3000_g001 | 3000 | 117.19 | 0.001 | 4/4 | 3/4 | 0/4 | 4/4 | 2/4 | 0/4 | 0.163 | 4/4 | 4/4 | 1/4 | 11169 | 43.6% |
| n3000_g003 | 3000 | 117.19 | 0.003 | 4/4 | 4/4 | 0/4 | 4/4 | 3/4 | 0/4 | 0.213 | 4/4 | 4/4 | 1/4 | 11074 | 43.3% |
| n3000_g005 | 3000 | 117.19 | 0.005 | 4/4 | 2/4 | 0/4 | 4/4 | 2/4 | 0/4 | 0.188 | 4/4 | 4/4 | 1/4 | 11159 | 43.6% |
g does NOT hit zero.* The 43rd mechanism confirmed at a sixth density range. H7=4/4 at all 6 plateau combos. The 44th mechanism: the fill cap rises LOGARITHMICALLY โ fill% โ 13.1ยทlogโโ(n) โ 2.14 (Rยฒ=0.991). The fill cap trajectory: n=1200โ38.3%, n=1500โ39.4%, n=1800โ40.4%, n=2000โ41.2%, n=2500โ42.1%, n=3000โ43.6%. The 44th mechanism is a soft cap, not a hard constant. The 30th mechanism worsens: stable collapses to 0/4 at n=3000 (all gains). The 1-seed structural guarantee is fully lost: l2(1s)=4/4. See n2500_plateau_sweep.py.
No-inhibition control: n=2500 g=0 โ 0/4 coexist, cells=25600 (100% fill). n=3000 g=0 โ 0/4 coexist, cells=25600 (100% fill). The boundary prevents percolation โ it caps fill at ~42โ44% even with 3000 termites. At ~44% fill, the structures are at ~74% of the 2D percolation threshold (~59%).
N4000 Plateau (Session 72)
Queued-topics #193, #194 (continuation of #157): does g* hit zero at n=4000โ5000 (~46โ48% grid fill)? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.71 to -0.74) โ the 43rd mechanism says actual > predicted. The 6-point log fill cap (13.1ยทlogโโ(n) โ 2.14, Rยฒ=0.991) predicts ~45.1% at n=4000 and ~46.3% at n=5000.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | coex(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n4000_g0005 | 4000 | 156.25 | 0.0005 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.062 | 4/4 | 4/4 | 2/4 | 11735 | 45.8% |
| n4000_g001 | 4000 | 156.25 | 0.001 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.025 | 4/4 | 4/4 | 2/4 | 11808 | 46.1% |
| n4000_g003 | 4000 | 156.25 | 0.003 | 4/4 | 3/4 | 0/4 | 4/4 | 1/4 | 0/4 | 0.087 | 4/4 | 4/4 | 2/4 | 11529 | 45.0% |
| n5000_g0005 | 5000 | 195.31 | 0.0005 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.013 | 4/4 | 4/4 | 0/4 | 12348 | 48.2% |
| n5000_g001 | 5000 | 195.31 | 0.001 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.087 | 4/4 | 4/4 | 0/4 | 12228 | 47.8% |
| n5000_g003 | 5000 | 195.31 | 0.003 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.138 | 4/4 | 4/4 | 0/4 | 12282 | 48.0% |
g does NOT hit zero.* The 43rd mechanism confirmed at a seventh density range. H7=4/4 at all 6 plateau combos. The 44th mechanism BREAKS the logarithmic fit โ the fill cap is accelerating. Fill rises to ~45.8% (n=4000) and ~48.0% (n=5000) โ the 6-point log fit underestimates by +0.7% and +1.7%. The 8-point refit (15.39ยทlogโโ(n) โ 9.58) has Rยฒ=0.984 (lower than the 6-point Rยฒ=0.991). The 30th mechanism persists: stable 0/4 at ALL 6 combos (does NOT recover at g=0.0005). Composition collapses at n=5000 (coexist 0/4 all gains). The 1-seed guarantee is fully lost (4/4 all combos, coex(1s)=0/4 at n=5000). At ~48% fill, ~81% of the 2D percolation threshold (~59%). See n4000_plateau_sweep.py.
No-inhibition control: n=4000 g=0 โ 0/4 coexist, cells=25600 (100% fill). n=5000 g=0 โ 0/4 coexist, cells=25600 (100% fill). The boundary prevents percolation โ it caps fill at ~46โ48% even with 5000 termites.
N6000 Plateau (Session 73)
Queued-topics #197, #199, #200 (continuation of #193): does g* hit zero at n=6000โ8000 (~51โ61% grid fill)? The 1/โn formula predicts deeply NEGATIVE g* (g*โ-0.75 to -0.78). The 8-point log fill cap predicts ~49.7% at n=6000 and ~50.5% at n=8000.
| Label | n | density | g | l2(2s) | coexist | stable | h7(2s) | clean | full | cf | l2(1s) | h7(1s) | coex(1s) | cells | fill% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n6000_g0005 | 6000 | 234.38 | 0.0005 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.10 | 3/4 | 4/4 | 1/4 | 13274 | 51.9% |
| n6000_g001 | 6000 | 234.38 | 0.001 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.12 | 3/4 | 4/4 | 1/4 | 13155 | 51.4% |
| n6000_g003 | 6000 | 234.38 | 0.003 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.10 | 3/4 | 4/4 | 1/4 | 13064 | 51.0% |
| n8000_g0005 | 8000 | 312.50 | 0.0005 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.04 | 3/4 | 4/4 | 1/4 | 15542 | 60.7% |
| n8000_g001 | 8000 | 312.50 | 0.001 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.06 | 3/4 | 4/4 | 1/4 | 15526 | 60.6% |
| n8000_g003 | 8000 | 312.50 | 0.003 | 4/4 | 0/4 | 0/4 | 4/4 | 0/4 | 0/4 | 0.10 | 3/4 | 4/4 | 1/4 | 15642 | 61.1% |
g does NOT hit zero.* The 43rd mechanism confirmed at an eighth density range. H7=4/4 at all 6 plateau combos. The 44th mechanism BREAKS โ the fill cap EXCEEDS the percolation threshold. Fill rises to ~51.9% (n=6000) and ~60.7% (n=8000) โ ABOVE the 2D percolation threshold (~59%). The 6-point log fit underestimates by +4.5% (n=6000) and +11.8% (n=8000); the 10-point Rยฒ=0.875. The 30th mechanism persists: stable 0/4 at ALL 6 combos. The 46th mechanism: the 30th is independent of the 44th. The 1-seed guarantee partially recovers (3/4, vs 4/4 at n=4000โ5000). Composition remains collapsed (coexist 0/4). See n6000_plateau_sweep.py.
No-inhibition control: n=6000 g=0 โ 0/4 coexist, cells=25600 (100% fill). n=8000 g=0 โ 0/4 coexist, cells=25600 (100% fill). The boundary remains necessary at every density.
Session 74 โ Fill Cap Functional Form + Percolation Spanning Cluster
Fill cap functional form โ 16 unique densities (n=550 to n=8000) fit to 5 candidate forms:
| Fit | Rยฒ (all 16) | Rยฒ (sub-perc, nโค5000) | n=8000 residual |
|---|---|---|---|
| Log | 0.933 | 0.988 | +9.5% |
| Power law | 0.950 | 0.977 | +7.6% |
| Power-in-log | 0.939 | โ | โ |
| Stretched exp | 0.964 โ | 0.921 | +1.5% |
| Sqrt-linear | 0.962 | 0.948 | โ |
The fill cap is super-logarithmic โ no simple closed-form law fits all 16 points. The stretched exponential (fill% = 26.7ยทexp(0.0089ยทโn)) is the best all-16-point fit. The sub-percolation log fit (Rยฒ=0.988) underestimates n=8000 by +9.5%. The increment analysis reveals acceleration: +3.4% (n=5000โ6000), +9.4% (n=6000โ8000). See output/fill_cap_form_fit.json.
Percolation spanning cluster โ n=8000 (3 gains ร 4 seeds) + n=6000 (1 gain ร 4 seeds) + 2 no-inhibition controls:
| Label | Mean Fill% | Mean #Comp | Mean Largest | Mean %Largest | Spanning |
|---|---|---|---|---|---|
| n8000_g001 | 58.7% | 139 | 10766 | 71.4% | 4/4 |
| n8000_g0005 | 58.8% | 139 | 7181 | 47.7% | 4/4 |
| n8000_g003 | 59.1% | 158 | 10764 | 70.9% | 4/4 |
| n6000_g001 | 50.6% | 106 | 6258 | 48.3% | 4/4 |
| n8000_no_inhib | 100.0% | 1 | 25600 | 100.0% | 4/4 |
| n6000_no_inhib | 100.0% | 1 | 25600 | 100.0% | 4/4 |
The percolation at n=8000 is GENUINE โ all 12 runs have spanning clusters. The largest component fraction is bimodal: 6/12 have giant components (93โ95%), 6/12 have two near-equal halves (~48%). The 47th mechanism: the bimodal largest-component fraction is the percolation order parameter โ the 44th mechanism's breakdown is a genuine phase transition. See percolation_spanning.py and output/percolation_spanning.json.