关于「结晶度与自举:变异测试、合成指标与指纹自检的边界」,《超越蒸馏:商业器官合成与自检》给出的定量结论是什么?
结论:第六章用变异测试、结晶度与指纹自检检验器官本身,随机改动 1,000 次全部被外部锚点抓到,而被替换的自检一次也抓不到。
数据口径:本书主张向上合成:把专著定理连同目标市场的约束(计价单位、价格带、合规红线、界面门禁)正向编译成自带规格与不变量的小器官。 书中参数为示意,全部计算由书中程序生成。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 1000
| manifest | 1e068fc5d7484f2ca44789e365889a55 |
| f8ca8d18ccdcb3620c6e84b81c74835b | |
| anchor | 696788d12968bec71c48c0052e3360f1 |
| quine reproduces its own text: True | |
| quine fingerprint 2bf977a65f705d7020948bc8 | |
| single-character changes tried | 1,000 |
| caught by honest self-check | 1,000 |
| caught by a replaced self-check | 0 |
| caught by the outside anchor | 1,000 |
查看完整验算程序
# Chapter 6. p63: self-check by fingerprint, and where it stops working.
# An organ carries four parts (price table, state table, objection tree,
# probe settings). Its manifest is the SHA-256 of the parts in a fixed
# order with their lengths. At start-up it recomputes the manifest and
# refuses to run on a mismatch. A small quine shows a program text that
# reproduces itself exactly, so the fingerprint can cover the checker's
# own source. Then the limit: a checker that has itself been replaced
# can report the stored digest and pass anything (Thompson's point); an
# outside anchor, a second digest kept in a ledger the organ cannot
# write, still catches it. Self-check only: nothing is copied or spread.
import hashlib
import random
PARTS = [
("price", "tier,off,seats,price\n1,0.45,50,71.90\n2,0.30,100,83.90\n"
"3,0.15,200,101.90\n4,0.00,open,119.90\n"),
("state", "landing>form;form>free_view;free_view>paywall;"
"paywall>checkout;checkout>paying;paying>paid;"
"paying>pay_failed;pay_failed>checkout;paid>report\n"),
("objection", "price.too_high;trust.method;trust.refund;"
"timing.later;fit.language\n"),
("probe", "p0=0.040;p1=0.028;h=4.0;lam0=2;lam1=4;h_err=6.0\n"),
]
def manifest(parts):
h = hashlib.sha256()
for name, text in parts:
b = text.encode("ascii")
h.update(name.encode("ascii") + b"|" + str(len(b)).encode() + b"|")
h.update(b)
return h.hexdigest()
def anchor(parts):
h = hashlib.blake2b(digest_size=16)
for name, text in parts:
h.update(name.encode("ascii") + b"\x00" + text.encode("ascii"))
return h.hexdigest()
def honest_check(parts, stored):
return manifest(parts) == stored
def replaced_check(parts, stored):
return True # a subverted checker that always says "fine"
def flip(parts, rng):
i = rng.randrange(len(parts))
name, text = parts[i]
j = rng.randrange(len(text))
c = chr(((ord(text[j]) - 32 + rng.randint(1, 94)) % 95) + 32)
new = list(parts)
new[i] = (name, text[:j] + c + text[j + 1:])
return new
if __name__ == "__main__":
stored = manifest(PARTS)
ledger = anchor(PARTS)
print("manifest " + stored[:32])
print(" " + stored[32:])
print("anchor " + ledger)
q = "s=%r;print(s%%s)"
src = "s=" + repr(q) + ";print(s%s)"
print("quine reproduces its own text: {}".format(q % q == src))
qd = hashlib.sha256(src.encode("ascii")).hexdigest()
print("quine fingerprint " + qd[:24])
rng = random.Random(37863)
n, caught_h, caught_r, caught_a = 1000, 0, 0, 0
for _ in range(n):
bad = flip(PARTS, rng)
caught_h += 0 if honest_check(bad, stored) else 1
caught_r += 0 if replaced_check(bad, stored) else 1
caught_a += 0 if anchor(bad) == ledger else 1
print("single-character changes tried {:,}".format(n))
print("caught by honest self-check {:,}".format(caught_h))
print("caught by a replaced self-check {:,}".format(caught_r))
print("caught by the outside anchor {:,}".format(caught_a))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《超越蒸馏:可执行商业器官合成、生成式代码结晶与活体系统自举母典》第 6 章「结晶度与自举:变异测试、合成指标与指纹自检的边界」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-378 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026378,
author = {Fan, Yafu},
title = {Beyond Distillation: Executable Business-Organ Synthesis, Generative Code Crystallisation and Living-System Bootstrapping},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}