关于「以妄为常」,《耦合振荡、扁平化与恢复动力学》给出的定量结论是什么?
结论:第七章与《素问·上古天真论》「以妄为常」「不知持满」及张介宾论命门水火并读:就寝时刻的标准差必须在 21 分钟以内,才有九成五的日子落在一小时的窗口内;而稳定能力等于一减去 3.6000 乘以所求产出,产出超过 0.2778 时没有任何稳态。
数据口径:书中参数均为示意或合成;全部数字由书中程序产生;本书不是医疗建议,不作诊断。 书中以标注框区分已发表的证据、可运行的 Python 计算(十六段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.95, 21
the pull back towards the anchor is 0.28 a day predicted spread is the bedtime spread divided by the square root of one minus the square of one minus the pull that divisor is 0.6940 bedtime sd h phase sd h predicted days outside 1.0 h 0.25 0.3602 0.3602 0.0054 0.50 0.7197 0.7205 0.1647 1.00 1.4398 1.4410 0.4864 1.50 2.1622 2.1615 0.6437 2.00 2.8786 2.8820 0.7274 the spread grows in proportion to the bedtime spread, so the chance of being outside the window is set by the ratio of the two and nothing else bedtime sd that keeps 0.95 of days inside the window: 0.352 hours, which is 21 minutes so a bedtime that wanders by more than about that much cannot be anchored by anything done in the morning, and the classical complaint is about the wandering and not about any one late night
查看完整验算程序
# Chapter 7. p13: Taking the irregular as the rule. The Suwen's
# complaint about people who take the reckless as their norm is, read
# narrowly, a claim about variance rather than about any single bad
# night. Model the phase as pulled back towards its anchor each day by a
# fraction of its error, with a fresh random disturbance added by that
# night's bedtime. The error then has a steady-state spread that depends
# on the disturbance and on the pull, and the chance of being outside a
# tolerable window follows from it. Four thousand people, 400 days each,
# seed 97, so the figures repeat exactly.
import random
SEED, PEOPLE, DAYS = 97, 4000, 400
PULL = 0.28 # share of the error corrected each day
WINDOW = 1.0 # hours of error a person tolerates
SDS = (0.25, 0.50, 1.00, 1.50, 2.00) # bedtime spread in hours
def run(rng, sd):
phase = 0.0
out = []
for d in range(DAYS):
phase = phase * (1.0 - PULL) + rng.gauss(0.0, sd)
if d > DAYS // 2:
out.append(phase)
return out
def spread(values):
m = sum(values) / len(values)
return (sum((v - m) ** 2 for v in values) / (len(values) - 1)) ** 0.5
if __name__ == "__main__":
print(" the pull back towards the anchor is {:.2f} a day".format(PULL))
print(" predicted spread is the bedtime spread divided by the")
print(" square root of one minus the square of one minus the pull")
factor = (1.0 - (1.0 - PULL) ** 2) ** 0.5
print(" that divisor is {:.4f}".format(factor))
print(" bedtime sd h phase sd h predicted days outside"
" {:.1f} h".format(WINDOW))
rng = random.Random(SEED)
for sd in SDS:
allv = []
outside = 0
for _ in range(PEOPLE):
v = run(rng, sd)
allv.extend(v)
outside += sum(1 for x in v if abs(x) > WINDOW)
n = len(allv)
print(" {:<15.2f}{:<13.4f}{:<12.4f}{:.4f}"
.format(sd, spread(allv), sd / factor, outside / n))
print(" the spread grows in proportion to the bedtime spread, so")
print(" the chance of being outside the window is set by the ratio")
print(" of the two and nothing else")
print(" bedtime sd that keeps 0.95 of days inside the window:")
lo, hi = 0.05, 3.0
for _ in range(26):
mid = 0.5 * (lo + hi)
r2 = random.Random(SEED + 1)
bad = tot = 0
for _ in range(300):
v = run(r2, mid)
bad += sum(1 for x in v if abs(x) > WINDOW)
tot += len(v)
if bad / tot < 0.05:
lo = mid
else:
hi = mid
print(" {:.3f} hours, which is {:.0f} minutes"
.format(0.5 * (lo + hi), 0.5 * (lo + hi) * 60.0))
print(" so a bedtime that wanders by more than about that much")
print(" cannot be anchored by anything done in the morning, and")
print(" the classical complaint is about the wandering and not")
print(" about any one late night")唯一数据源与引用
范雅福(Fan, Y.). (2026). 《下丘脑垂体肾上腺轴耦合振荡、皮质醇觉醒反应扁平化与倦怠恢复动力学》第 7 章「以妄为常」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090252
DOI: 10.5281/zenodo.24090252 · 阅读本章所在专著 · 5DL-B-097 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026097,
author = {Fan, Yafu},
title = {HPA-Axis Coupled Oscillations, Cortisol Awakening Response Flattening and Burnout Recovery Kinetics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090252},
url = {https://doi.org/10.5281/zenodo.24090252}
}