What does Inhibition Matrices, Windows and Enzyme Competition conclude, in numbers, about “Two Enzymes in the Liver”?
Answer: Chapter 5 shows the caffeine half-life differing by 7.50 times between the fastest and slowest states, so that one cup at 14:00 raises sleep onset from 18.4 to 40.5 minutes in the slowest, and shows the exposure multiplier of metabolic inhibition bounded by one over one minus the cleared fraction.
Scope of the numbers: Its parameters are illustrative or synthetic; all figures are produced by the programs printed in the book; the book is not medical advice, does not diagnose, and must not be used to start, stop or change any supplement or medicine. Marked boxes separate published evidence, runnable Python calculations (sixteen programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 00, 14, 18.4, 40.5, 7.50
| 100 mg of caffeine, bedtime at 23 | 00 |
| state half-life mg left minutes to sleep | |
| no modifier | 5.00 28.72 24.1 |
| a smoker | 3.00 12.50 18.4 |
| oral contraceptive | 8.00 45.85 30.0 |
| ciprofloxacin | 10.50 55.20 33.3 |
| late pregnancy | 17.50 70.01 38.5 |
| fluvoxamine | 22.50 75.79 40.5 |
| that column is for a dose at 14 | 00 |
| milligrams left at bedtime, by hour of the dose: | |
| state | 8 10 12 14 16 18 |
| no modifier | 12.50 16.49 21.76 28.72 37.89 50.00 |
| a smoker | 3.13 4.96 7.87 12.50 19.84 31.50 |
| oral contraceptive | 27.26 32.42 38.56 45.85 54.53 64.84 |
| ciprofloxacin | 37.15 42.39 48.38 55.20 63.00 71.89 |
| late pregnancy | 55.20 59.76 64.68 70.01 75.79 82.03 |
| fluvoxamine | 63.00 67.00 71.26 75.79 80.60 85.72 |
| latest hour at which 100 mg keeps the bedtime residual | |
| under 25 mg: | |
| no modifier | 13:00 |
| a smoker | 17:00 |
| oral contraceptive | 07:00 |
| ciprofloxacin | 02:00 |
| late pregnancy no hour in the day works | |
| fluvoxamine no hour in the day works | |
| between the fastest and the slowest state the half-life | |
| differs by 7.50 times | |
| and the bedtime residual from a 14 | 00 dose by 6.06 times |
Show the full program
# Chapter 5. p09: Why the same coffee ruins one person's sleep and not
# another's. Caffeine is cleared almost entirely by one liver enzyme,
# and the activity of that enzyme varies by an order of magnitude
# between people and is changed by common medicines and by smoking. The
# half-life multipliers below are rounded from the published ranges.
# From a dose at a given hour the residual at a fixed bedtime follows,
# and from the residual a sleep-onset latency, modelled as the baseline
# latency multiplied by one plus the residual over a reference amount.
DOSE_MG = 100.0
BASE_HALFLIFE = 5.0
BEDTIME = 23.0
BASE_LATENCY = 14.0 # minutes to fall asleep with no caffeine
REF_MG = 40.0 # residual that doubles the latency
THRESHOLD = 25.0 # mg at bedtime a careful plan stays under
STATES = (
("no modifier", 1.00),
("a smoker", 0.60),
("oral contraceptive", 1.60),
("ciprofloxacin", 2.10),
("late pregnancy", 3.50),
("fluvoxamine", 4.50),
)
HOURS = (8.0, 10.0, 12.0, 14.0, 16.0, 18.0)
LN2 = 0.6931471805599453
E = 2.718281828459045
def residual(dose, hour, halflife):
dt = BEDTIME - hour
if dt <= 0.0:
return dose
return dose * E ** (-LN2 * dt / halflife)
def latency(mg):
return BASE_LATENCY * (1.0 + mg / REF_MG)
if __name__ == "__main__":
print(" {:.0f} mg of caffeine, bedtime at {:.0f}:00".format(DOSE_MG,
BEDTIME))
print(" state half-life mg left minutes to sleep")
for name, mult in STATES:
hl = BASE_HALFLIFE * mult
mg = residual(DOSE_MG, 14.0, hl)
print(" {:<22}{:<12.2f}{:<10.2f}{:.1f}"
.format(name, hl, mg, latency(mg)))
print(" that column is for a dose at 14:00")
print(" milligrams left at bedtime, by hour of the dose:")
print(" state " + "".join("{:>8.0f}".format(h)
for h in HOURS))
for name, mult in STATES:
hl = BASE_HALFLIFE * mult
print(" {:<22}".format(name)
+ "".join("{:>8.2f}".format(residual(DOSE_MG, h, hl))
for h in HOURS))
print(" latest hour at which {:.0f} mg keeps the bedtime residual"
.format(DOSE_MG))
print(" under {:.0f} mg:".format(THRESHOLD))
for name, mult in STATES:
hl = BASE_HALFLIFE * mult
if residual(DOSE_MG, 0.0, hl) >= THRESHOLD:
print(" {:<22}{}".format(name, "no hour in the day works"))
continue
lo, hi = 0.0, BEDTIME
for _ in range(60):
mid = 0.5 * (lo + hi)
if residual(DOSE_MG, mid, hl) < THRESHOLD:
lo = mid
else:
hi = mid
mins = int(round(0.5 * (lo + hi) * 60.0))
print(" {:<22}{:02d}:{:02d}".format(name, mins // 60, mins % 60))
hl_a = BASE_HALFLIFE * 0.60
hl_b = BASE_HALFLIFE * 4.50
print(" between the fastest and the slowest state the half-life")
print(" differs by {:.2f} times".format(hl_b / hl_a))
print(" and the bedtime residual from a 14:00 dose by {:.2f} times"
.format(residual(DOSE_MG, 14.0, hl_b)
/ residual(DOSE_MG, 14.0, hl_a)))
print(" with the slowest clearance the latency rises from {:.1f}"
.format(latency(residual(DOSE_MG, 14.0, hl_a))))
print(" to {:.1f} minutes, a difference of {:.1f}"
.format(latency(residual(DOSE_MG, 14.0, hl_b)),
latency(residual(DOSE_MG, 14.0, hl_b))
- latency(residual(DOSE_MG, 14.0, hl_a))))Single source and citation
Fan, Y. (2026). Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition (Version 1.0.0), Chapter 5: Two Enzymes in the Liver. 5D Library. https://doi.org/10.5281/zenodo.24090250
DOI: 10.5281/zenodo.24090250 · Read the monograph · 5DL-B-096 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026096,
author = {Fan, Yafu},
title = {Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090250},
url = {https://doi.org/10.5281/zenodo.24090250}
}