What does Sub-Perceptual Tryptamine Kinetics conclude, in numbers, about “The Plasticity Window: A Gate, Not a Drive”?
Answer: The evidence for structural plasticity is real: increases in dendritic spines and dendritic complexity in cultured neurons and animals, and rapid, persistent spine growth on in vivo imaging. There are two mechanistic surprises: the synaptic and behavioural effects in mice are not blocked by a 5-HT2 antagonist, and these compounds bind TrkB directly — both pointing to a route that bypasses 5-HT2A and making dose reasoning built on receptor occupancy less applicable. The critical-period framing gives the chapter's main result: the window is a gate and not a drive — in the model, with no input the synaptic weight stays at 0 however wide the window, so a measurement of the window cannot predict whether anything was learned. The latency of the input matters far more than its duration: two days beginning at the exposure reach 78 % of the best case, delayed to days 4–6 only 6 %, while extending two days to seven adds about 28 %. The schedule that matters is therefore practice relative to exposure, not dosing. A model combining the window with the receptor ratchet would need the unmeasured recovery half-life, and the book does not write it.
Scope of the numbers: It is not medical advice and is not a guide to using anything. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 28, 78
| One exposure at day 0. Window half-life varied. The input ('practice') is | |
| present on days 0-2 in the first block and absent in the second. | |
| window half-life (d) peak W AUC of W AUC of W x I final S | |
| 0.25 | 0.311 0.120 0.120 0.0717 |
| 0.50 | 0.320 0.240 0.224 0.1285 |
| 1.00 | 0.326 0.478 0.357 0.1936 |
| 2.00 | 0.328 0.955 0.474 0.2451 |
| 4.00 | 0.329 1.899 0.554 0.2774 |
| Same exposures, NO input at all: | |
| window half-life (d) peak W AUC of W AUC of W x I final S | |
| 0.25 | 0.311 0.120 0.000 0.0000 |
| 0.50 | 0.320 0.240 0.000 0.0000 |
| 1.00 | 0.326 0.478 0.000 0.0000 |
| 2.00 | 0.328 0.955 0.000 0.0000 |
| 4.00 | 0.329 1.899 0.000 0.0000 |
| The window is identical in the two blocks - same peak, same area - and | |
| the weight ends at 0 in the second. A measurement of the window (a | |
| marker, spine density, a plasticity assay) therefore cannot predict | |
| whether anything was learned; it reports that the gate was open. | |
| Timing of the input relative to a window of half-life 1 day: | |
| input window (days) AUC of W x I final S S relative to best | |
| day 0 to 2 | 0.357 0.1936 78.4% |
| day 1 to 3 | 0.182 0.1078 43.6% |
| day 2 to 4 | 0.091 0.0568 23.0% |
| day 4 to 6 | 0.023 0.0150 6.1% |
| day 7 to 9 | 0.003 0.0020 0.8% |
| day 0 to 7 | 0.474 0.2471 100.0% |
| What matters is LATENCY, not duration. Two days of input starting at |
Key formula
Show the full program
# Chapter 6. A "window of plasticity", written as a two-state model, and what
# a window can and cannot do on its own. A plasticity-permissive state W opens
# after an exposure and closes with rate kc; synaptic weight S changes only
# while W is open AND an input I is present:
# dW/dt = a * stim(t) * (1 - W) - kc * W
# dS/dt = eta * W * I(t) * (target - S) - decay * S
# The point is in the second equation: the window is a GATE, not a drive. With
# I = 0 the weight does not move however wide the window. So "a window was
# opened" is not by itself a mechanism of benefit, and the thing that has to
# be scheduled is the input, not only the exposure. Author's model;
# dimensionless; time in days.
import math
DT = 0.001
A_STIM, ETA, DECAY, TARGET = 8.0, 0.9, 0.012, 1.0
def run(open_half_life, inputs, exposures=(0.0,), t_end=30.0, input_amp=1.0):
"""inputs: list of (start, duration) in days when the practice/input is
present."""
kc = math.log(2.0) / open_half_life
W, S = 0.0, 0.0
peakW, auc_W, auc_WI = 0.0, 0.0, 0.0
for i in range(int(t_end / DT)):
t = i * DT
stim = 1.0 if any(abs(t - e) < 0.05 for e in exposures) else 0.0
I = input_amp if any(s <= t < s + d for s, d in inputs) else 0.0
W += DT * (A_STIM * stim * (1.0 - W) - kc * W)
S += DT * (ETA * W * I * (TARGET - S) - DECAY * S)
peakW = max(peakW, W)
auc_W += W * DT
auc_WI += W * I * DT
return peakW, auc_W, auc_WI, S
if __name__ == "__main__":
print(
"One exposure at day 0. Window half-life varied. The input"
" ('practice') is"
)
print(
"present on days 0-2 in the first block and absent in the second.\n"
)
print(
" window half-life (d) peak W AUC of W AUC of W x I final S"
)
for hl in (0.25, 0.5, 1.0, 2.0, 4.0):
pw, aw, awi, S = run(hl, inputs=[(0.0, 2.0)])
print(
" {:20.2f} {:9.3f} {:10.3f} {:14.3f} {:9.4f}".format(
hl, pw, aw, awi, S
)
)
print("\n Same exposures, NO input at all:")
print(
" window half-life (d) peak W AUC of W AUC of W x I final S"
)
for hl in (0.25, 0.5, 1.0, 2.0, 4.0):
pw, aw, awi, S = run(hl, inputs=[])
print(
" {:20.2f} {:9.3f} {:10.3f} {:14.3f} {:9.4f}".format(
hl, pw, aw, awi, S
)
)
print(
"\n The window is identical in the two blocks - same peak, same"
" area - and"
)
print(
" the weight ends at 0 in the second. A measurement of the"
" window (a"
)
print(
" marker, spine density, a plasticity assay) therefore cannot"
" predict"
)
print(
" whether anything was learned; it reports that the gate was open."
)
print("\nTiming of the input relative to a window of half-life 1 day:")
print(
" input window (days) AUC of W x I final S S relative to best"
)
rows = []
for start, dur in (
(0.0, 2.0),
(1.0, 2.0),
(2.0, 2.0),
(4.0, 2.0),
(7.0, 2.0),
(0.0, 7.0),
):
pw, aw, awi, S = run(1.0, inputs=[(start, dur)])
rows.append((start, dur, awi, S))
best = max(r[3] for r in rows)
for start, dur, awi, S in rows:
print(" day {:.0f} to {:.0f} {:20.3f} {:9.4f} {:17.1%}"
.format(start, start + dur, awi, S, S / best))
d02 = [r for r in rows if r[0] == 0.0 and r[1] == 2.0][0][3]
d07 = [r for r in rows if r[1] == 7.0][0][3]
d46 = [r for r in rows if r[0] == 4.0][0][3]
d79 = [r for r in rows if r[0] == 7.0][0][3]
print(
"\n What matters is LATENCY, not duration. Two days of input"
" starting at"
)
print(
" the exposure reaches {:.0%} of the best case; the same two days"
" delayed".format(d02 / best)
)
print(
" to days 4-6 reaches {:.0%} and to days 7-9 {:.0%}. Extending the"
" input".format(d46 / best, d79 / best)
)
print(
" from two days to seven adds only {:+.0%}, because the window has"
" closed".format(d07 / d02 - 1.0)
)
print(
" and the extra days fall outside it. So within this model there"
" is a"
)
print(
" schedule that matters, and it is a schedule of PRACTICE"
" relative to"
)
print(
" exposure - not the dosing schedule that popular accounts discuss."
)
print(
"\nRepeated exposures with input always present, window half-life 1"
" day:"
)
print(" exposures (days) final S")
for label, ex in (("day 0 only", (0.0,)), ("days 0, 3", (0.0, 3.0)),
("days 0, 3, 6", (0.0, 3.0, 6.0)),
("days 0, 1, 2, 3", (0.0, 1.0, 2.0, 3.0))):
pw, aw, awi, S = run(1.0, inputs=[(0.0, 30.0)], exposures=ex)
print(" {:18s} {:9.4f}".format(label, S))
print(
"\n NOTE what this model does NOT include: any dependence of the"
" window on"
)
print(
" receptor density. Chapter 4 showed receptors ratchet down under"
" tight"
)
print(
" schedules, so a model combining the two would predict diminishing"
)
print(
" windows. Writing that model requires the recovery half-life"
" tau_R, which"
)
print(
" is unmeasured, so this book does not write it and does not"
" report a"
)
print(" number for the best schedule.")Single source and citation
Fan, Y. (2026). Biomathematical Models of Sub-Perceptual Tryptamine Pharmacokinetics, 5-HT2A Receptor Desensitisation and Neuroplastic Window Dynamics (Version 1.0.0), Chapter 6: The Plasticity Window: A Gate, Not a Drive. 5D Library. https://doi.org/10.5281/zenodo.24019347
DOI: 10.5281/zenodo.24019347 · Read the monograph · 5DL-B-054 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026054,
author = {Fan, Yafu},
title = {Biomathematical Models of Sub-Perceptual Tryptamine Pharmacokinetics, 5-HT2A Receptor Desensitisation and Neuroplastic Window Dynamics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24019347},
url = {https://doi.org/10.5281/zenodo.24019347}
}Other chapter answers in this book
- Chapter 1 · Receptor Occupancy: No Corner, Therefore No Threshold
- Chapter 2 · Prodrugs and Saturable Conversion: Saturation Blunts the Peak
- Chapter 3 · Coupling Kinetics to Effect: The Perceptual Threshold Is Not a Number
- Chapter 4 · Downregulation and the Tolerance Ratchet: Each Dose Less, the Total More
- Chapter 5 · Connectivity Entropy: Indistinguishable from Noise
- Chapter 7 · Classical Sources Read Side by Side: "Begin Like a Millet Grain" and the Boundary of Dose
- Chapter 8 · Practice and a Pre-Registered Test