Update 2026-06-11-tripartite_synapse_v6.md

This commit is contained in:
2026-06-11 16:58:23 +02:00
parent 755f558a17
commit 89cf28928f
@@ -894,6 +894,13 @@ NIGHT — {component}_material (slow structural proteins, RECOVERABLE):
# Flows
Per ora abbiamo in DAY il {component}_budget che raggruppa energy e material, e in NIGHT {component}_energy e {component}_material.
This maps onto a real biological distinction. The astrocyte's lactate and the soma's ATP fund the running costs of the cell — everything that needs to happen just to keep the system operating from moment to moment. CREB-driven protein synthesis funds the capital investment — the slow, expensive structural changes that modify what the running system is capable of. These are two different budgets in the biological sense: operating expenditure versus capital expenditure. Combining them within DAY is correct because DAY is entirely operating expenditure. Keeping them separate in NIGHT is correct because NIGHT mixes operating expenditure with capital expenditure, and only the capital component is recoverable.
Combining {component}_energy e {component}_material would hide the fact that dismantling a structure recovers biological building blocks but not the work that was done to assemble them — which is the thermodynamic reality of any construction and deconstruction process.
## Energy flow
```
@@ -929,3 +936,97 @@ ASTROSYNAPSE
→ astro_material (Glypicans, Thrombospondins, serine for D-serine)
→ cleft environment (ECM sealing, D-serine availability)
```
Yes, exactly. This is the essential abstract pattern. Let me state it precisely.
# The Abstract Pattern
A component operates within a structure set by the previous NIGHT. During DAY, in each context, it executes behaviors that cost budget and deposit fast traces. Fast traces are local records of recent activity that bias the next behavior and open an eligibility window for tagging. A tag forms when a local eligibility signal coincides with one or more non-local validation signals within the decay window of the trace — the number of required coincidences reflecting the spatial scale at which that component sits in the system. In contexts without triggering input, all traces decay, closing the windows they opened. At NIGHT, the tag magnitude drives a structural commit proportional to available material and energy — material being recoverable and energy not — with the structural change becoming the new ceiling within which the next DAY's behaviors will operate. What is not committed decays for lack of maintenance, and the resources freed by that decay partially fund the potentiation of what was.
## DAY — The General Form
Every DAY behavior follows this template:
```
given: STRUCTURE // the architectural ceiling left by NIGHT
in: CONTEXT // local or global triggering condition
if: BUDGET > cost // operational resources available
then: behavior executes
BUDGET -= cost // resources consumed
FAST_TRACE += f(behavior) // local record deposited
```
The fast trace then drives two parallel processes:
**Within the same context** — the trace biases the next execution of the same behavior. This is the short-term modulation loop. It is entirely local and requires no external signal.
**Across contexts** — the trace accumulates into `possible_tagging` when it exceeds the eligibility threshold. This is the bridge toward long-term change. It requires the trace to be sustained enough to survive into the NOT_AP or CONTINUOUS context.
### The Tag Formation — Where Non-Locality Enters
The abstract pattern for tag formation generalizes across all components but with different **coincidence requirements**:
**PRE, DEND, SOMA, AXON, ASTRO — one non-local coincidence:**
```
if FAST_TRACE > eligibility // local: this bouton was recently active
AND dopamine > threshold // non-local: organism-level reward signal
then: TAG += dopamine × possible_tagging
```
One spatial scale beyond the local component is required. The organism must confirm that the recent activity was worth saving.
**POST — two non-local coincidences:**
```
// First coincidence (NOT_bAP context):
if FAST_TRACE > Ca_TAG_threshold // local: spine Ca²⁺ was high
AND D-serine > threshold // non-local 1: astrosynapse co-agonist
then: post_possible_tagging += FAST_TRACE // CANDIDATE
// Second coincidence (bAP context):
if post_possible_tagging > threshold // local: CANDIDATE still present
AND bAP arrives // non-local 2: soma fired
then: FAST_TRACE amplified above Ca_HIGH
// Tag stabilization (any context):
if post_possible_tagging > threshold // local: confirmed coincidence
AND dopamine > threshold // non-local 3: organism validation
then: TAG += dopamine × post_possible_tagging // STABLE
```
Three spatial scales must align: astrosynapse, soma, organism. The postsynapse is the most constrained component — it requires the most non-local validation before committing.
### Trace Recession — The Temporal Behavior
In every NOT_AP or CONTINUOUS context, all traces decay:
```
FAST_TRACE *= decay(τ_fast) // ms to seconds — closes eligibility window
possible_tagging *= decay(τ_mid) // seconds to minutes — closes tagging window
TAG *= decay(τ_slow) // hours — closes commitment window
```
The decay is not a separate behavior — it is the passive consequence of molecular processes. But its effect is behavioral: it enforces that coincidences must happen within specific time windows. The system does not check timing explicitly — timing is enforced by the competition between accumulation and decay.
## NIGHT — The General Form
```
given: TAG // strength of DAY evidence for this component
STRUCTURE // current architectural state
if: TAG > threshold // evidence strong enough to justify investment
then:
Δstructure = min(expansion_cost,
MATERIAL, // slow structural resources available
ENERGY × fraction) // assembly ATP available
STRUCTURE += Δstructure × coherence_bonus
MATERIAL -= Δstructure // RECOVERABLE after LTD
ENERGY -= Δstructure × ATP_cost // NOT recoverable
```
The coherence bonus appears when pre, post, and astro tags are all SET simultaneously — the three components of the synapse have all independently gathered evidence for the same structural change, which amplifies the commit beyond what any single tag would produce alone.
What is not potentiated passively decays:
```
STRUCTURE -= decay_rate × Δt_night
STRUCTURE += min(maintenance_allocation, maintenance_cost)
// if maintenance_allocation < decay_rate × Δt_night:
// structure drifts down — depotentiation by neglect
```