关于「七情和合」,《抑制矩阵、给药窗口与酶竞争》给出的定量结论是什么?
结论:第七章把《神农本草经》七情和合写成矩阵:55 对中 47 对各行其是,7 对相反,1 对相使;并把《本草纲目》序例所引服药时辰的四条规则与算术对照,四条全合,而本书指出这个一致性来自作者自己的对应方式。
数据口径:书中参数均为示意或合成;全部数字由书中程序产生;本书不是医疗建议,不作诊断,也不可用于开始、停止或改动任何补剂或药物。 书中以标注框区分已发表的证据、可运行的 Python 计算(十六段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 47, 55
| 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 oppose |
查看完整验算程序
# 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)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《复合补剂相互作用、时间疗法给药窗口与代谢酶竞争》第 7 章「七情和合」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090250
DOI: 10.5281/zenodo.24090250 · 阅读本章所在专著 · 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}
}