关于「东西方原典考辨:《老子》「知足不辱,知止不殆」与伯努利的对数」,《鞅、停时与商业试错的停损界》给出的定量结论是什么?
结论:第七章考辨《老子》第四十四章「知足不辱,知止不殆」与伯努利 1738 年的对数效用。
数据口径:可选停时定理说,只要停止时刻不偷看未来且有上限,不赚不亏的事情在停下时的期望结果就等于起点;示意参数下,「第一次领先就停」的胜率是 0.824,期望却精确为零。 书中参数均为示意;全部计算由书中程序生成。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| Bernoulli's moral value of the game for a holder of wealth w | |
| wealth w value V | |
| 0 | 2.000 |
| 10 | 3.043 |
| 100 | 4.389 |
| 1000 | 5.972 |
| 100000 | 9.277 |
| 1000000 | 10.937 |
| expected prize when the bank can pay at most 2^m ducats | |
| m bank 2^m E[prize] | |
| 10 | 1024 6.000 |
| 20 | 1048576 11.000 |
| 30 | 1073741824 16.000 |
| 40 | 1099511627776 21.000 |
| 60 1152921504606846976 | 31.000 |
查看完整验算程序
# Chapter 7. p71: Bernoulli 1738: the St Petersburg game, its log value,
# and the finite bank. A fair coin is tossed until the first head; a
# head on toss k pays 2^(k-1) ducats. Part 1: Bernoulli's moral value
# for a holder of wealth w is the certainty amount V with
# log(w + V) = E[log(w + prize)]
# (the game is received free). Part 2: a bank holding 2^m ducats can
# pay at most that, so the expected prize is finite and grows only
# like m / 2 + 1. The game is the mirror of the doubling ladder of
# Chapter 2. Series cut where terms fall below double precision.
import math
def moral_value(w):
terms = []
for k in range(1, 400):
terms.append(math.ldexp(1.0, -k) * math.log(w + 2 ** (k - 1)))
return math.exp(math.fsum(terms)) - w
def capped_mean(m):
cap = 2 ** m
terms = []
for k in range(1, m + 80):
terms.append(math.ldexp(1.0, -k) * min(2 ** (k - 1), cap))
return math.fsum(terms)
print("Bernoulli's moral value of the game for a holder of wealth w")
print("%10s %12s" % ("wealth w", "value V"))
for w in (0, 10, 100, 1000, 100000, 1000000):
print("%10d %12.3f" % (w, moral_value(w)))
print("expected prize when the bank can pay at most 2^m ducats")
print("%4s %16s %12s" % ("m", "bank 2^m", "E[prize]"))
for m in (10, 20, 30, 40, 60):
print("%4d %16d %12.3f" % (m, 2 ** m, capped_mean(m)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《杜布鞅论可选停时定理、加倍追注谬误与商业试错见好就收停损界母典》第 7 章「东西方原典考辨:《老子》「知足不辱,知止不殆」与伯努利的对数」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-249 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026249,
author = {Fan, Yafu},
title = {Doob's Martingales and the Optional Stopping Theorem: the Doubling Fallacy and Rigorous Stop-Loss Bounds for Business Trials},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}