What does Rotating Qimen and Liuyao Business Verdicts conclude, in numbers, about “Stem Overlays (II): Xin, Ren and Gui over the Nine Stems”?
Answer: This chapter has written out the twenty-seven cells in which heaven-plate xin, ren or gui sits over the nine earth-plate stems. Xin is the Heavenly Court and reads where a fault lands; ren is the Heavenly Jail and reads what catches the flow or snares it; gui is the Heavenly Net and reads where concealment falls. Enumerating the 131,496 double-hour charts from 2000 to 2029 shows that any cross cell occurs about once every eight or nine double-hours (0.1074 to 0.1249), that same-stem cells occur only in double-hours when the plate does not turn (0.2222), and that the six three-step cells are slightly more frequent because of the lodging rule. By palace, as charts are usually drawn all twenty-seven cells cluster in Kun 2 (0.224 to 0.316), but counting main stems only Kun 2 falls to 0.074 to 0.155 and the eight palaces are almost even: "always lands in a certain palace" is mainly an artefact of the lodging convention. These verdicts are interpretations; the chapter has given a pre-registrable test with contract disputes as its outcome, and the sample size it 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. standard-library Python onlyprinted values that match the answer: 0.1074, 0.1249, 0.2222, 131496, 2000
| double-hour charts 2000-2029: 131,496 | ||||
| heaven over earth: charts, share, lowest and highest year | ||||
| xin | over wu | 16321 | 0.1241 | 0.1226 0.1257 |
| xin | over ji | 14492 | 0.1102 | 0.1088 0.1114 |
| xin | over geng | 14872 | 0.1131 | 0.1123 0.1143 |
| xin | over xin | 29222 | 0.2222 | 0.2215 0.2227 |
| xin | over ren | 15085 | 0.1147 | 0.1136 0.1162 |
| xin | over gui | 14480 | 0.1101 | 0.1087 0.1116 |
| xin | over ding | 16075 | 0.1222 | 0.1211 0.1235 |
| xin | over bing | 14596 | 0.1110 | 0.1098 0.1121 |
| xin | over yi | 14845 | 0.1129 | 0.1119 0.1144 |
| ren | over wu | 14975 | 0.1139 | 0.1132 0.1148 |
| ren | over ji | 16425 | 0.1249 | 0.1228 0.1268 |
| ren | over geng | 14847 | 0.1129 | 0.1120 0.1137 |
| ren | over xin | 14734 | 0.1120 | 0.1105 0.1132 |
| ren | over ren | 29222 | 0.2222 | 0.2215 0.2227 |
| ren | over gui | 15104 | 0.1149 | 0.1136 0.1158 |
| ren | over ding | 14483 | 0.1101 | 0.1091 0.1110 |
| ren | over bing | 15942 | 0.1212 | 0.1185 0.1231 |
| ren | over yi | 14256 | 0.1084 | 0.1073 0.1096 |
| gui | over wu | 14378 | 0.1093 | 0.1084 0.1107 |
| gui | over ji | 15086 | 0.1147 | 0.1135 0.1159 |
| gui | over geng | 16196 | 0.1232 | 0.1218 0.1244 |
| gui | over xin | 14730 | 0.1120 | 0.1110 0.1129 |
| gui | over ren | 14128 | 0.1074 | 0.1062 0.1087 |
| gui | over gui | 29222 | 0.2222 | 0.2215 0.2227 |
| gui | over ding | 15101 | 0.1148 | 0.1130 0.1161 |
| gui | over bing | 14982 | 0.1139 | 0.1128 0.1152 |
Show the full program
# Chapter 4. p20: How often each of the 27 overlays with xin, ren or gui
# on the heaven plate occurs, over every double-hour chart of 2000-2029,
# and how much that share moves from one calendar year to the next.
# Method. Solar terms from the low-accuracy solar theory (Meeus ch. 25,
# Delta T 69 s, UTC+8). Split-supplement (chai bu) bureau: the last term
# before the moment; the yuan from the latest jia or ji day (zi wu mao
# you -> upper, yin shen si hai -> middle, others -> lower). Earth plate:
# wu ji geng xin ren gui ding bing yi from palace b forward (yang) or
# backward (yin). Rotating heaven plate: the duty star carries the decade
# leader to the palace of the hour stem (jia hours: no turn); the eight
# outer palaces turn as one ring, each carrying its earth symbol; the
# centre symbol rides with Kun 2. A chart "contains" heaven X over earth
# Y if X sits over Y in any outer palace. Charts: midpoints of all
# 131,496 double-hours from 2000-01-01 to 2029-12-31 (10,958 days).
import math
SYM = ("wu", "ji", "geng", "xin", "ren", "gui", "ding", "bing", "yi")
RING = (1, 8, 3, 4, 9, 2, 7, 6)
DAYS = 10958
def nine(x):
return (x - 1) % 9 + 1
def sun_lon(jd):
t = (jd - 2451545.0) / 36525
l0 = 280.46646 + 36000.76983 * t + 0.0003032 * t * t
m = math.radians(357.52911 + 35999.05029 * t - 0.0001537 * t * t)
c = ((1.914602 - 0.004817 * t) * math.sin(m) + 0.019993 * math.sin(2 * m)
+ 0.000289 * math.sin(3 * m))
om = math.radians(125.04 - 1934.136 * t)
return (l0 + c - 0.00569 - 0.00478 * math.sin(om)) % 360
def term_start(i, guess):
jd = guess
for _ in range(40):
jd += ((270 + 15 * i - sun_lon(jd) + 180) % 360 - 180) / 0.9856
return jd - 69 / 86400 + 8 / 24 # local (UTC+8)
def charts():
"""Yield (day offset, [(heaven, earth, palace), ...]) per double-hour."""
jd_a = 2451544.5 # 2000-01-01 00:00 local
starts = [term_start(i, jd_a - 30 + 15.22 * i) for i in range(30 * 24 + 4)]
k = 0
for slot in range(DAYS * 12):
t = jd_a + slot / 12
while starts[k + 1] <= t:
k += 1
term, day = k % 24, int(t + 0.5)
fu = next(day - s for s in range(10) if (day - s + 49) % 10 in (0, 5))
yuan = {0: 0, 6: 0, 3: 0, 9: 0, 2: 1, 8: 1, 5: 1, 11: 1}.get(
(fu + 49) % 12, 2)
g, j = divmod(term, 3)
p, yang = (1, 8, 3, 4, 9, 2, 7, 6)[g], term < 12
b = nine(nine(p + j) + 6 * yuan) if yang else nine(nine(p - j) + 3 * yuan)
pal = {s: nine(b + i) if yang else nine(b - i) for i, s in enumerate(SYM)}
at = {v: s for s, v in pal.items()}
hs = (2 * ((day + 49) % 10) + slot % 12) % 10
hk = next(x for x in range(60) if x % 10 == hs and x % 12 == slot % 12)
lead = SYM[hk // 10]
dst = lead if hs == 0 else SYM[9 - hs if hs < 4 else hs - 4]
o = lambda q: 2 if q == 5 else q
r = (RING.index(o(pal[dst])) - RING.index(o(pal[lead]))) % 8
out = []
for i, q in enumerate(RING):
src = RING[(i - r) % 8]
heav = [at[src]] + ([at[5]] if src == 2 else [])
erth = [at[q]] + ([at[5]] if q == 2 else [])
out += [(h, e, q) for h in heav for e in erth]
yield slot // 12, out
def year_of(d):
y = 2000
while d >= (366 if y % 4 == 0 else 365):
d -= 366 if y % 4 == 0 else 365
y += 1
return y
if __name__ == "__main__":
mine = [(h, e) for h in ("xin", "ren", "gui") for e in SYM]
seen = dict.fromkeys(mine, 0)
per = {y: [0, dict.fromkeys(mine, 0)] for y in range(2000, 2030)}
n = 0
for d, c in charts():
n += 1
y = per[year_of(d)]
y[0] += 1
for pair in {(h, e) for h, e, q in c} & seen.keys():
seen[pair] += 1
y[1][pair] += 1
print(" double-hour charts 2000-2029: {:,d}".format(n))
print(" heaven over earth: charts, share, lowest and highest year")
for h, e in mine:
ys = [v[1][h, e] / v[0] for v in per.values()]
print(" {:4s} over {:4s} {:6d} {:.4f} {:.4f} {:.4f}".format(
h, e, seen[h, e], seen[h, e] / n, min(ys), max(ys)))
cross = sorted((v / n, h + "/" + e) for (h, e), v in seen.items() if h != e)
print(" 24 cross overlays: rarest {} {:.4f}, commonest {} {:.4f}".format(
cross[0][1], cross[0][0], cross[-1][1], cross[-1][0]))
print(" rarest cross overlay: about one chart in {:.1f}".format(
1 / cross[0][0]))Single source and citation
Fan, Y. (2026). The Rotating Qimen Chaibu and Liuyao Najia Codex of Business Verdicts (Version 1.0.0), Chapter 4: Stem Overlays (II): Xin, Ren and Gui over the Nine Stems. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-121 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026121,
author = {Fan, Yafu},
title = {The Rotating Qimen Chaibu and Liuyao Najia Codex of Business Verdicts},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Method: Chaibu Bureaus, Four Rotating Plates and the Hundred Patterns Defined
- Chapter 2 · Nine Stars, Eight Doors, Eight Spirits: Twenty-Five Symbols Read for Business and Love
- Chapter 3 · The Ten-Stem Responses, Part One: Wu, Ji and Geng over the Nine Stems
- Chapter 5 · The Three Wonders Arrive: The 27 Overlays of Ding, Bing and Yi on the Heaven Plate
- Chapter 6 · The Nineteen Named Patterns: Detection Rules, Real Frequencies and Verdicts
- Chapter 7 · Six-Line Najia: Forty-Eight Cells of Relation and Move
- Chapter 8 · Practice: Reading an Hour Chart, a Liuyao Cast, and a Pre-Registered Business Forecast Test