关于「漏洞对齐:共因失效给软层叠加设下的地板」,《硬门禁与软提示衰减》给出的定量结论是什么?
结论:第二章讲共因失效:共同原因份额只有 0.01 时,六层软防护的残余里就有 0.933 来自它。
数据口径:软提醒按比例起作用,各层独立时残余违规率是漏过率之积,示意参数下四层之后仍是 0.0048,不是零;只有确定性的代码门禁能在它自己定义的模式类别之内做到零。 书中参数均为示意;全部计算由书中程序生成。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.01, 0.933
| residual per save, k soft layers of miss 0.30 each | |
| k q | 0.00 q=0.01 q=0.05 q=0.20 |
| 1 | 0.0300000 0.0307000 0.0335000 0.0440000 |
| 2 | 0.0090000 0.0099100 0.0135500 0.0272000 |
| 3 | 0.0027000 0.0036730 0.0075650 0.0221600 |
| 4 | 0.0008100 0.0018019 0.0057695 0.0206480 |
| 5 | 0.0002430 0.0012406 0.0052309 0.0201944 |
| 6 | 0.0000729 0.0010722 0.0050693 0.0200583 |
| floor v x q as k grows: | |
| q | 0.00 floor 0.0000 share of R(6) from q 0.000 |
| q | 0.01 floor 0.0010 share of R(6) from q 0.933 |
| q | 0.05 floor 0.0050 share of R(6) from q 0.986 |
| q | 0.20 floor 0.0200 share of R(6) from q 0.997 |
核心公式
\[R(k) = v \times \big((1-q)\,m^k + q\big).\]
查看完整验算程序
# Chapter 2. p21: a common cause puts a floor under stacked soft layers.
# Beta-factor style model: with probability q a shared condition (the
# instruction was never loaded, the session drifted, every layer reads
# the same wrong context) makes all soft layers miss together; else
# they miss independently with miss m each. Residual per save:
# R(k) = v x ((1 - q) x m ** k + q)
# As k grows R(k) falls to the floor v x q, not to zero.
# v = 0.10 and m = 0.30 as in p11; q is illustrative.
from fractions import Fraction as F
V, M = F(1, 10), F(3, 10)
QS = [F(0), F(1, 100), F(5, 100), F(1, 5)]
print("residual per save, k soft layers of miss 0.30 each")
head = "%3s" % "k"
for q in QS:
head += "%13s" % ("q=%.2f" % float(q))
print(head)
for k in range(1, 7):
row = "%3d" % k
for q in QS:
row += "%13.7f" % float(V * ((1 - q) * M ** k + q))
print(row)
print("floor v x q as k grows:")
for q in QS:
r6 = V * ((1 - q) * M ** 6 + q)
print(" q = %.2f floor %.4f share of R(6) from q %.3f" % (
float(q), float(V * q), float(V * q / r6)))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《客户端生命周期硬门禁工程、软提示遵从率轮次衰减与保存前物理拦截状态机母典》第 2 章「漏洞对齐:共因失效给软层叠加设下的地板」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-256 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026256,
author = {Fan, Yafu},
title = {Hard Gates across the Client Lifecycle: the Decay of Soft-Prompt Compliance over Turns and State Machines for Interception before Publication},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}