5D Library › HPA-Axis Coupled Oscillations, Cortisol Awakening Response Flattening and Burnout Recovery Kinetics · 中文
Chapter 7. Taking the Reckless as the Rule
A complaint about variance
The first treatise of the Suwen contrasts the people of high antiquity, who kept to measure, with the people of the present, who take wine for water, make the reckless their norm, and do not know how to hold a thing full (黄帝内经素问 1963). Read as rhetoric it is a complaint about decadence. Read narrowly it is two distinct claims, and one of them is a claim about variance rather than about any single excess.
Source text
The two complaints. The passage of the Suwen’s first treatise names several failings together, and two of them are worth separating. Taking the reckless as the norm is not a claim that one late night is harmful; it is a claim that the irregularity itself, made habitual, is the injury. Not knowing how to hold a thing full is a different claim, about drawing on a reserve without regard for what remains in it, which is the subject of the second half of this chapter. The first can be written as a statement about the spread of a schedule; the second as a statement about a reservoir (黄帝内经素问 1963).
The first claim is testable as it stands. A phase that is pulled back towards its anchor each day and disturbed each night by whenever the person actually went to bed has a steady-state spread, and the chance of being outside a tolerable window follows from it.
Calculation
# 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")
# 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 nightWith a pull of 0.28 a day, the predicted spread of the phase is the bedtime spread divided by 0.6940, and the simulation matches that prediction to four decimals at every level tested. A bedtime spread of a quarter of an hour leaves 0.0054 of days outside an hour-wide window; half an hour leaves 0.1647; an hour leaves 0.4864; two hours leave 0.7274. The bedtime spread that keeps 0.95 of days inside the window is 0.352 hours, which is 21 minutes.
That is the classical complaint stated in modern units, and it is a stricter requirement than most people realise. Twenty-one minutes is not a loose tolerance. It also explains why morning interventions fail in people whose bedtimes wander: the pull back towards the anchor is fixed, so a disturbance large enough cannot be undone by anything applied once a day. The injury is the wandering, not any one late night, exactly as the text says.
A reservoir, and a fire drawn on it
The second complaint is about reserves, and the classical vocabulary for it is Zhang Jingyue’s. His discussion of the gate of life treats it as holding a water and a fire that must be kept in proportion, and warns specifically against drawing the fire while the water is spent (张介宾 1991).
Source text
Water and fire at the gate of life. Zhang Jingyue’s treatment makes the gate of life the seat of both the water and the fire of the body, and insists that neither is to be supplemented without regard to the other. The warning that matters here is the asymmetry: the fire is what produces visible output and the water is what makes the fire sustainable, so a person who is judged by output will draw the fire and will not notice the water until it is gone. Written as arithmetic that is a two-variable system in which the output demanded is produced by a drive acting through a capacity, and the capacity is consumed by the drive (张介宾 1991).
Calculation
# Chapter 7. p14: Fire drawn on an empty reservoir. Zhang Jingyue reads
# the gate of life as holding a water and a fire that must be kept in
# proportion, and warns against drawing the fire while the water is
# spent. Written as arithmetic, that is a two-variable system in which
# the output a person demands is produced by the drive acting through a
# capacity, and the capacity is consumed in proportion to the drive. To
# hold the output steady while the capacity falls, the drive must rise,
# which consumes the capacity faster. The steady state has a closed
# form: the refill must equal the consumption, and because the drive is
# the output divided by the capacity, the consumption does not depend on
# the capacity at all. So the steady capacity is one minus the output
# times the ratio of cost to refill, which is linear, and it reaches
# zero at an output of refill over cost. Above that there is no steady
# state at any level, and the reservoir empties.
CAP0, REFILL, COST = 1.0, 1.0 / 90.0, 0.040
DEMANDS = (0.30, 0.50, 0.70, 0.80, 0.90, 1.00, 1.10)
DAYS, FLOOR = 720, 0.05
def drive_for(output, cap):
# output is the product of drive and capacity, so drive is the ratio
return output / max(cap, 1e-9)
def run(output):
cap = CAP0
for day in range(DAYS):
d = drive_for(output, cap)
cap += REFILL * (CAP0 - cap) - COST * d * cap
if cap <= FLOOR:
return day + 1, cap
cap = min(CAP0, cap)
return None, cap
if __name__ == "__main__":
print(" refill rate {:.5f} a day, cost of drive {:.3f}"
.format(REFILL, COST))
print(" demanded output days to the floor capacity at day {}"
.format(DAYS))
for out in DEMANDS:
days, cap = run(out)
print(" {:<18.2f}{:<20}{:.4f}"
.format(out, days if days is not None else "holds", cap))
ratio = COST / REFILL
ceiling = REFILL / COST
print(" the steady capacity is one minus {:.4f} times the output"
.format(ratio))
print(" output steady capacity steady drive")
for out in (0.05, 0.10, 0.15, 0.20, 0.25):
cap = 1.0 - ratio * out
print(" {:<9.2f}{:<18.4f}{:.4f}".format(out, cap, out / cap))
print(" the output at which the steady capacity reaches zero:"
" {:.4f}".format(ceiling))
lo, hi = 0.01, 2.0
for _ in range(60):
mid = 0.5 * (lo + hi)
if run(mid)[0] is None:
lo = mid
else:
hi = mid
crit = 0.5 * (lo + hi)
print(" the output above which the floor of {:.2f} is reached:"
" {:.4f}".format(FLOOR, crit))
print(" which matches one minus {:.2f} over {:.4f}, as it must"
.format(FLOOR, ratio))
print(" above the ceiling the system does not settle at a lower")
print(" level; it empties, because holding the output needs a")
print(" drive that rises as fast as the capacity falls")
for over in (1.02, 1.05, 1.10, 1.25):
days, cap = run(crit * over)
print(" at {:.2f} times that output the floor arrives on day {}"
.format(over, days))
print(" and the same arithmetic gives the way out: lower the output")
print(" demanded, since the capacity cannot be raised directly")
print(" output cut to capacity after 90 days")
for out in (0.90, 0.70, 0.50, 0.30):
cap = FLOOR
for _ in range(90):
d = drive_for(out * crit, cap)
cap = min(CAP0, cap + REFILL * (CAP0 - cap) - COST * d * cap)
cap = max(1e-9, cap)
print(" {:<16.2f}{:.4f}".format(out, cap))
print(" so each further cut buys more capacity: a cut to 0.70")
print(" reaches about a quarter of the full level in three months,")
print(" a cut to 0.30 about half, and holding the output at 1.00")
print(" recovers nothing, since that is the critical output itself")
# refill rate 0.01111 a day, cost of drive 0.040
# demanded output days to the floor capacity at day 720
# 0.30 190 0.0493
# 0.50 68 0.0420
# 0.70 43 0.0386
# 0.80 36 0.0462
# 0.90 32 0.0260
# 1.00 28 0.0329
# 1.10 25 0.0349
# the steady capacity is one minus 3.6000 times the output
# output steady capacity steady drive
# 0.05 0.8200 0.0610
# 0.10 0.6400 0.1563
# 0.15 0.4600 0.3261
# 0.20 0.2800 0.7143
# 0.25 0.1000 2.5000
# the output at which the steady capacity reaches zero: 0.2778
# the output above which the floor of 0.05 is reached: 0.2640
# which matches one minus 0.05 over 3.6000, as it must
# above the ceiling the system does not settle at a lower
# level; it empties, because holding the output needs a
# drive that rises as fast as the capacity falls
# at 1.02 times that output the floor arrives on day 351
# at 1.05 times that output the floor arrives on day 272
# at 1.10 times that output the floor arrives on day 215
# at 1.25 times that output the floor arrives on day 144
# and the same arithmetic gives the way out: lower the output
# demanded, since the capacity cannot be raised directly
# output cut to capacity after 90 days
# 0.90 0.1101
# 0.70 0.2306
# 0.50 0.3511
# 0.30 0.4717
# so each further cut buys more capacity: a cut to 0.70
# reaches about a quarter of the full level in three months,
# a cut to 0.30 about half, and holding the output at 1.00
# recovers nothing, since that is the critical output itselfThe system has a closed form, and it is worth seeing. The refill must equal the consumption at a steady state, and because the drive is the output divided by the capacity, the consumption depends only on the output. So the steady capacity is one minus 3.6000 times the demanded output, which is linear, and it reaches zero at an output of 0.2778. Below that there is a steady state at a reduced capacity: at an output of 0.20 the capacity settles at 0.2800 and the drive at 0.7143. Above it there is no steady state at any level, and the reservoir empties.
The nonlinearity is in the drive, not the capacity. At an output of 0.05 the drive needed is 0.0610; at 0.25 it is 2.5000, forty times as much for five times the output. That is what “not knowing how to hold a thing full” describes: the cost of the last increment of output is paid in a drive that rises without bound as the capacity falls.
The way out is in the same arithmetic. Starting from the floor, cutting the demanded output to 0.70 of the critical value brings the capacity to 0.2306 in ninety days, and cutting it to 0.30 brings it to 0.4717. Holding the output while hoping recovers nothing, because the steady capacity is a function of the output and of nothing else.
Hypothesis · not established
The author’s interpretation (not yet tested): the classical warning identifies a threshold rather than a gradient, so recovery from occupational exhaustion should show a sharp dependence on whether demanded output was cut below a critical level and little dependence on how far below, which is the opposite of a dose-response. What would show it wrong: if measured recovery in a cohort with graded reductions in workload rose smoothly with the size of the reduction rather than jumping at a threshold, the reservoir reading would be wrong.
Summary
The complaint about taking the reckless as the rule is a claim about variance: the bedtime spread must stay within 21 minutes for 0.95 of days to fall inside an hour-wide window, and the phase spread is the bedtime spread divided by 0.6940. The complaint about not holding a thing full is a claim about a reservoir: the steady capacity is one minus 3.6000 times the demanded output, so above an output of 0.2778 nothing settles, and the drive needed rises from 0.0610 at an output of 0.05 to 2.5000 at 0.25. Chapter 8 puts adherence and the gate in front of all of it.
References
Fan, Y. (2026). HPA-Axis Coupled Oscillations, Cortisol Awakening Response Flattening and Burnout Recovery Kinetics: Glucocorticoid Receptor Downregulation, Ultradian Pulsatility and Allostatic Load Reset [下丘脑垂体肾上腺轴耦合振荡、皮质醇觉醒反应扁平化与倦怠恢复动力学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090252 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).