关于「廉贞六型:把规矩装进库、欲望、印、刀与锤」,《紫微三十八原型与商业变现》给出的定量结论是什么?

结论:廉贞是一颗「囚」星:它不决定关住什么,同宫的星决定。十二种布局里,紫微、廉贞、武曲永远站在同一个三角上(12 of 12),所以廉贞实坐命宫时财帛必是紫微、官禄必是武曲(3600 个案例)。六个原型的命宫份额是:独坐 0.0144、天相 0.0144、贪狼 0.0139、七杀 0.0139、破军 0.0139、天府 0.0128,合计 0.0833;只有廉贞贪狼会被空宫借走(0.0139),借入时紫微落福德、武曲落夫妻。廉贞化忌的开关在丙干:廉贞坐命者中,命宫自化忌的比例是 0.1067。读法上,六型的共同死穴都写在合同里:口头默契、个人担保、对赌、代签、无清算的退出——规则高手最常输在自己没写下来的那一条规则上。

数据口径:全部计算由书中程序生成;本书不是投资、职业、心理或婚姻建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 与结论吻合的打印值: 0.0128, 0.0139, 0.0144, 0.0833, 3600

   cases: 43200
   self palace Lian Zhen                solid 0.0144  borrowed 0.0000
   self palace Lian Zhen + Po Jun       solid 0.0139  borrowed 0.0000
   self palace Lian Zhen + Qi Sha       solid 0.0139  borrowed 0.0000
   self palace Lian Zhen + Tan Lang     solid 0.0139  borrowed 0.0139
   self palace Lian Zhen + Tian Fu      solid 0.0128  borrowed 0.0000
   self palace Lian Zhen + Tian Xiang   solid 0.0144  borrowed 0.0000
   Lian Zhen in the self palace, all forms: solid 0.0833, borrowed 0.0139
   borrowed Zi Wei in Fortune Wu Qu in Spouse  600 cases
   solid    Zi Wei in Wealth  Wu Qu in Career  3600 cases
查看完整验算程序
# Chapter 6. p31: How often each Lian Zhen archetype is the self palace.
# Exact enumeration over 10 year stems x 12 months x 12 hours x lunar
# days 1-30 (43200 equally weighted cases). The self palace branch comes
# from month and hour, the five-element bureau from the self palace's
# stem-branch sound (nayin), Zi Wei's branch from day and bureau, then
# the 14 stars by the standard offsets. A self palace with no main star
# "borrows" the palace opposite. We also check where Zi Wei and Wu Qu
# land whenever Lian Zhen is in, or is borrowed into, the self palace.
NAYIN = "310231423042104310231423042104"      # 0 wood 1 fire 2 earth 3 metal 4 water
BUREAU = {4: 2, 0: 3, 3: 4, 2: 5, 1: 6}
PAL = ("Self", "Siblings", "Spouse", "Children", "Wealth", "Health",
       "Travel", "Friends", "Career", "Property", "Fortune", "Parents")

def bureau(ys, mg):
    st = ((ys % 5) * 2 + 2 + (mg - 2) % 12) % 10
    return BUREAU[int(NAYIN[((6 * st - 5 * mg) % 60) // 2])]

def zw_pos(day, bu):
    k = 0
    while (day + k) % bu:
        k += 1
    return (2 + (day + k) // bu - 1 + (k if k % 2 == 0 else -k)) % 12

def stars_at(zw, b):
    tf = (4 - zw) % 12
    lz = {(zw + 4) % 12: "Lian Zhen"}
    other = {tf: "Tian Fu", (tf + 2) % 12: "Tan Lang", (tf + 4) % 12: "Tian Xiang",
             (tf + 6) % 12: "Qi Sha", (tf + 10) % 12: "Po Jun"}
    rest = {(zw - d) % 12 for d in (0, 1, 3, 4, 5)} | {(tf + d) % 12 for d in (1, 3, 5)}
    out = [lz[b]] if b in lz else []
    out += [other[b]] if b in other else []
    return out, (b in rest or b in lz or b in other)

if __name__ == "__main__":
    solid, bor, tot, where = {}, {}, 0, {}
    for ys in range(10):
        for m in range(1, 13):
            for h in range(12):
                mg = (2 + m - 1 - h) % 12
                bu = bureau(ys, mg)
                for d in range(1, 31):
                    zw, tot = zw_pos(d, bu), tot + 1
                    lz = (zw + 4) % 12
                    own, busy = stars_at(zw, mg)
                    if own and own[0] == "Lian Zhen":
                        k = " + ".join(own)
                        solid[k] = solid.get(k, 0) + 1
                        mode = "solid"
                    elif not busy and lz == (mg + 6) % 12:
                        k = " + ".join(stars_at(zw, lz)[0])
                        bor[k] = bor.get(k, 0) + 1
                        mode = "borrowed"
                    else:
                        continue
                    w = (mode, PAL[(mg - zw) % 12], PAL[(mg - zw - 8) % 12])
                    where[w] = where.get(w, 0) + 1
    print("   cases: {}".format(tot))
    for k in sorted(solid):
        print("   self palace {:24s} solid {:.4f}  borrowed {:.4f}".format(
            k, solid[k] / tot, bor.get(k, 0) / tot))
    print("   Lian Zhen in the self palace, all forms: solid {:.4f}, "
          "borrowed {:.4f}".format(sum(solid.values()) / tot,
                                   sum(bor.values()) / tot))
    for (mode, a, b), n in sorted(where.items()):
        print("   {:8s} Zi Wei in {:7s} Wu Qu in {:7s} {} cases".format(
            mode, a, b, n))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《紫微星宫全息人格与商业变现图谱》第 6 章「廉贞六型:把规矩装进库、欲望、印、刀与锤」(版本 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}
}

本书其他章节结论