关于「原典考辨:《果老星宗》《琴堂指金歌》与《至大论》」,《七政四余的天文与误差》给出的定量结论是什么?
结论:第七章对读《果老星宗》《琴堂指金歌》与托勒密《至大论》,发现托勒密星表的角宿一黄经在其历元上偏小 1.264 度。
数据口径:书中参数为示意或注明出处;全部计算由书中程序生成;本书只分析体系的结构与概率,不做任何个人占断,也不是任何形式的建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(21 段程序)、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库
| k | rules N | P(some rule fires) | charts per 30 cases of one rule |
| 1 | 20 | 0.8245 | 360 |
| 1 | 60 | 0.9946 | 360 |
| 1 | 200 | 1.0000 | 360 |
| 2 | 20 | 0.1301 | 4320 |
| 2 | 60 | 0.3417 | 4320 |
| 2 | 200 | 0.7519 | 4320 |
| 3 | 20 | 0.0115 | 51840 |
| 3 | 60 | 0.0341 | 51840 |
| 3 | 200 | 0.1093 | 51840 |
| Monte Carlo, k = 2, N = 60, 20000 charts: P(some rule fires) 0.4265 |
查看完整验算程序
# Chapter 7. p72: how often a verse rule fires on a chart, by structure
# A verse rule is a conjunction of k placement conditions of the form
# "body X in palace Y" or "body X shares a palace with body Z", each of
# probability 1/12 on a chart with independent uniform palaces (a
# structural baseline, not a claim about any real chart). A verse book
# of N rules fires on a chart if any rule fires. Monte Carlo check with
# 11 bodies and random rules; fixed seed.
import random
rng = random.Random(20261112)
print("k rules N P(some rule fires) charts per 30 cases of one rule")
for k in (1, 2, 3):
for n in (20, 60, 200):
p1 = 12.0 ** -k
print("{} {:7d} {:18.4f} {:12.0f}".format(
k, n, 1 - (1 - p1) ** n, 30 / p1))
def make_rule(k):
conds = []
for _ in range(k):
x = rng.randrange(11)
if rng.random() < 0.5:
conds.append(("in", x, rng.randrange(12)))
else:
z = (x + 1 + rng.randrange(10)) % 11
conds.append(("with", x, z))
return conds
def fires(rule, chart):
for kind, x, y in rule:
if kind == "in" and chart[x] != y:
return False
if kind == "with" and chart[x] != chart[y]:
return False
return True
rules = [make_rule(2) for _ in range(60)]
charts = 20000
hit = 0
for _ in range(charts):
c = [rng.randrange(12) for _ in range(11)]
hit += any(fires(r, c) for r in rules)
print()
print("Monte Carlo, k = 2, N = 60, {} charts: P(some rule fires) {:.4f}"
.format(charts, hit / charts))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《七政四余黄道宿度摄动、四余暗曜交点轨道与洞微限度误差传播》第 7 章「原典考辨:《果老星宗》《琴堂指金歌》与《至大论》」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-155 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026155,
author = {Fan, Yafu},
title = {Seven Governors and Four Remainders: Ecliptic Lunar-Mansion Perturbations, Shadow-Node Orbits and Error Propagation in Dongwei Limits},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}