What does Seven Governors: Astronomy and Error conclude, in numbers, about “Dongwei Limits: Two Rules for the Ming Palace and the Propagation of Birth-Time Error”?
Answer: Chapter 6 shows that the double-hour and rising-sign rules for the Ming palace agree only 0.5908 of the time, and that a fifteen-minute birth-time error shifts the age of the first limit by about 1.88 years.
Scope of the numbers: Its parameters are illustrative or sourced; all calculations are generated by its programs; it analyses only the structure and probabilities of the system, makes no personal reading of any kind, and is not advice of any kind. Marked boxes separate published evidence, runnable Python calculations (21 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.5908
| draws | 200000 |
| rules H and A give the same palace | 0.5908 |
| A minus H | -1 palace : 0.2046 |
| A minus H = +0 palace | 0.5908 |
| A minus H = +1 palace | 0.2035 |
| sigma (min) P(flip) rule H P(flip) rule A | |
| 5 | 0.0330 0.0337 |
| 15 | 0.0995 0.0995 |
| 30 | 0.2002 0.2022 |
| 60 | 0.3910 0.3822 |
Show the full program
# 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))Single source and citation
Fan, Y. (2026). Seven Governors and Four Remainders: Ecliptic Lunar-Mansion Perturbations, Shadow-Node Orbits and Error Propagation in Dongwei Limits (Version 1.0.0), Chapter 6: Dongwei Limits: Two Rules for the Ming Palace and the Propagation of Birth-Time Error. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 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}
}Other chapter answers in this book
- Chapter 1 · Rahu and Ketu: Mean Motion, True Motion and the Eclipse Year of the Lunar Nodes
- Chapter 2 · Yuebei: the Advance of the Lunar Apogee and the Price of a Rounded Period
- Chapter 3 · Ziqi and the Lattice of Conventions: Can a Purely Calendrical Point Be Identified?
- Chapter 4 · Precession and the Determinative Stars of the Twenty-Eight Mansions: the Zi–Shen Reversal and Mansion Widths that Stretch
- Chapter 5 · Palaces by Degree and Palaces by Mansion: the Disagreement Rate of Two Frames
- Chapter 7 · The Classics Examined: the Guolao xingzong, the Qintang zhijin ge and the Almagest
- Chapter 8 · Practice and Falsification: Chart Components, Pre-Registered Tests and the Conditions for Overturning