关于「睡眠开关:为什么衰老先让夜晚破碎,再让它变短」,《睡眠的算术》给出的定量结论是什么?
结论:第二章把 VLPO 与单胺能核团的相互抑制写成触发器:削弱抑制使双稳态余量从 0.655 缩到零;加入噪声后睡着的时间只从 0.989 降到 0.908,每夜觉醒却从 0.12 次增到 35.40 次——衰老先让夜晚破碎,再让它变短。
数据口径:本书不是医疗建议,不给任何剂量,不推荐任何产品;持续失眠的一线治疗是失眠的认知行为疗法。 书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说;除注明的文献外,书中数据都是合成的。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.12, 0.908, 0.989, 35.40
| mean of 200 nights | |
| inhibition w orexin O time asleep awakenings per night | |
| 1.5 | 0.3 1.000 0.00 |
| 1.0 | 0.3 0.933 0.01 |
| 0.7 | 0.3 0.640 13.29 |
| 0.5 | 0.3 0.546 59.19 |
| 1.5 | 0.0 1.000 0.00 |
| 1.0 | 0.0 0.989 0.12 |
| 0.7 | 0.0 0.938 10.61 |
| 0.5 | 0.0 0.908 35.40 |
| Reading (orexin O | 0 rows): weakening the mutual inhibition from 1.0 to |
| 0.5 costs less than a tenth of the time asleep but multiplies the | |
| awakenings - the night fragments long before it shortens. With orexin left | |
| active at night (O | 0.3 rows) the wake side is held too firmly and sleep |
| is lost outright. |
核心公式
\[\frac{dx}{dt} = -x + f(c + D - w\,y),\]
查看完整验算程序
# Chapter 2. The same switch with noise, over one 8-hour night. Sleep drive is
# high at lights-out and falls through the night as Process S decays: D(t) =
# 0.45 x exp(-t/4.2)
# - 0.05 (t in hours). Each population receives independent noise
# (Ornstein-Uhlenbeck,
# sd 0.12, correlation time 30 s). "Asleep" means x > y. A wake bout of at
# least 15 s counts as an awakening. Weaker mutual inhibition w stands for
# loss of VLPO neurons. 200 simulated nights per row, fixed seed; dt = 1 s.
import math
import random
def f(u):
return 1.0 / (1.0 + math.exp(-u / 0.1))
def night(w, O, rng, sd=0.12, tau_n=30.0, tau=10.0):
x, y = 1.0, 0.0
nx = ny = 0.0
a = math.exp(-1.0 / tau_n)
b = sd * math.sqrt(1 - a * a)
asleep_s, awakenings, wake_run, state = 0, 0, 0, True
for s in range(8 * 3600):
t = s / 3600.0
D = 0.45 * math.exp(-t / 4.2) - 0.05
nx = a * nx + b * rng.gauss(0, 1)
ny = a * ny + b * rng.gauss(0, 1)
x += (-x + f(0.5 + D - w * y + nx)) / tau
y += (-y + f(0.5 - D - w * x + O * y + ny)) / tau
if x > y:
asleep_s += 1
if not state and wake_run >= 15:
awakenings += 1
state, wake_run = True, 0
else:
state = False
wake_run += 1
return asleep_s / (8 * 3600), awakenings
if __name__ == "__main__":
rng = random.Random(57004)
print(" mean of 200 nights")
print(" inhibition w orexin O time asleep awakenings per night")
for O in (0.3, 0.0):
for w in (1.5, 1.0, 0.7, 0.5):
res = [night(w, O, rng) for _ in range(200)]
fa = sum(r[0] for r in res) / len(res)
aw = sum(r[1] for r in res) / len(res)
print(
" {:8.1f} {:5.1f} {:7.3f} {:7.2f}"
.format(w, O, fa, aw)
)
print("\nReading (orexin O = 0 rows): weakening the"
" mutual inhibition from 1.0 to")
print("0.5 costs less than a tenth of the time asleep but multiplies the")
print("awakenings - the night fragments long before"
" it shortens. With orexin left")
print("active at night (O = 0.3 rows) the wake side"
" is held too firmly and sleep")
print("is lost outright.")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《双过程睡眠架构、慢波胶质淋巴清除与体温节律相位控制》第 2 章「睡眠开关:为什么衰老先让夜晚破碎,再让它变短」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090162
DOI: 10.5281/zenodo.24090162 · 阅读本章所在专著 · 5DL-B-057 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026057,
author = {Fan, Yafu},
title = {Two-Process Sleep Architecture, Slow-Wave Glymphatic Clearance and Thermoregulatory Phase Control},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090162},
url = {https://doi.org/10.5281/zenodo.24090162}
}