What does Inhibition Matrices, Windows and Enzyme Competition conclude, in numbers, about “Adherence, and the Gate”?
Answer: Chapter 8 shows adherence pulling the three-slot schedule from 0.8605 down to 0.7362, and the safety gate stopping or referring 0.5363 of adults. Marked boxes separate published evidence, runnable Python calculations (sixteen programs), classical sources and the author's hypotheses.
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. standard-library Python onlyprinted values that match the answer: 0.7362, 0.8605
three slots, adherence (0.92, 0.62, 0.8): perfect score 0.8605 realised: median 0.7362, 10% to 90% 0.6924 to 0.7735 one slot, adherence 0.95: perfect score 0.5394 realised: median 0.5214, 10% to 90% 0.4855 to 0.5394 the three-slot schedule still wins by +0.2148 people for whom the one-slot pile did better: 0 of 4000 three slots with the afternoon never taken at all: 0.7696 which is still above the one-slot perfect score of 0.5394, so no level of afternoon adherence makes the single pile the better choice, and the question is only whether the middle slot is worth keeping at all loss from adherence alone, three slots: 0.1445 loss from adherence alone, one slot: 0.0333 the middle slot carries only 0.1056 of the day's value so moving its single item into the evening would cost little and remove the slot people miss, which is the practical recommendation of this chapter
Show the full program
# Chapter 8. p15: A schedule that is not kept delivers nothing. The
# three-slot optimum of p11 scores 0.8605 when every slot is taken, and
# the single breakfast pile scores 0.5394. But a slot in the middle of a
# working day is the one people miss, and a slot that is missed delivers
# nothing at all for the items in it. The per-slot sums below are read
# off p11's solution. Thirty days are simulated for four thousand
# people, each slot taken or missed independently on each day, seed 96.
import random
SEED, PEOPLE, DAYS, N_ITEMS = 96, 4000, 30, 11
SLOT_SUM = (5.6499, 1.0000, 2.8160) # from p11's best schedule
SLOT_NAME = ("breakfast", "afternoon", "evening")
ADHERE = (0.92, 0.62, 0.80)
ONE_SLOT_SUM = 0.5394 * N_ITEMS # p11's all-at-breakfast score
ONE_SLOT_ADHERE = 0.95
def q(v, a):
s = sorted(v)
return s[int(a * (len(s) - 1))]
def run(rng, sums, adhere):
got = 0.0
for _ in range(DAYS):
for s, p in zip(sums, adhere):
if rng.random() < p:
got += s
return got / (DAYS * N_ITEMS)
if __name__ == "__main__":
rng = random.Random(SEED)
three = [run(rng, SLOT_SUM, ADHERE) for _ in range(PEOPLE)]
one = [run(rng, (ONE_SLOT_SUM,), (ONE_SLOT_ADHERE,))
for _ in range(PEOPLE)]
print(" three slots, adherence {}: perfect score {:.4f}"
.format(ADHERE, sum(SLOT_SUM) / N_ITEMS))
print(" realised: median {:.4f}, 10% to 90% {:.4f} to {:.4f}"
.format(q(three, 0.5), q(three, 0.1), q(three, 0.9)))
print(" one slot, adherence {:.2f}: perfect score {:.4f}"
.format(ONE_SLOT_ADHERE, ONE_SLOT_SUM / N_ITEMS))
print(" realised: median {:.4f}, 10% to 90% {:.4f} to {:.4f}"
.format(q(one, 0.5), q(one, 0.1), q(one, 0.9)))
print(" the three-slot schedule still wins by {:+.4f}"
.format(q(three, 0.5) - q(one, 0.5)))
wins = sum(1 for a, b in zip(three, one) if b > a)
print(" people for whom the one-slot pile did better: {} of {}"
.format(wins, PEOPLE))
never = (SLOT_SUM[0] + SLOT_SUM[2]) / N_ITEMS
print(" three slots with the afternoon never taken at all:"
" {:.4f}".format(never))
print(" which is still above the one-slot perfect score of {:.4f},"
.format(ONE_SLOT_SUM / N_ITEMS))
print(" so no level of afternoon adherence makes the single pile")
print(" the better choice, and the question is only whether the")
print(" middle slot is worth keeping at all")
print(" loss from adherence alone, three slots: {:.4f}"
.format(1.0 - q(three, 0.5) / (sum(SLOT_SUM) / N_ITEMS)))
print(" loss from adherence alone, one slot: {:.4f}"
.format(1.0 - q(one, 0.5) / (ONE_SLOT_SUM / N_ITEMS)))
print(" the middle slot carries only {:.4f} of the day's value"
.format(SLOT_SUM[1] / sum(SLOT_SUM)))
print(" so moving its single item into the evening would cost")
print(" little and remove the slot people miss, which is the")
print(" practical recommendation of this chapter")Single source and citation
Fan, Y. (2026). Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition (Version 1.0.0), Chapter 8: Adherence, and the Gate. 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}
}