What does Zi Wei Archetypes and Monetization conclude, in numbers, about “Sun, Gate and Beam: Six Archetypes of Shining, Doubting and Covering”?
Answer: The Sun, the Great Gate and the Roof Beam lock into one another across the twelve layouts: the three singles appear 6 times each and always face another single star, never borrowed; the three Sun pairs appear 2 times each and always face an empty palace. Across 43200 equally weighted cases the self palace is empty in 0.1656, and the family fills 0.2094 of self palaces; Tian Liang alone is the commonest (0.0428), Tai Yang with Tian Liang the rarest (0.0128). As readings: the Sun's money comes from being seen and leaks through face; the Sun with the Moon earns on two tracks and leaks when the two ledgers patch each other; the Sun with the Great Gate sells the right to explain and leaks through unlimited promises made in public; the Sun with the Roof Beam collects rent on credibility and leaks through personal guarantees; the Great Gate earns by explaining what others cannot and leaks through one public sentence and the clause it never argued; the Roof Beam is paid for being there when it happens and leaks through rescue loans without a note. In sample chart A the Great Gate in Wu forms a closed loop of transformations with the career palace. These are interpretations of rules; the tests are in the hypothesis box above and in Chapter 8.
Scope of the numbers: All calculations are generated by the programs printed in the book; it is not investment, career, psychological or marital advice. 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.0128, 0.0428, 0.1656, 0.2094, 43200
| cases 43200, self palace empty 0.1656 | |||||
| archetype | solid borrowed | facing w_solid w_borrow | |||
| Tai Yang | 0.0422 | 0.0000 | 0.0422 | 0.0422 | 0.0000 |
| Tai Yang+Tai Yin | 0.0144 | 0.0144 | 0.0000 | 0.0144 | 0.0144 |
| Tai Yang+Ju Men | 0.0139 | 0.0139 | 0.0000 | 0.0139 | 0.0139 |
| Tai Yang+Tian Liang | 0.0128 | 0.0128 | 0.0000 | 0.0128 | 0.0128 |
| Ju Men | 0.0422 | 0.0000 | 0.0422 | 0.0422 | 0.0000 |
| Tian Liang | 0.0428 | 0.0000 | 0.0428 | 0.0428 | 0.0000 |
| family as self (solid or borrowed): 0.2094 |
Show the full program
# Chapter 4. p21: Exact shares of the six Tai Yang / Ju Men / Tian Liang
# archetypes. We enumerate 10 year stems x 12 months x 12 hours x lunar
# days 1-30 (43200 equally weighted cases). Self palace: Yin + month - 1 -
# hour. Its stem comes from the five-tigers rule; the bureau (2-6) is the
# phase of that stem-branch pair (30 pairs, one digit each). Zi Wei follows
# the usual day / bureau rule. For each archetype we count: the self palace
# holds it ("solid"); the self palace is empty and borrows it ("borrowed");
# it sits opposite an occupied self palace ("facing"); and the same for
# the wealth palace (four palaces counter-clockwise from the self).
BUR = "463546254325632463546254325632"
OFF = {"Tai Yang": -3, "Wu Qu": -4, "Tian Ji": -1, "Tian Tong": -5,
"Lian Zhen": -8, "Zi Wei": 0}
FOFF = {"Tian Fu": 0, "Tai Yin": 1, "Tan Lang": 2, "Ju Men": 3,
"Tian Xiang": 4, "Tian Liang": 5, "Qi Sha": 6, "Po Jun": 10}
ORDER = ("Zi Wei", "Tian Ji", "Tai Yang", "Wu Qu", "Tian Tong", "Lian Zhen",
"Tian Fu", "Tai Yin", "Tan Lang", "Ju Men", "Tian Xiang",
"Tian Liang", "Qi Sha", "Po Jun")
FAMILY = ("Tai Yang", "Tai Yang+Tai Yin", "Tai Yang+Ju Men",
"Tai Yang+Tian Liang", "Ju Men", "Tian Liang")
def layout(zw):
pos = {s: (zw + o) % 12 for s, o in OFF.items()}
pos.update({s: (4 - zw + o) % 12 for s, o in FOFF.items()})
return ["+".join(s for s in ORDER if pos[s] == b) for b in range(12)]
def ziwei(day, bu):
k = 0
while (day + k) % bu:
k += 1
return (2 + (day + k) // bu - 1 + (k if k % 2 == 0 else -k)) % 12
if __name__ == "__main__":
LAY = [layout(z) for z in range(12)]
keys = ("solid", "borrowed", "facing", "w_solid", "w_borrowed")
n = {k: {f: 0 for f in FAMILY} for k in keys}
tot = empty = 0
for ys in range(10):
for m in range(1, 13):
for h in range(12):
mg = (2 + m - 1 - h) % 12
st = (ys % 5 * 2 + 2 + (mg - 2) % 12) % 10
bu = int(BUR[((6 * st - 5 * mg) % 60) // 2])
for d in range(1, 31):
at = LAY[ziwei(d, bu)]
tot += 1
me, op = at[mg], at[(mg + 6) % 12]
wl, wo = at[(mg - 4) % 12], at[(mg + 2) % 12]
empty += not me
for f in FAMILY:
n["solid"][f] += me == f
n["borrowed"][f] += (not me) and op == f
n["facing"][f] += bool(me) and op == f
n["w_solid"][f] += wl == f
n["w_borrowed"][f] += (not wl) and wo == f
print(" cases {}, self palace empty {:.4f}".format(tot, empty / tot))
print(" {:20} {:>7} {:>8} {:>7} {:>7} {:>8}".format(
"archetype", "solid", "borrowed", "facing", "w_solid", "w_borrow"))
for f in FAMILY:
print(" {:20} {:7.4f} {:8.4f} {:7.4f} {:7.4f} {:8.4f}".format(
f, *(n[k][f] / tot for k in keys)))
s = sum(n["solid"][f] + n["borrowed"][f] for f in FAMILY)
print(" family as self (solid or borrowed): {:.4f}".format(s / tot))Single source and citation
Fan, Y. (2026). The Zi Wei Holographic Personality and Monetization Atlas (Version 1.0.0), Chapter 4: Sun, Gate and Beam: Six Archetypes of Shining, Doubting and Covering. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-116 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026116,
author = {Fan, Yafu},
title = {The Zi Wei Holographic Personality and Monetization Atlas},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Method: Thirty-Eight Archetypes, Solid Stars, Borrowed Stars and the Opposite Palace
- Chapter 2 · The Zi Wei Family: Six Kinds of Sovereign
- Chapter 3 · Ji Yue Tong Liang: Nine Personalities of Planning, Care and Harmony
- Chapter 5 · Wu Qu: One Money Star and Its Six Partners
- Chapter 6 · The Six Lian Zhen Types: Rules Locked Around a Vault, a Desire, a Seal, a Blade and a Hammer
- Chapter 7 · The Vault, the Seal and the Three Movers: Five Lone Stars and Their Always-Solid Opposites
- Chapter 8 · Practice: Reading a Sample Chart, and a Blind-Matching Protocol