关于「原典考辨:陆羽评水、《管子·水地》、希波克拉底论硬水与克拉克皂液测定法」,《硬水、螯合与泡沫》给出的定量结论是什么?

结论:山水比江水软的概率是 0.8525,解析值 0.8539,两者吻合;江水比井水软的概率 0.8464;山水比井水软的概率 0.9802。三者次序全部成立的概率只有 0.7025。每组三份水的平均肯德尔秩相关系数是 0.7861。最后一行把雨水折成 5.0 毫克每升碳酸钙。

数据口径:钙镁离子先压低临界胶束浓度,只在冲洗稀释的中间段才析出钙盐,折损按表活体系分档:皂基最重,烷基硫酸盐次之,酰基谷氨酸盐居中,醚硫酸盐与两性、非离子表活几乎不受影响;示意 W4 水里,烷基硫酸盐在冲洗初段的折损份额为 0.632。 螯合剂按摩尔一比一结合钙镁,示意剂量下一次用量只软化 10.5 毫升硬水,连起泡兑水都覆盖不全;全部软化一次淋浴需要配方含量的 1,524 倍,一整瓶只够花洒流约 3.16 秒。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.7025, 0.7861, 0.8464, 0.8525, 0.8539, 0.9802

draws 100,000; medians 0.5 / 1.2 / 2.8 mmol/L, spread x1.8
P(mountain softer than river)0.8525
P(river softer than well)0.8464
P(mountain softer than well)0.9802
P(whole order holds)0.7025
mean Kendall tau per triple0.7861
exact P(mountain < river)0.8539
rainwater 0.05 mmol/L is 5.0 mg/L CaCO3
查看完整验算程序
# Chapter 7. p71: Lu Yu's ranking (mountain > river > well) as odds.
# Model: hardness of each source type is lognormal; medians 0.5, 1.2 and
# 2.8 mmol/L and a geometric spread factor of 1.8 are illustrative, not
# survey data, and rainwater is put at 0.05 mmol/L. A fixed-seed Monte
# Carlo draws one water of each type and counts how often the classical
# order (softer first) holds pairwise and for the whole triple.
import math
import random

TYPES = (("mountain", 0.5), ("river", 1.2), ("well", 2.8))
GSD = 1.8


def draw(rng, median):
    return median * math.exp(rng.gauss(0.0, math.log(GSD)))


if __name__ == "__main__":
    rng = random.Random(38971)
    n = 100000
    mr = rw = mw = triple = 0
    tau_terms = []
    for _ in range(n):
        m, r, w = (draw(rng, med) for _, med in TYPES)
        mr += m < r
        rw += r < w
        mw += m < w
        triple += m < r < w
        conc = (m < r) + (r < w) + (m < w)
        tau_terms.append((conc - (3 - conc)) / 3.0)
    print("draws {:,}; medians 0.5 / 1.2 / 2.8 mmol/L, spread x{}".format(
        n, GSD))
    print("  P(mountain softer than river)  {:.4f}".format(mr / n))
    print("  P(river softer than well)      {:.4f}".format(rw / n))
    print("  P(mountain softer than well)   {:.4f}".format(mw / n))
    print("  P(whole order holds)           {:.4f}".format(triple / n))
    print("  mean Kendall tau per triple    {:.4f}".format(
        math.fsum(tau_terms) / n))
    z = math.log(1.2 / 0.5) / (math.sqrt(2.0) * math.log(GSD))
    exact = 0.5 * (1.0 + math.erf(z / math.sqrt(2.0)))
    print("  exact P(mountain < river)      {:.4f}".format(exact))
    print("  rainwater 0.05 mmol/L is {:.1f} mg/L CaCO3".format(
        0.05 * 100.086))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《洗护配方水质硬度化学、钙镁离子螯合软化与表活泡沫沉积增效母典》第 7 章「原典考辨:陆羽评水、《管子·水地》、希波克拉底论硬水与克拉克皂液测定法」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-389 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026389,
  author    = {Fan, Yafu},
  title     = {Water-Hardness Chemistry in Personal-Care Formulations, Calcium-Magnesium Chelation and Surfactant Foam-Deposition Enhancement},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论