This commit is contained in:
2026-06-22 16:35:11 +02:00
parent 955f572774
commit bec6e8f09d
3 changed files with 376 additions and 253 deletions
@@ -1,187 +1,250 @@
# The Abstract Pattern
A component operates within two ceilings set by the previous NIGHT: a **structure** that bounds how strongly each behavior can act, and a **budget capacity** that bounds how much fuel the component can hold. Both ceilings bound an active, competitive DAY process — structure bounds how far behavior strength can be filled toward its maximum, budget capacity bounds how far fuel can be replenished toward its maximum — and in both cases the filling competes against other components for a shared resource. During DAY, in each context, the component executes behaviors that draw on budget and deposit fast traces. Two kinds of evidence accumulate: a **tag**, when a local eligibility signal coincides with non-local validation, driving *strength*; and an **endurance need**, when budget depletion interrupts a behavior on a successful trajectory, driving *endurance*. At NIGHT, tags raise structure and endurance needs raise budget capacity, both proportional to available material and energy, both drawing from the same finite pool, so that strength and endurance compete. What is not committed decays for lack of maintenance, and the resources freed partially fund what was.
A component operates within two ceilings set by the previous NIGHT: a **structure** that
bounds how strongly each behavior can act, and a **budget capacity** that bounds how much fuel
it can hold. Both ceilings bound an active, competitive DAY process and are raised at NIGHT by
two kinds of evidence — a **tag** (a local eligibility signal coinciding with non-local
validation, driving strength) and an **endurance need** (budget depletion interrupting a
locally successful trajectory, driving endurance). Strength and endurance draw on the same
finite material and energy, so they compete; what is not committed decays for lack of
maintenance, and the freed resources partially fund what was.
Everything a component does — in DAY and in NIGHT alike — is an instance of one grammar of
eight functional groups. This is the common template. Each component differs only in how it
fills the groups, never in their structure.
---
## DAY — The General Form
Every DAY behavior runs within two ceilings and competes for two shared resources.
## The Grammar
```
given: STRUCTURE // bounds behavior strength (ceiling from NIGHT)
BUDGET_CEILING // bounds fuel capacity (ceiling from NIGHT)
in: CONTEXT // local or global triggering condition
if: BUDGET >= cost // operational fuel available
then: behavior executes, strength bounded by STRUCTURE
BUDGET -= cost
FAST_TRACE += f(behavior) // local record deposited
else: behavior suppressed // fuel was the limit
if behavior was ON A SUCCESSFUL TRAJECTORY:
ENDURANCE_NEED += g(trajectory) // fuel interrupted a forming success
RECEIVE take in resources + signals that arrived from outside
EVALUATE judge behavior — strength (needs dopamine) + endurance (interrupted success)
ADJUST compute local operating parameters from structure + traces + modulators
BEHAVE the component's defining action, within both ceilings
EMIT send out — signals (messages) and resources (shipments) across the boundary
TRACE deposit the fast trace that records the behavior
RECOVER refill own private pools consumed by behaving
DECAY let traces recede, closing their windows
```
Two competitive DAY processes fill the two ceilings:
The grammar runs at two timescales. In **DAY** it operates on occupancy *within* the ceilings:
fast traces, budgets, behaviors. In **NIGHT** it operates on the *ceilings themselves*:
material, energy, structure, budget capacity. Same eight groups, two scopes — which is the
capacity-versus-occupancy principle written into the shape of the process.
**Strength filling (bounded by STRUCTURE).** Behavior strength rises toward the structural ceiling by competing for local occupancy resources — receptors at the postsynapse, vesicles at the presynapse. A behavior cannot act more strongly than its structure permits, because the occupancy it draws on is itself bounded by the structure.
**Fuel replenishment (bounded by BUDGET_CEILING).** Fuel rises toward the budget ceiling by competing for shared upstream supply — astrocyte lactate, soma shipment. Each component's claim is the gap between its current budget and its ceiling; the shared supply is rationed by these claims:
```
// competitive replenishment — the ceiling bounds the process via the demand
c_demand = BUDGET_CEILING - BUDGET // gap below ceiling = claim on supply
total_demand = sum(c_demand for components on shared supply S)
allocation_factor = min(1, S / (total_demand + ε))
replenishment = c_demand × allocation_factor // rationed share
BUDGET += replenishment // never exceeds ceiling (demand was the gap)
S -= replenishment
```
Neither ceiling is applied as a clamp. Each bounds its process from within: structure is the thing being filled with occupancy, budget_ceiling is the target the replenishment demand reaches toward. A high budget_ceiling is not free even during DAY — it makes a large standing claim on shared fuel, and the component reaches it only if the supply can satisfy that claim against competing claims.
The fast trace drives two parallel processes; depletion drives a third.
**Within the same context** — the fast trace biases the next execution of the same behavior. Short-term modulation. Local, no external signal.
**Across contexts** — the fast trace accumulates into `possible_tagging` above the eligibility threshold. The bridge toward strength. Requires the trace to survive into a NOT/CONTINUOUS context.
**On depletion** — when budget gates a behavior that was succeeding, `endurance_need` accumulates. The bridge toward endurance. Requires the depletion to have interrupted something valuable, not merely to have occurred.
A strict locality rule governs every group: a component uses only its own state and signals
that have physically arrived. It never reads another compartment's interior. All
cross-compartment influence travels through RECEIVE (signals in) and EMIT (signals out).
---
### Tag Formation — Non-Local Coincidence (drives STRENGTH)
## DAY — The Grammar on Occupancy
Strength is associative. The tag requires local eligibility plus non-local validation, the number of coincidences set by the component's spatial scale.
### RECEIVE — what arrived becomes local
Resources arrive by two filling disciplines, each bounded by a ceiling through the *gap* it
leaves, never by a post-hoc clamp:
**PRE, DEND, SOMA, AXON, ASTRO — one non-local coincidence:**
```
if FAST_TRACE > eligibility and dopamine > threshold:
TAG += dopamine × possible_tagging
// CONTESTED supply (astrocyte lactate, shipments) — rationed by competing demands
demand = BUDGET_CEILING - BUDGET // the gap is the claim
factor = min(1, S / (Σ demand on S + ε))
BUDGET += demand × factor; S -= demand × factor // never exceeds the ceiling
// PRIVATE reserve (own vesicle pool, own mitochondria) — uncontested, rate-limited
POOL += min(rate, CEILING - POOL) × Δt
```
**POST — three coincidences (astrosynapse, soma, organism):**
Signals arrive as channel reads — forward transmitter, the co-agonist gate, retrograde
messengers, neuromodulatory broadcast. A read signal is latched into a local copy; the channel
itself decays. A high budget ceiling is therefore not free even in DAY: it makes a large
standing claim on contested supply, satisfiable only by out-competing neighbours.
### EVALUATE — the two evidence streams
Two independent judgments, each using only local state and arrived signals.
**Strength (associative, needs dopamine).** A tag forms when local eligibility coincides with
non-local validation; the number of coincidences set by the component's spatial scale.
```
// 1. NOT_bAP: local Ca²⁺ + astrosynapse D-serine → CANDIDATE
if FAST_TRACE > Ca_TAG_threshold and D-serine > threshold:
post_possible_tagging += FAST_TRACE
// 2. bAP: CANDIDATE + soma fired → amplified above Ca_HIGH
if post_possible_tagging > threshold and bAP arrives:
FAST_TRACE += bAP_boost
// 3. any context: CANDIDATE + dopamine → STABLE
if post_possible_tagging > threshold and dopamine > threshold:
TAG += dopamine × post_possible_tagging
// most components — one non-local coincidence
if FAST_TRACE > elig and dopamine > dop_thr:
TAG += dopamine × possible_tag
// POST — three coincidences (astrosynapse gate, soma bAP, organism dopamine)
if FAST_TRACE > Ca_TAG and astro_Dserine > thr: possible_tag += FAST_TRACE // CANDIDATE
if possible_tag > thr and bAP arrives: FAST_TRACE += bAP_boost // confirm
if possible_tag > thr and dopamine > dop_thr: TAG += dopamine × possible_tag // STABLE
```
**Endurance (homeostatic, no dopamine).** A need forms when depletion interrupts a *locally*
successful trajectory. "Successful" is each component's own local proxy — never a read of
another compartment, optionally amplified by a retrograde signal that has arrived.
```
if BUDGET < cost and LOCAL_SUCCESS_PROXY > traj_thr:
ENDURANCE_NEED += LOCAL_SUCCESS_PROXY × (1 + arrived_feedback)
```
Local success proxies: PRE — own strong release (amplified by retrograde NO that POST
emitted); POST — own calcium climbing toward the tag; DEND — own branch strongly active when
propagation fell short; SOMA — own nuclear calcium approaching CREB; AXON — own strong
propagation load; ASTRO — own high glutamate/clearance demand when synthesis ran out. Same
shape everywhere — fuel ran out at the verge of the component's *own* success — only the proxy
differs.
### ADJUST — set the operating parameters
From structure (the ceiling), the current traces, and arrived modulators, the component
computes the parameters that govern this step's behavior:
```
parameter = f(STRUCTURE, FAST_TRACE, modulators, arrived_signals)
```
PRE — release drive from residual calcium and the received DSE brake; POST — AMPA drive from
arrived glutamate; SOMA — firing threshold from baseline × adaptation × neuromodulators, plus
the refractory gate; AXON — propagation reliability from structure minus load-driven failure;
ASTRO — lactate-allocation weights across the territory. ADJUST is where the NIGHT-built ceiling
silently shapes the moment: the same structure that bounds the maximum also tunes the
transfer function.
### BEHAVE — the defining action, within both ceilings
```
if BUDGET >= cost:
behavior executes, strength bounded by STRUCTURE // fills occupancy toward the ceiling
BUDGET -= cost
else:
behavior suppressed // fuel was the binding constraint
// → endurance EVALUATE fires here if the interrupted trajectory was locally succeeding
```
Behavior fills occupancy — receptors to the surface, vesicles to docking slots — toward the
structural ceiling. When the driving trace decays, occupancy passively drifts back: short-term
depression is the *absence* of drive, never a signalled act.
### EMIT — send signals and resources outward
The component writes its outputs into shared channels: the forward transmitter into the cleft,
retrograde messages back, integrated voltage onward, shipments to downstream pools (rationed by
the downstream component's propagated demand). EMIT and RECEIVE are the only boundary crossings;
together they make locally-computing components into a communicating whole.
### TRACE — record the behavior
```
FAST_TRACE += f(behavior)
```
Where a fast trace both *drives* and *records* a behavior (residual calcium at the presynapse),
TRACE precedes ADJUST; elsewhere it follows BEHAVE. The trace is the system's short-term memory:
it biases the next behavior in the same context and opens the eligibility window for tagging.
### RECOVER — refill private pools
Pools consumed by behaving are refilled from the component's own reserve toward their ceiling,
rate-limited and budget-costed (the presynaptic RRP from the reserve vesicle pool, the soma's
budget from its own mitochondria). Private recovery grants a component autonomy that contested
supply does not.
### DECAY — let the windows close
```
FAST_TRACE *= decay(τ_fast) // mss — closes the eligibility window
possible_tag *= decay(τ_mid) // smin — closes the tagging window
ENDURANCE_NEED *= decay(τ_mid) // smin — closes the endurance window
TAG *= decay(τ_slow) // hours — closes the commitment window
arrived channels *= decay // received signals fade
```
Decay is not an action — it is the passive relaxation that enforces every time window without a
clock. A coincidence must complete, and a depletion must interrupt a success, while the relevant
trace is still elevated. Timing is the competition between accumulation and decay.
---
### Endurance Formation — Interrupted Success (drives ENDURANCE)
## NIGHT — The Same Grammar on Ceilings
Endurance is homeostatic, not associative. It requires depletion plus a successful trajectory, the meaning of "successful" set by the component's local function. **No dopamine.**
NIGHT runs once per cycle and applies the identical grammar to the slow variables.
**RECEIVE** — overnight production at the roots (astrocyte glycolysis, soma CREB synthesis,
soma mitochondria), capped externally by the vascular supply and gated by `soma_tag`.
**ADJUST** — compute the commit weights: the coherence bonus when pre, post and astro tags
align, and the tag-weighted shares for distributing material and energy to competing
astrosynapses, spines, and boutons.
**EMIT** — distribute the produced material and energy down the supply chains
(soma → branch/axon → spine/bouton; astrocyte body → astrosynapses).
**EVALUATE + BEHAVE** — the two commits, drawing on the same finite pool so they compete:
```
if BUDGET < cost and trajectory_was_succeeding:
ENDURANCE_NEED += g(trajectory) // graded by closeness to success
// STRENGTH — driven by tag (validated coincidence)
if TAG > tag_expiry:
Δ = min(slot_cost, MATERIAL, ENERGY × f)
STRUCTURE += Δ × coherence; MATERIAL -= Δ; ENERGY -= Δ × assembly_cost
// ENDURANCE — driven by endurance need (interrupted success); no dopamine, no coherence
if ENDURANCE_NEED > endur_thr:
Δ = min(cap_cost, MATERIAL × f, ENERGY × f)
BUDGET_CEILING += Δ; MATERIAL -= Δ; ENERGY -= Δ × biogenesis_cost
```
Per-component definition of *succeeding*:
- **PRE** — release was driving rising postsynaptic engagement
- **POST** — calcium was climbing toward the tagging threshold
- **DEND** — active spines existed distal to where propagation died
- **SOMA** — nuclear calcium was approaching CREB, or firing was recruiting downstream
- **AXON** — propagation failed to engaged boutons, not idle ones
- **ASTRO** — the postsynapse was depolarized and waiting for D-serine when synthesis ran out
A component that is both significant and fuel-limited demands both commits and is the strongest
claimant on the pool, potentially forcing decay elsewhere.
The signal shape is identical everywhere — fuel ran out at the verge of a valuable outcome — only the local definition of "verge" varies.
---
### Trace Recession — The Temporal Behavior
In every NOT/CONTINUOUS context, all traces decay:
**RECOVER + DECAY** — both ceilings decay by neglect; maintenance from the remaining pool
resists decay only where sufficient. What shrinks returns its **material** (not its energy) to
the pool, partially funding the commits above:
```
FAST_TRACE *= decay(τ_fast) // mss — closes eligibility window
possible_tagging *= decay(τ_mid) // smin — closes tagging window
ENDURANCE_NEED *= decay(τ_mid) // smin — closes endurance window
TAG *= decay(τ_slow) // hours — closes commitment window
STRUCTURE -= decay_rate × Δt; STRUCTURE += min(maint, maint_cost)
BUDGET_CEILING -= capacity_decay_rate × Δt; BUDGET_CEILING += min(cap_maint, cap_cost)
// shortfall → depotentiation by neglect (structure) / mitophagy of idle capacity (budget)
MATERIAL += shrinkage × recycle // energy is gone — not recoverable
```
Decay is not a separate behavior — it is the passive consequence of molecular processes. It enforces time windows without any clock: a coincidence must complete, and a depletion must interrupt a success, while the relevant trace is still elevated. Timing is the competition between accumulation and decay.
---
## NIGHT — The General Form
NIGHT raises two ceilings from two kinds of evidence, both drawing on the same finite material and energy.
**Strength commit — driven by tag (validated coincidence):**
```
if TAG > threshold:
Δstructure = min(expansion_cost, MATERIAL, ENERGY × fraction)
STRUCTURE += Δstructure × coherence_bonus // raises the strength ceiling
MATERIAL -= Δstructure // RECOVERABLE
ENERGY -= Δstructure × ATP_cost // NOT recoverable
```
Coherence bonus when pre, post, and astro tags are all set together — the three synaptic components independently gathered evidence for the same change.
**Endurance commit — driven by endurance need (interrupted success):**
```
if ENDURANCE_NEED > threshold:
Δcap = min(capacity_cost, MATERIAL, ENERGY × fraction)
BUDGET_CEILING += Δcap // raises the endurance ceiling
MATERIAL -= Δcap // RECOVERABLE (mitochondria recyclable)
ENERGY -= Δcap × biogenesis_cost // NOT recoverable
// no coherence bonus, no dopamine — endurance is per-component homeostatic
```
The two commits compete for the same material and energy: building endurance somewhere cannot strengthen elsewhere. A component both significant and fuel-limited demands both and is the strongest claimant, potentially forcing decay elsewhere.
**What is not committed decays — by neglect, for both ceilings:**
```
STRUCTURE -= decay_rate × Δt_night
STRUCTURE += min(structure_maintenance, maintenance_cost)
BUDGET_CEILING -= capacity_decay_rate × Δt_night
BUDGET_CEILING += min(capacity_maintenance, capacity_cost)
// if maintenance < decay: the ceiling drifts down
// structure → depotentiation by neglect
// budget_ceiling → loss of endurance (mitophagy of idle capacity)
// recovered material partially funds the commits above
```
**DECAY (clear)** — fast traces, possible tags, endurance needs, and the soma timing traces
reset; tags below expiry clear, above-expiry tags carry forward for multi-night consolidation;
structure and budget capacity persist as the ceilings the next DAY will operate within.
---
## The Pattern in One View
```
TWO CEILINGS, each bounding a competitive DAY process and raised by NIGHT evidence:
ONE GRAMMAR, EIGHT GROUPS, TWO TIMESCALES
STRUCTURE (strength) bounds behavior strength;
filled in DAY by competing for occupancy;
raised in NIGHT by TAG (validated coincidence)
RECEIVE · EVALUATE · ADJUST · BEHAVE · EMIT · TRACE · RECOVER · DECAY
BUDGET_CEILING (endurance) bounds fuel capacity;
filled in DAY by competing for shared supply;
raised in NIGHT by ENDURANCE_NEED (interrupted success)
DAY runs the grammar on OCCUPANCY within two ceilings:
STRUCTURE (strength) filled by competing for occupancy
BUDGET_CEILING (endurance) filled by competing for shared fuel
EVALUATE yields two evidence streams, both from local state + arrived signals:
fast_trace + dopamine coincidence → TAG (strength)
depletion + interrupted LOCAL success → ENDURANCE_NEED (endurance)
DAY behavior runs within both ceilings, both filled competitively
consumes budget, deposits fast trace
fast trace + non-local coincidence → TAG (evidence for strength)
depletion + interrupted success → ENDURANCE_NEED (evidence for endurance)
traces decay in NOT/CONTINUOUS contexts — windows close
NIGHT runs the SAME grammar on the CEILINGS:
TAG → raise STRUCTURE (per-event power)
ENDURANCE_NEED → raise BUDGET_CEILING (sustainable duration)
both draw the SAME material + energy → strength and endurance compete
unmaintained ceilings decay → recovered material funds the rest
NIGHT TAG → raise STRUCTURE (per-event power)
ENDURANCE_NEED → raise BUDGET_CEILING (sustainable duration)
both draw the SAME material + energy → strength and endurance compete
unmaintained ceilings of either kind decay → freed material funds the rest
LOCALITY every group uses only own state + arrived signals;
RECEIVE and EMIT are the only boundary crossings.
A high ceiling of either kind is never free: structure must be filled by winning
occupancy, budget capacity must be filled by winning shared fuel — both against
competing components, every DAY. The system invests STRENGTH where a valuable
coincidence completed and was validated, and ENDURANCE where fuel — not structure,
not significance — was what stood between activity and success. To be both effective
and sustainable, a connection must win on both, at both timescales, against all
others drawing from the same finite pools.
A high ceiling of either kind is never free: structure must be filled by winning occupancy,
budget capacity by winning shared fuel — both against competing components, every DAY. The
system invests STRENGTH where a validated coincidence completed, and ENDURANCE where fuel —
not structure, not significance — was what stood between a component's own activity and its
own success. To be both effective and sustainable, a connection must win on both, at both
timescales, against all others drawing from the same finite pools.
```
# More details
## SOMA