What does The Arithmetic of Sleep conclude, in numbers, about “Warm Hands, Cool Core: the Thermal Gate of Sleep”?

Answer: Chapter 5's three-store thermal model shows the evening fall in core temperature as a valve, the distal vessels, opening: opening it 90 minutes late delays the decline from 22:32 to 23:47, and a warm bath helps only if it ends well before lights-out.

Scope of the numbers: It is not medical advice, gives no doses and recommends no product; for persistent insomnia the first-line treatment is cognitive behavioural therapy for insomnia. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses; apart from cited literature, 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: 22, 23, 32, 47, 90

A. A day with distal vasodilation beginning at 2100
time core proximal distal DPG
1200 36.91 33.90 31.10 -2.80
1800 37.41 34.30 31.39 -2.91
2100 37.47 34.36 31.43 -2.94
2200 37.36 34.32 32.72 -1.60
2300 37.18 34.20 33.67 -0.53
0000 37.02 34.07 33.67 -0.40
0300 36.62 33.75 33.36 -0.38
0500 36.43 33.59 33.22 -0.37
0700 36.34 33.49 32.59 -0.90
core range over the day1.15 C (max 37.47, min 36.33)
B. When does the core start to fall? Vasodilation early, on time, or late
dilation starts core at 2300 core change core 0.20 C below
2300-24:00 its 21:00 value at
2000 37.05 -0.139 22:14
2100 37.18 -0.159 22:32
2230 37.41 -0.169 23:47
Reading: the core falls about 1 C overnight in this model, and the fall
begins when the hands and feet open up: distal vasodilation is the valve.
Delaying it by 90 minutes delays the start of the core's decline by over an
hour, with the core still near its evening peak at 2300.

Key formula

\[C_c \frac{dT_c}{dt} = M - k_p(T_c - T_p) - k_d(t)(T_c - T_d),\]
Show the full program
# Chapter 5. Core, proximal skin and distal skin (hands and feet) as three
# coupled heat stores. Blood flow to the distal skin is the main control: when
# the hand and foot vessels dilate, the conductance k_d from core to distal
# skin rises, the distal skin warms, and the core loses heat. Heat production
# M falls in the evening. All values are illustrative but of physiological
# order (heat capacities in kJ/K, conductances in W/K, ambient 24 C under
# bedding). DPG = distal minus proximal skin temperature. One-minute steps;
# three days are run and the last is reported.
import math

CC, CP, CD = 160e3, 40e3, 8e3
KP, HP, HD, TA = 20.0, 6.0, 3.5, 24.0

def M(h):                                   # heat production, W
    return 88.0 + 3.0 * math.cos(2 * math.pi * (h - 15.0) / 24)

def kd(h, dilate_at=21.0, ramp=2.0):        # core -> distal conductance, W/K
    hh = h % 24
    low, high = 4.3, 10.0
    if dilate_at <= hh < dilate_at + ramp:
        return low + (high - low) * (hh - dilate_at) / ramp
    if hh >= dilate_at + ramp or hh < 6.5:
        return high
    if 6.5 <= hh < 7.5:
        return high - (high - low) * (hh - 6.5)
    return low

def run(dilate_at=21.0):
    Tc, Tp, Td = 37.0, 34.0, 30.0
    out = {}
    for m in range(3 * 24 * 60):
        h = m / 60.0
        k = kd(h, dilate_at)
        qp, qd = KP * (Tc - Tp), k * (Tc - Td)
        Tc += 60 * (M(h) - qp - qd) / CC
        Tp += 60 * (qp - HP * (Tp - TA)) / CP
        Td += 60 * (qd - HD * (Td - TA)) / CD
        if m >= 2 * 24 * 60:
            out[round(h - 48, 4)] = (Tc, Tp, Td)
    return out

def at(o, h):
    return o[round(h, 4)]

if __name__ == "__main__":
    base = run()
    print("A. A day with distal vasodilation beginning at 21:00")
    print("   time    core    proximal   distal    DPG")
    for h in (12, 18, 21, 22, 23, 24, 27, 29, 31):
        Tc, Tp, Td = at(base, h % 24)
        print(
            "   {:02d}:00  {:6.2f}   {:6.2f}    {:6.2f}   {:+5.2f}".format(
                h % 24, Tc, Tp, Td, Td - Tp
            )
        )
    cs = [v[0] for v in base.values()]
    print(
        "   core range over the day: {:.2f} C (max {:.2f}, min {:.2f})"
        .format(max(cs) - min(cs), max(cs), min(cs))
    )

    print(
        "\nB. When does the core start to fall? Vasodilation early, on time,"
        " or late"
    )
    print(
        "   dilation starts   core at 23:00   core change     core 0.20 C"
        " below"
    )
    print(
        "                                     23:00-24:00     its 21:00"
        " value at"
    )
    for d in (20.0, 21.0, 22.5):
        o = run(d)
        c21 = at(o, 21.0)[0]
        t_drop = next(
            h for h in sorted(o) if h >= 21.0 and o[h][0] <= c21 - 0.20
        )
        print(
            "   {:02d}:{:02d}             {:6.2f}          {:+6.3f}         "
            " {:02d}:{:02d}".format(
                int(d),
                int(round((d % 1) * 60)),
                at(o, 23.0)[0],
                at(o, 23 + 59 / 60)[0] - at(o, 23.0)[0],
                int(t_drop),
                int(round((t_drop % 1) * 60)) % 60,
            )
        )
    print(
        "\nReading: the core falls about 1 C overnight in this model, and the"
        " fall"
    )
    print(
        "begins when the hands and feet open up: distal vasodilation is the"
        " valve."
    )
    print(
        "Delaying it by 90 minutes delays the start of the core's decline by"
        " over an"
    )
    print("hour, with the core still near its evening peak at 23:00.")

Single source and citation

Fan, Y. (2026). Two-Process Sleep Architecture, Slow-Wave Glymphatic Clearance and Thermoregulatory Phase Control (Version 1.0.0), Chapter 5: Warm Hands, Cool Core: the Thermal Gate of Sleep. 5D Library. https://doi.org/10.5281/zenodo.24090162

DOI: 10.5281/zenodo.24090162 · Read the monograph · 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}
}

Other chapter answers in this book