关于「原典考辨:豫则立、郑人买履与笛卡尔第二规则」,《愿望形式化编译》给出的定量结论是什么?

结论:第七章考辨《礼记·中庸》「豫则立」、《韩非子》郑人买履与笛卡尔第二规则,按尺码买鞋的合脚率只有 0.585,并给出四件套蒸馏规格。

数据口径:书中金额为无币种示意单位,参数为示意,全部计算由书中程序生成;本书是非个人化经营建议,不作个人财务或投资建议,心理学文献只写关联与适用条件,区间下界不是任何收入承诺。 书中以标注框区分已发表的证据、可运行的 Python 计算(22 段程序)、原典与作者的假说。

English version

对照数据表

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

runs 20,000
fit rate buying by the measure0.585
fit rate trying on the foot1.000
claims halving one-by-one whole wish
42 2.25 no locus
83 4.38 no locus
164 8.44 no locus
325 16.47 no locus
one-by-one = mean tests until the false claim is met
查看完整验算程序
# Chapter 7. p72: trusting the written measure, and splitting a wish
# Part 1, the man of Zheng: a spec (the measure) records the foot with
# error sd 0.6; shoes come in steps of 0.5; a shoe fits within 0.5 of
# the true foot. Rule A buys by the measure; rule B tries on the foot.
# Part 2, Descartes' second rule: a wish of k claims with one false
# claim; tests to find it by halving versus testing claims one by one.
import math
import random

rng = random.Random(41472)
RUNS = 20000
fit_a = fit_b = 0
for _ in range(RUNS):
    foot = rng.uniform(22.0, 27.0)
    note = foot + rng.gauss(0.0, 0.6)
    shoe_a = round(note * 2) / 2
    shoe_b = round(foot * 2) / 2
    fit_a += abs(shoe_a - foot) <= 0.5
    fit_b += abs(shoe_b - foot) <= 0.5
print("runs {:,}".format(RUNS))
print("fit rate buying by the measure : {:.3f}".format(fit_a / RUNS))
print("fit rate trying on the foot    : {:.3f}".format(fit_b / RUNS))
print()
print("{:>6}{:>14}{:>14}{:>14}".format(
    "claims", "halving", "one-by-one", "whole wish"))
for k in (4, 8, 16, 32):
    halving = math.ceil(math.log2(k))
    linear = (k - 1) * (k + 2) / (2 * k)
    print("{:>6}{:>14}{:>14.2f}{:>14}".format(k, halving, linear, "no locus"))
print("one-by-one = mean tests until the false claim is met")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《创始人模糊愿望形式化编译、约束反演与可执行商业系统生成母典》第 7 章「原典考辨:豫则立、郑人买履与笛卡尔第二规则」(版本 1.0.0). 5D Library. DOI 待发布

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

BibTeX
@book{fan2026414,
  author    = {Fan, Yafu},
  title     = {Formalising Fuzzy Founder Wishes: Constraint Inversion, Falsifiable Spec Synthesis and Executable Revenue System Compilation},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论