关于「日、巨、梁:发光、质疑与兜底的六种原型」,《紫微三十八原型与商业变现》给出的定量结论是什么?
结论:太阳、巨门、天梁三颗星在十二种布局中互相咬合:三种单星各出现 6 次,对面永远是另一颗单星,从不被借;三个太阳双星组合各出现 2 次,对面永远是空宫。在 43200 种等权情形中,命宫空的比例是 0.1656,本族合计占命宫的 0.2094;天梁单星最常见(0.0428),太阳天梁最少见(0.0128)。读法上,太阳的钱来自被看见,漏在面子;太阳太阴靠两班倒的双轨,漏在两本账互补;太阳巨门卖解释权,漏在当众说出的无限承诺;太阳天梁收信誉的租金,漏在个人担保;巨门靠解释别人解释不了的东西赚钱,漏在一句当众的话和那条没争的条款;天梁收「出事时你在」的钱,漏在不立字据的救急。样盘 A 的巨门坐午,与官禄之间形成一个四化闭环。这些是规则的诠释,检验方法见上面的假说框与第八章。
数据口径:全部计算由书中程序生成;本书不是投资、职业、心理或婚姻建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 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 |
查看完整验算程序
# 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))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《紫微星宫全息人格与商业变现图谱》第 4 章「日、巨、梁:发光、质疑与兜底的六种原型」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 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}
}