What does Boundary Hours, Twins and Bone Weight conclude, in numbers, about “Eight Daytime Boundaries: 7 a.m. to 9 p.m.”?
Answer: On the eight daytime boundaries the day pillar never changes and only the hour does, so the changes on each line can be written as a fixed card. The bureau still changes in 0.5000 of cases and Zi Wei moves in 0.4672; the main-star combination of the Self palace changes in 0.9471 to 0.9603 of cases, and on average 11.84 to 11.93 of the twelve palaces differ. Tian Xing enters Self in the Si hour, falls back into Parents in the Wu hour and into Fortune in the Wei hour, so on the 9 a.m., 11 a.m. and 1 p.m. lines the mark-star set of Self or Parents always changes. On the 3 p.m. and 9 p.m. lines bone weight does not move, and rectification has to rely on the shifts of the Body palace, Tian Xing, Tian Yao and Zuo Fu. If sample chart A had been born thirty-eight minutes or more earlier, its Self palace would lose Qing Yang, Huo Xing and Tian Xing. All twenty-four questions ask about past events that can be checked against records; this chapter gives three tests that can be pre-registered and the number of people each group needs.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations, 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. printed values that match the answer: 0.4672, 0.5000, 0.9471, 0.9603, 11, 11.84
| cases: 20880 | |||
| boundary bureau ZiWei SelfMain mark:Self Health Parents palaces | |||
| Mao|Chen (07:00) | 0.5000 0.4672 0.9603 | 0.6250 0.6250 0.6250 | 11.90 |
| Chen|Si (09:00) | 0.5000 0.4672 0.9598 | 1.0000 0.6250 0.6250 | 11.89 |
| Si|Wu (11:00) | 0.5000 0.4672 0.9517 | 1.0000 0.6042 1.0000 | 11.87 |
| Wu|Wei (13:00) | 0.5000 0.4672 0.9534 | 0.6042 0.6042 1.0000 | 11.84 |
| Wei|Shen (15:00) | 0.5000 0.4672 0.9477 | 0.6083 0.6083 0.6083 | 11.86 |
| Shen|You (17:00) | 0.5000 0.4672 0.9500 | 0.6083 0.6083 0.6083 | 11.89 |
| You|Xu (19:00) | 0.5000 0.4672 0.9534 | 0.6292 0.6292 0.6292 | 11.93 |
| Xu|Hai (21:00) | 0.5000 0.4672 0.9471 | 0.6458 0.6458 0.6458 | 11.90 |
Show the full program
# Chapter 3. p15: What a one-hour error moves at the eight day boundaries.
# Method. Exact enumeration: 60 year stem-branch pairs x 12 lunar months x
# lunar days 1-29 (20880 equally weighted cases, the same grid as p10 in
# chapter 2 so the two tables compare). Zi Wei rules as in the house core:
# Self branch = 2 + (month - 1) - hour; bureau from the nayin of the Self
# palace stem-branch (five-tiger stems); Zi Wei position from day and bureau;
# hour stars Wen Chang, Wen Qu, Huo Xing, Ling Xing, Di Kong, Di Jie.
# Every daytime boundary changes the hour only (h -> h + 1); the day is the
# same on both sides. For each boundary we count the cases in which the
# bureau, the Zi Wei position, the main stars of the Self palace, or the set
# of mark stars in Self / Health / Parents differ between the two charts,
# and the mean number of the 12 named palaces whose contents differ.
# Mark stars as in the birthmark book: Qing Yang, Tuo Luo, Huo, Ling, Kong,
# Jie, Tian Xing. Main stars are abbreviated (ZW = Zi Wei, and so on).
MARK = ("Qing Yang", "Tuo Luo", "Huo Xing", "Ling Xing", "Di Kong", "Di Jie", "Tian Xing")
MAIN = {"ZW", "TJ", "TY", "WQ", "TT", "LZ", "TF", "TYin", "TL", "JM", "TX", "TLiang", "QS", "PJ"}
NY = "MFWEMFAEMWAEFWAMFWEMFAEMWAEFWA" # nayin element of each stem-branch pair
BUREAU = {"A": 2, "W": 3, "M": 4, "E": 5, "F": 6}
def chart(ys, yb, m, d, h):
ming = (m + 1 - h) % 12
pstem = lambda b: (ys % 5 * 2 + 2 + (b - 2) % 12) % 10
bur = BUREAU[NY[(6 * pstem(ming) - 5 * ming) % 60 // 2]]
k = 0
while (d + k) % bur:
k += 1
zw = (2 + (d + k) // bur - 1 + (k if k % 2 == 0 else -k)) % 12
tf = (4 - zw) % 12
main = {"ZW": zw, "TJ": zw - 1, "TY": zw - 3, "WQ": zw - 4, "TT": zw - 5, "LZ": zw - 8, "TF": tf,
"TYin": tf + 1, "TL": tf + 2, "JM": tf + 3, "TX": tf + 4, "TLiang": tf + 5, "QS": tf + 6, "PJ": tf + 10}
lu = [2, 3, 5, 6, 5, 6, 8, 9, 11, 0][ys]
g = yb % 4
h0, l0 = {0: (2, 10), 1: (3, 10), 2: (1, 3), 3: (9, 10)}[g]
minor = {"Qing Yang": lu + 1, "Tuo Luo": lu - 1, "Huo Xing": h0 + h, "Ling Xing": l0 + h,
"Di Kong": 11 - h, "Di Jie": 11 + h, "Tian Xing": 8 + m, "Wen Chang": 10 - h, "Wen Qu": 4 + h}
pal = {}
for s, b in list(main.items()) + list(minor.items()):
pal.setdefault((ming - b) % 12, set()).add(s)
return bur, zw, pal
NAMES = ["Zi", "Chou", "Yin", "Mao", "Chen", "Si", "Wu", "Wei", "Shen", "You", "Xu", "Hai"]
ROWS = [("{}|{} ({:02d}:00)".format(NAMES[h], NAMES[(h + 1) % 12], 2 * h + 1), h, 1, 0) for h in range(3, 11)]
if __name__ == "__main__":
cases = [(ys, yb, m, d) for i in range(60) for ys, yb in [(i % 10, i % 12)]
for m in range(1, 13) for d in range(1, 30)]
print(" cases: {}".format(len(cases)))
print(" boundary bureau ZiWei SelfMain mark:Self Health Parents palaces")
for name, h, dh, dd in ROWS:
c = [0] * 6
for ys, yb, m, d in cases:
b1, z1, p1 = chart(ys, yb, m, d, h)
b2, z2, p2 = chart(ys, yb, m, d + dd, (h + dh) % 12)
mk = lambda p, i: p.get(i, set()) & set(MARK)
c[0] += b1 != b2
c[1] += z1 != z2
c[2] += {s for s in p1.get(0, ()) if len(s) <= 6 and s not in MARK} != \
{s for s in p2.get(0, ()) if len(s) <= 6 and s not in MARK}
c[3] += mk(p1, 0) != mk(p2, 0)
c[4] += mk(p1, 5) != mk(p2, 5)
c[5] += mk(p1, 11) != mk(p2, 11)
c.append(sum(p1.get(i, set()) != p2.get(i, set()) for i in range(12)))
n = len(cases)
print(" {:28s} {:.4f} {:.4f} {:.4f} {:.4f} {:.4f} {:.4f} {:.2f}".format(
name, *(x / n for x in c[:6]), sum(c[6:]) / n))Single source and citation
Fan, Y. (2026). The Boundary-Hour Rectification, Twin-Chart and Bone-Weight Baseload Codex (Version 1.0.0), Chapter 3: Eight Daytime Boundaries: 7 a.m. to 9 p.m.. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-124 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026124,
author = {Fan, Yafu},
title = {The Boundary-Hour Rectification, Twin-Chart and Bone-Weight Baseload Codex},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Method: True Solar Time, Distance to a Boundary, Likelihood Ratios, Bone Weight and Nayin
- Chapter 2 · Five Night Boundaries: 11 p.m. to 5 a.m.
- Chapter 4 · Splitting Twin Charts: Eight Rules and What Twin Research Shows
- Chapter 5 · Bone Weight, the Lighter Half: 2 Liang 1 Qian to 4 Liang 6 Qian
- Chapter 6 · Bone Weight, the Heavier Half: 4 Liang 7 Qian to 7 Liang 2 Qian
- Chapter 7 · The Sixty Sound-Elements: Pressure Base and Wealth-Carrying Capacity of the Year Cell
- Chapter 8 · Practice: Rectifying, Weighing and Reading Sample Chart A, and a Pre-Registered Test