关于「洞微限度:命宫两法与出生时刻误差的传播」,《七政四余的天文与误差》给出的定量结论是什么?

结论:第六章说明命宫的时辰法与东升法只有 0.5908 的机会一致,十五分钟的出生时刻误差使命宫限度的年龄移动约 1.88 年。

数据口径:书中参数为示意或注明出处;全部计算由书中程序生成;本书只分析体系的结构与概率,不做任何个人占断,也不是任何形式的建议。 书中以标注框区分已发表的证据、可运行的 Python 计算(21 段程序)、原典与作者的假说。

English version

对照数据表

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

draws200000
rules H and A give the same palace0.5908
A minus H-1 palace : 0.2046
A minus H = +0 palace0.5908
A minus H = +1 palace0.2035
sigma (min) P(flip) rule H P(flip) rule A
50.0330 0.0337
150.0995 0.0995
300.2002 0.2022
600.3910 0.3822
查看完整验算程序
# Chapter 6. p62: two rules for the Ming palace and their time sensitivity
# Rule H (double-hour rule): palace = Sun's sign + (double hour - 3),
#   double hours of 120 min, index 0 = Zi (23:00-01:00), 3 = Mao.
# Rule A (rising-sign rule): the sign of the true ascendant (p61).
# Sun longitude uniform over the year, local apparent solar time uniform
# over the day; latitude 34.26 N; eps = 23.4393 deg. Birth-time errors
# are normal with standard deviation sigma (illustrative). Fixed seed.
import math
import random

R, D = math.radians, math.degrees
EPS = R(23.4393)
PHI = R(34.26)
rng = random.Random(20261112)


def asc_sign(sun, hour):
    ra = math.atan2(math.sin(R(sun)) * math.cos(EPS), math.cos(R(sun)))
    th = ra + R(15.0 * (hour - 12.0))
    a = math.atan2(math.cos(th), -(math.sin(th) * math.cos(EPS)
                                   + math.tan(PHI) * math.sin(EPS)))
    return int((D(a) % 360.0) // 30)


def hour_sign(sun, hour):
    dh = int(((hour + 1.0) % 24.0) // 2)
    return (int(sun // 30) + dh - 3) % 12


N = 200000
sample = [(rng.uniform(0, 360), rng.uniform(0, 24)) for _ in range(N)]
same = len([1 for s, h in sample if asc_sign(s, h) == hour_sign(s, h)])
print("draws                                 : {}".format(N))
print("rules H and A give the same palace    : {:.4f}".format(same / N))
off = [(asc_sign(s, h) - hour_sign(s, h)) % 12 for s, h in sample]
for k in (11, 0, 1):
    print("  A minus H = {:+d} palace              : {:.4f}".format(
        k if k < 6 else k - 12, off.count(k) / N))
print()
print("sigma (min)   P(flip) rule H   P(flip) rule A")
for sig in (5, 15, 30, 60):
    fh = fa = 0
    for s, h in sample[:50000]:
        h2 = h + rng.gauss(0.0, sig) / 60.0
        fh += hour_sign(s, h) != hour_sign(s, h2)
        fa += asc_sign(s, h) != asc_sign(s, h2)
    print("{:8d}      {:12.4f}     {:12.4f}".format(sig, fh / 50000,
                                                  fa / 50000))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《七政四余黄道宿度摄动、四余暗曜交点轨道与洞微限度误差传播》第 6 章「洞微限度:命宫两法与出生时刻误差的传播」(版本 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}
}

本书其他章节结论