What does The Sleep Debt of Afternoon Tea conclude, in numbers, about “Fast and Slow: the CYP1A2 Half-Life Distribution and Stacked Doses”?

Answer: Chapter 3 treats fast and slow CYP1A2 metabolism and stacked doses: in a lognormal population about 4.7 % cross the line after one black tea at four, against 0.694 after one coffee.

Scope of the numbers: Except where a source is named, its parameters are illustrative; all calculations are generated by its programs. The book is not medical advice and claims no health effect; anyone planning a self-experiment should first consult a licensed physician.

中文版

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: 0.694, 16

N = 20000, seed 20261112, theta = 0.6054 mg/L
half-life 5th / 50th / 95th pct: 2.61 / 5.03 / 9.59 h
share below 3.5 h 0.182; above 7.5 h 0.156
scenarioshare_over_thetamedian_E/theta
tea at 16:000.0470.57
coffee at 16:000.6941.29
teas 14:00+16:000.4991.00
tea at 14:000.0130.43
Show the full program
# Chapter 3. p33: a population of half-lives, fixed-seed Monte Carlo
# 半衰期取对数正态:中位 5.0 h,对数标准差 0.40(示意,使 90% 区间约为
# 2.6 至 9.6 h)。对 20000 名虚拟饮者,问 16:00 一杯红茶、一杯咖啡、
# 两杯红茶(14:00 与 16:00)各有多少人的夜间暴露 E 超过阈值 theta。
# 阈值同 p23 标定;种子固定为 20261112。
import math
import random

KA, V, WIN = 3.0, 0.6 * 70.0, 4.0
MED, SIG, N = 5.0, 0.40, 20000
BED = 23.0
SCEN = [("tea at 16:00", [(16.0, 47.0)]),
        ("coffee at 16:00", [(16.0, 107.0)]),
        ("teas 14:00+16:00", [(14.0, 47.0), (16.0, 47.0)]),
        ("tea at 14:00", [(14.0, 47.0)])]


def win_mean(h, dose, th, w=WIN):
    ke = math.log(2.0) / th
    a = dose * KA / (V * (KA - ke))
    pe = (math.exp(-ke * h) - math.exp(-ke * (h + w))) / ke
    pa = (math.exp(-KA * h) - math.exp(-KA * (h + w))) / KA
    return a * (pe - pa) / w


rng = random.Random(20261112)
ths = sorted(MED * math.exp(SIG * rng.gauss(0.0, 1.0)) for _ in range(N))
theta = win_mean(8.8, 107.0, 5.0)


def pct(q):
    return ths[int(q * (N - 1))]


print("N = {}, seed 20261112, theta = {:.4f} mg/L".format(N, theta))
print("half-life 5th / 50th / 95th pct: {:.2f} / {:.2f} / {:.2f} h"
      .format(pct(0.05), pct(0.50), pct(0.95)))
print("share below 3.5 h {:.3f}; above 7.5 h {:.3f}".format(
    len([t for t in ths if t < 3.5]) / N,
    len([t for t in ths if t > 7.5]) / N))
print("scenario            share_over_theta  median_E/theta")
for name, sch in SCEN:
    rs = []
    for th in ths:
        e = math.fsum([win_mean(BED - t, d, th) for t, d in sch])
        rs.append(e / theta)
    rs.sort()
    over = len([r for r in rs if r > 1.0]) / N
    print("{:<19} {:>16.3f}  {:>14.2f}".format(name, over, rs[N // 2]))

Single source and citation

Fan, Y. (2026). Caffeine-Theanine Pharmacokinetics, Adenosine-Receptor Half-Lives and the Sleep Debt of Afternoon Tea (Version 1.0.0), Chapter 3: Fast and Slow: the CYP1A2 Half-Life Distribution and Stacked Doses. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-186 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026186,
  author    = {Fan, Yafu},
  title     = {Caffeine-Theanine Pharmacokinetics, Adenosine-Receptor Half-Lives and the Sleep Debt of Afternoon Tea},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book