关于「飞钱合券、交子印押与刘晏漕运」,《零人工站群、支付防欺诈与现金流排队》给出的定量结论是什么?

结论:飞钱的合券是一种完整凭证的核对:4 处、每处 10 种记号就让盲目伪造只剩万分之一的机会。交子的多重印押让独立的检查相乘,发行上限与两年兑换期限制了在途的凭证总量。刘晏疏浚汴河之后长安粮食充足;利特尔定律说明,缩短在途时间就减少了压在路上的物资。本章所引均为英文维基百科条目的文字,未引古籍原文。

数据口径:第四章用排队论与模拟显示,突发到达把单个工作进程的 T99 推到数十秒;平均负载 0.80 时,突发需要 4 个工作进程,或 3 个加限流(拒绝 0.0005 的请求)。 书中以标注框区分证据、16 段可运行的 Python 程序、史料与假说。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 10

(1) blind forgery of a tally: b^-k
k b4 b=10 b=60
12.50e-01 1.00e-01 1.67e-02
26.25e-02 1.00e-02 2.78e-04
31.56e-02 1.00e-03 4.63e-06
43.91e-03 1.00e-04 7.72e-08
62.44e-04 1.00e-06 2.14e-11
(2) all n seals pass: q^n
n q0.5 q=0.3 q=0.1
10.5000 0.3000 0.1000
20.2500 0.0900 0.0100
30.1250 0.0270 0.0010
50.0312 0.0024 0.0000
(3) cap 1,255,340; even exchange over 2 years627,670 a year
(4) grain in transit for throughput T100 units a day
transit 60 days6,000 units on the road
transit 40 days4,000 units on the road
transit 30 days3,000 units on the road
Reading: matching four marks of ten forms leaves a blind
forger one chance in ten thousand - the full reference
number of Chapter 1, not its last digits. Several seals
multiply a forger's difficulty as several independent
checks do. A cap and a term bound what is outstanding, as a
limit on provisional orders and a key's lifetime do.
查看完整验算程序
# Chapter 7. [p14] Tallies, seals, caps and canals, recomputed.
# (1) Flying cash: a merchant's tally half is redeemed only when it
# matches the office's half. If a match checks k independent marks of
# b possible forms each, a blind forger matches with chance b^-k.
# (2) Jiaozi were stamped with several seals. If a forger copies any one
# seal convincingly with chance q, all n seals pass with chance q^n.
# (3) The official issue was capped at 1,255,340 strings of cash and
# notes were exchanged after a two-year term: if exchanges were spread
# evenly, the issue office turned over cap / 2 a year.
# (4) Little's law for a supply line: stock in transit = throughput x
# transit time. Throughput T and the transit times are parameters; a
# shorter passage carries the same flow with less grain on the road.

if __name__ == "__main__":
    print("   (1) blind forgery of a tally: b^-k")
    print("       k      b=4        b=10       b=60")
    for k in (1, 2, 3, 4, 6):
        print("       {} {:10.2e} {:10.2e} {:10.2e}".format(
            k, 4.0 ** -k, 10.0 ** -k, 60.0 ** -k))
    print("   (2) all n seals pass: q^n")
    print("       n     q=0.5    q=0.3    q=0.1")
    for n in (1, 2, 3, 5):
        print("       {} {:9.4f} {:8.4f} {:8.4f}".format(
            n, 0.5 ** n, 0.3 ** n, 0.1 ** n))
    cap = 1255340
    print("   (3) cap {:,d}; even exchange over 2 years: {:,d} a year"
          .format(cap, cap // 2))
    print("   (4) grain in transit for throughput T = 100 units a day")
    for days in (60, 40, 30):
        print("       transit {:2d} days -> {:,d} units on the road".format(
            days, 100 * days))
    print("\nReading: matching four marks of ten forms leaves a blind")
    print("forger one chance in ten thousand - the full reference")
    print("number of Chapter 1, not its last digits. Several seals")
    print("multiply a forger's difficulty as several independent")
    print("checks do. A cap and a term bound what is outstanding, as a")
    print("limit on provisional orders and a key's lifetime do.")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《零人工多站点容错架构、支付防欺诈状态机与被动现金流排队论》第 7 章「飞钱合券、交子印押与刘晏漕运」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090201

DOI: 10.5281/zenodo.24090201 · 阅读本章所在专著 · 5DL-B-075 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026075,
  author    = {Fan, Yafu},
  title     = {Zero-Touch Multi-Site Fault Tolerance, Payment Anti-Fraud State Machines and Passive Cashflow Queuing},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090201},
  url       = {https://doi.org/10.5281/zenodo.24090201}
}

本书其他章节结论