5D Library › 复合补剂相互作用、时间疗法给药窗口与代谢酶竞争 · English
第七章 七情和合
一套在汉代写下的、关于有序对的分类
中国最古的本草并不把一味药当作一件有性质的东西来处理。它把一对药当作一件有性质的东西来处理。《神农本草经》序例列出一味物质对另一味所做之事的七种情形:单行、相须、相使、相畏、相恶与相反 (神农本草经辑注 1995)。这是按符号与对称性对有序对所作的分类,而它在形式上与一张相互作用矩阵是同一个对象。
原典
七情和合。 《神农本草经》序例把这些情形列为单行、相须、相使、相畏、相恶与相反,并附带一条指示:处方者在配伍之前必须审察它们。在尝试任何比较之前,这套方案有两处特征值得记下。第一,它是一套关于「对」的方案,不是关于单味物质的,所以它是一种关系性分类,而不是一张性质清单。第二,它的两种情形,即一味物质制约另一味的毒害与一味物质败坏另一味的效力,是靠「受影响的是毒性还是效力」来区分的,而这是一个吸收模型做不出的区分 (神农本草经辑注 1995)。
第二处特征划定了这次比较所能确立的范围,而程序把这个范围写了出来,没有绕过它。
推导
# Chapter 7. p13: The seven relations, written as a matrix. The
# Shennong pharmacopoeia sorts what one substance does to another into
# seven cases: acting alone, mutual reinforcement, one assisting
# another, one being restrained by another, one spoiling another, and
# mutual opposition. That is a classification of ordered pairs by the
# sign and the symmetry of their effect on each other, which is exactly
# what the interaction model of this book produces. Each of the 55
# unordered pairs of the eleven items is scored twice, once in each
# direction, and sorted into the classical cases by the rule below.
# The model sees delivery, not toxicity, so the case in which one
# substance restrains another's harm cannot be told apart from the case
# in which it spoils another's benefit; the two are reported together.
ITEMS = (
("magnesium", 400.00, 24.305, "divalent", 4.0000),
("zinc", 25.00, 65.380, "divalent", 0.1500),
("calcium", 500.00, 40.080, "divalent", 5.0000),
("iron", 18.00, 55.850, "divalent", 0.0800),
("vitamin D3", 0.10, 384.600, "micelle", 0.0004),
("vitamin K2", 0.18, 444.700, "micelle", 0.0005),
("NAD precursor", 300.00, 255.200, "nrk", 1.0000),
("curcumin", 500.00, 368.400, "conjugate", 1.0000),
("piperine", 10.00, 285.300, "conjugate", 0.0500),
("theanine", 200.00, 174.200, "amino", 1.0000),
("caffeine", 100.00, 194.200, "cyp1a2", 0.5000),
)
ENH_MAX, ENH_K = 1.60, 0.020
BOOSTS = {("piperine", "curcumin")} # ordered: first raises second
THR = 0.05
def mmol(dose_mg, molar_mass):
return dose_mg / molar_mass
def delivery(i, partner):
name, dose, mm, site, km = ITEMS[i]
s = mmol(dose, mm)
alone = s / (km + s)
extra = 0.0
if partner is not None and ITEMS[partner][3] == site:
extra = mmol(ITEMS[partner][1], ITEMS[partner][2]) / ITEMS[partner][4]
out = s / (km * (1.0 + extra) + s)
if partner is not None and (ITEMS[partner][0], name) in BOOSTS:
p = mmol(ITEMS[partner][1], ITEMS[partner][2])
out *= 1.0 + ENH_MAX * p / (ENH_K + p)
return out / alone
def classify(a, b):
# a is what the second does to the first, b the other way round
up_a, up_b = a > THR, b > THR
dn_a, dn_b = a < -THR, b < -THR
if not (up_a or up_b or dn_a or dn_b):
return "acting alone"
if up_a and up_b:
return "mutual reinforcement"
if up_a or up_b:
# one of the two is raised, whatever happens to the other
return "one assisting another"
if dn_a and dn_b:
return "mutual opposition"
return "one restraining or spoiling"
ORDER = ("acting alone", "mutual reinforcement", "one assisting another",
"one restraining or spoiling", "mutual opposition")
if __name__ == "__main__":
n = len(ITEMS)
counts = {k: 0 for k in ORDER}
rows = []
for i in range(n):
for j in range(i + 1, n):
a = delivery(i, j) - 1.0
b = delivery(j, i) - 1.0
c = classify(a, b)
counts[c] += 1
rows.append((c, ITEMS[i][0], ITEMS[j][0], a, b))
print(" unordered pairs scored: {}".format(n * (n - 1) // 2))
print(" case pairs share")
for c in ORDER:
print(" {:<30}{:<8d}{:.4f}"
.format(c, counts[c], counts[c] / len(rows)))
print(" the pairs that are not acting alone:")
print(" case first second effects")
for c in ORDER[1:]:
for cc, a_name, b_name, a, b in rows:
if cc == c:
print(" {:<28}{:<13}{:<11}{:+.3f} {:+.3f}"
.format(c[:27], a_name[:12], b_name[:10], a, b))
strongest = min(rows, key=lambda r: min(r[3], r[4]))
print(" strongest opposition: {} and {} at {:+.3f} and {:+.3f}"
.format(strongest[1], strongest[2], strongest[3], strongest[4]))
helps = [r for r in rows if max(r[3], r[4]) > THR]
print(" pairs in which anything is raised at all: {}"
.format(len(helps)))
print(" so in this cupboard the classical cases are not evenly")
print(" filled: {:.4f} of pairs act alone and {:.4f} oppose"
.format(counts["acting alone"] / len(rows),
(counts["mutual opposition"]
+ counts["one restraining or spoiling"]) / len(rows)))
# unordered pairs scored: 55
# case pairs share
# acting alone 47 0.8545
# mutual reinforcement 0 0.0000
# one assisting another 1 0.0182
# one restraining or spoiling 0 0.0000
# mutual opposition 7 0.1273
# the pairs that are not acting alone:
# case first second effects
# one assisting another curcumin piperine +0.556 -0.444
# mutual opposition magnesium zinc -0.333 -0.537
# mutual opposition magnesium calcium -0.328 -0.541
# mutual opposition magnesium iron -0.441 -0.450
# mutual opposition zinc calcium -0.413 -0.422
# mutual opposition zinc iron -0.532 -0.336
# mutual opposition calcium iron -0.535 -0.332
# mutual opposition vitamin D3 vitamin K2 -0.329 -0.264
# strongest opposition: magnesium and calcium at -0.328 and -0.541
# pairs in which anything is raised at all: 1
# so in this cupboard the classical cases are not evenly
# filled: 0.8545 of pairs act alone and 0.1273 oppose55 个无序对里,有 47 对各行其是,占 0.8545。七对相反,全部出现在那四种常量与微量矿物质以及两种脂溶性维生素之间;一对属于一味辅助另一味,也就是姜黄素与胡椒碱。这个柜子里没有任何一对属于相须,而只有一对里有任何东西被提高。
这个分布本身就是关于现代补剂实践的一个发现。古典方案有六种情形讲相互作用、一种讲独立,而一个现代柜子有 0.8545 的时候填在独立那一格里,其余落进两种相互作用的情形。《神农》序例最关心的那些关系,也就是配伍反而更好的那些,在这里是空的。一位汉代的处方者会说这个柜子配得不好,不是因为其中各项选错了,而是因为其中几乎没有一项是为了与柜中其他项协同而选的。
四条关于时辰的规则
第二个古典来源更窄,也更可检验。李时珍《本草纲目》序例引述了一条更早的、关于何时服药的四情形规则:病在胸膈以上者,食后服;病在心腹以下者,食前服;病在四肢血脉者,宜空腹而在旦;病在骨髓者,宜饱满而在夜 (李时珍 1982)。
原典
服药时辰。 这段文字见于《本草纲目》序例所引的金代之说,按病位在身体何处来指定时辰与与食物的关系。它是一条关于通路与去处的规则,不是关于药物本身的,而这正是它之所以能与一个时间药理学论证相比较的原因:两者都主张同一种物质在不同时辰所做的好事多少不同 (李时珍 1982)。
推导
# Chapter 7. p14: Four classical rules about when to swallow something,
# scored against the arithmetic. The preface to the Bencao gangmu quotes
# an earlier rule of four cases: a complaint above the diaphragm, take
# it after food; below the abdomen, before food; in the limbs and
# vessels, on an empty stomach and at dawn; in the marrow, on a full
# stomach and at night. Each case is given here the modern slot whose
# gut condition and clock hour the arithmetic of p11 would choose for
# the class of substance that case is about, and the two are compared.
# The agreement is counted; nothing is adjusted to improve it.
SLOTS = (
("after food, morning", 7.0, 18.0, 2.0),
("before food, midday", 12.0, 2.0, 1.7),
("empty stomach at dawn", 6.0, 0.5, 1.5),
("full stomach at night", 22.0, 8.0, 1.9),
)
CASES = (
# classical case, the modern class it maps to, needs, phase peak
("above the diaphragm", "fat-soluble vitamin", "fat", 6.0),
("below the abdomen", "mineral needing acid", "acid", 12.0),
("limbs and vessels", "trace mineral, empty", "acid", 6.0),
("marrow, at night", "calming mineral", "plain", 22.5),
)
FAT_HALF, PH_HALF, PH_HILL, PHASE_WIDTH = 9.0, 3.4, 2.4, 5.0
E = 2.718281828459045
def condition(needs, slot):
_, hour, fat_g, ph = slot
f = 1.0
if needs == "fat":
f *= (fat_g / (FAT_HALF + fat_g)) / (18.0 / (FAT_HALF + 18.0))
if needs == "acid":
f *= (1.0 / (1.0 + (ph / PH_HALF) ** PH_HILL)) \
/ (1.0 / (1.0 + (1.5 / PH_HALF) ** PH_HILL))
return min(1.0, f)
def phase(peak, slot):
d = abs((slot[1] - peak + 12.0) % 24.0 - 12.0)
return E ** (-(d / PHASE_WIDTH) ** 2)
if __name__ == "__main__":
print(" score of each slot for each case:")
print(" case " + "".join("{:>9d}".format(i + 1)
for i in range(len(SLOTS))))
agree = 0
for idx, (cname, modern, needs, peak) in enumerate(CASES):
scores = [condition(needs, s) * phase(peak, s) for s in SLOTS]
best = max(range(len(SLOTS)), key=lambda i: scores[i])
if best == idx:
agree += 1
print(" {:<22}".format(cname)
+ "".join("{:>9.4f}".format(v) for v in scores))
print(" slot names, in the order of the columns:")
for i, s in enumerate(SLOTS):
print(" {}: {}".format(i + 1, s[0]))
print(" case classical slot arithmetic")
for idx, (cname, modern, needs, peak) in enumerate(CASES):
scores = [condition(needs, s) * phase(peak, s) for s in SLOTS]
best = max(range(len(SLOTS)), key=lambda i: scores[i])
print(" {:<22}{:<22}{}"
.format(cname, SLOTS[idx][0], SLOTS[best][0]))
print(" cases where the two agree: {} of {}"
.format(agree, len(CASES)))
print(" as a share: {:.4f}".format(agree / len(CASES)))
print(" the modern class each case was mapped to:")
for cname, modern, needs, peak in CASES:
print(" {:<22}{}".format(cname, modern))
print(" the mapping is the author's and is where the argument can")
print(" be attacked: a different mapping would give a different")
print(" count, and the rule itself fixes none of it")
worst = min(range(len(CASES)),
key=lambda i: max(condition(CASES[i][2], s)
* phase(CASES[i][3], s) for s in SLOTS))
wv = max(condition(CASES[worst][2], s) * phase(CASES[worst][3], s)
for s in SLOTS)
print(" the case with the weakest best score is '{}' at {:.4f}"
.format(CASES[worst][0], wv))
# score of each slot for each case:
# case 1 2 3 4
# above the diaphragm 0.9608 0.0646 0.0789 0.0546
# below the abdomen 0.3278 0.9587 0.2369 0.0167
# limbs and vessels 0.8560 0.2271 1.0000 0.0707
# marrow, at night 0.0556 0.0122 0.1054 0.9900
# slot names, in the order of the columns:
# 1: after food, morning
# 2: before food, midday
# 3: empty stomach at dawn
# 4: full stomach at night
# case classical slot arithmetic
# above the diaphragm after food, morning after food, morning
# below the abdomen before food, midday before food, midday
# limbs and vessels empty stomach at dawn empty stomach at dawn
# marrow, at night full stomach at night full stomach at night
# cases where the two agree: 4 of 4
# as a share: 1.0000
# the modern class each case was mapped to:
# above the diaphragm fat-soluble vitamin
# below the abdomen mineral needing acid
# limbs and vessels trace mineral, empty
# marrow, at night calming mineral
# the mapping is the author's and is where the argument can
# be attacked: a different mapping would give a different
# count, and the rule itself fixes none of it
# the case with the weakest best score is 'below the abdomen' at 0.9587算术在四个情形上都挑中了与古典规则相同的时段,比例 1.0000,而四个最佳得分里最弱的一个是 0.9587。这个结果应当被怀疑而不是被满足地接受,而程序在自己的输出里就这么说了:从古典范畴到现代类别的对应是作者做的,换一种对应就会得到不同的计数。「病在胸膈以上」在这里被读作代表一种脂溶性维生素,而古典文本里没有任何东西许可这种读法。
这次比较确实确立的东西更窄,但仍然值得拥有。古典规则变动了两件事,与食物的关系以及时辰,而这恰恰是第二章与第四章发现要紧的那两个变量。一条改去变动月相的规则就根本无法比较。所以本章所作的论断是:《本草纲目》那四个情形变动的是对的那两个变量;而本章拒绝作的论断是:他们把分配做对了,而理由是十六世纪的任何人都可能知道的。
假说 · 尚未验证
作者的诠释(尚未验证): 中国本草传统里的古典服药时辰规则,对「与食物的关系」的编码比对「时辰」的编码更可靠,因为与食物的关系有一个立刻可观察的后果,例如恶心或没有恶心,而时辰没有。什么会证明它错: 如果对古典文献中服药时辰指示的系统编码显示,时辰被指定的频率与一致性和与食物的关系相同,而后世版本改动两者的频率也没有差别,那么这处不对称就不存在。
小结
《神农》序例的七情是一套关于有序对的分类,因此就是一张相互作用矩阵。施加到一个现代柜子上,55 对里 47 对各行其是,7 对相反,1 对相使,而相须是空的,这说明这个柜子不是按方剂来配的。《本草纲目》所引的四条服药时辰规则在四个情形上都与算术相符,但这个相符取决于作者自己的对应,所以诚实的论断是这些规则变动的是对的那两个变量。第八章把依从性与安全放到这一切之前。
参考文献
Fan, Y. (2026). Polypharmacy Supplement Interactions, Chronotherapy Dosing Windows and Cytochrome Enzyme Competition: Michaelis-Menten Inhibition Matrices, Chelation Absorption Losses and Circadian Receptor Sensitivity [复合补剂相互作用、时间疗法给药窗口与代谢酶竞争] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090250 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).