5D Library › 古典卜卦尊贵度积分、恒星二十七宿岁差与维姆肖塔里运限链 · English

第六章 维姆肖塔里运限:嵌套切分与横截面的先验偏差

一百二十年的链

维姆肖塔里运限(Vimshottari dasha)把一生排成九曜依次主管的大运:计都 7 年、金星 20 年、太阳 6 年、月亮 10 年、火星 7 年、罗睺 18 年、木星 16 年、土星 19 年、水星 17 年,合计 120 年 (Parashara 1984)。出生时月亮所在宿的主星决定第一个大运;月亮在该宿中尚未走完的部分决定第一个大运的余额 bb。设月亮在该宿中已走 mm 角分,则

b=T(1−m800).b = T \left(1 – \frac{m}{800}\right).

每个大运又按同一次序分成九个子运(antardasha),从大运主星本身开始,子运 jj 的长度为 TiTj/120T_i T_j / 120 年;子运还可以再按同一规则分下去。

推导

# Chapter 6. p11: Vimshottari dasha - balance at birth and nested periods.
# Nine lords in the order Ketu, Venus, Sun, Moon, Mars, Rahu, Jupiter,
# Saturn, Mercury with 7, 20, 6, 10, 7, 18, 16, 19, 17 years (sum 120).
# The Moon's nakshatra fixes the first lord; the unelapsed part of the
# nakshatra fixes the balance: balance = T * (1 - elapsed / 800').
# Sub-periods (antardasha) of lord i run through all nine lords from i,
# lord j getting T_i T_j / 120 years; the same rule nests again.
from fractions import Fraction

LORDS = ("Ketu", "Venus", "Sun", "Moon", "Mars", "Rahu", "Jupiter",
         "Saturn", "Mercury")
YEARS = (7, 20, 6, 10, 7, 18, 16, 19, 17)

def mahadashas(moon_arcmin, span=120):
    k = int(moon_arcmin // 800)
    i = k % 9
    elapsed = Fraction(moon_arcmin) - 800 * k
    out = [(LORDS[i], YEARS[i] * (1 - elapsed / 800))]
    t = out[0][1]
    while t < span:
        i = (i + 1) % 9
        out.append((LORDS[i], Fraction(YEARS[i])))
        t += YEARS[i]
    return out

def sub(i, years):
    return [(LORDS[(i + n) % 9], years * YEARS[(i + n) % 9] / 120)
            for n in range(9)]

if __name__ == "__main__":
    print("   sum of periods: {} years".format(sum(YEARS)))
    L = Fraction(15 * 60 + 33)          # Moon at 15 deg 33' sidereal
    md = mahadashas(L)
    print("   Moon at 15 deg 33' (Bharani, nakshatra 2): first lord {},"
          .format(md[0][0]))
    print("   balance {:.4f} years".format(float(md[0][1])))
    age = Fraction(0)
    for lord, yrs in md[:5]:
        print("     age {:7.3f} to {:7.3f}  {}".format(
            float(age), float(age + yrs), lord))
        age += yrs
    i = LORDS.index("Venus")
    subs = sub(i, Fraction(20))
    print("   Venus mahadasha, antardashas (years):")
    print("     " + ", ".join("{} {:.3f}".format(l[:3], float(y))
                             for l, y in subs[:5]))
    print("     " + ", ".join("{} {:.3f}".format(l[:3], float(y))
                             for l, y in subs[5:]))
    print("   antardashas sum to {} years: {}".format(
        20, sum(y for _, y in subs) == 20))
    third = sum(y for _, y in sub(i, subs[0][1]))
    print("   third level inside Venus-Venus sums to {} = {:.4f} years"
          .format(third, float(third)))
    print("   shortest antardasha: Sun-Sun {:.4f} years = {:.1f} days".format(
        6 * 6 / 120, 6 * 6 / 120 * 365.25))
#    sum of periods: 120 years
#    Moon at 15 deg 33' (Bharani, nakshatra 2): first lord Venus,
#    balance 16.6750 years
#      age   0.000 to  16.675  Venus
#      age  16.675 to  22.675  Sun
#      age  22.675 to  32.675  Moon
#      age  32.675 to  39.675  Mars
#      age  39.675 to  57.675  Rahu
#    Venus mahadasha, antardashas (years):
#      Ven 3.333, Sun 1.000, Moo 1.667, Mar 1.167, Rah 3.000
#      Jup 2.667, Sat 3.167, Mer 2.833, Ket 1.167
#    antardashas sum to 20 years: True
#    third level inside Venus-Venus sums to 10/3 = 3.3333 years
#    shortest antardasha: Sun-Sun 0.3000 years = 109.6 days

程序以月亮在恒星黄经 15 度 33 分(第 2 宿 Bharani,主星金星)为例:已走 133 角分,金星大运余额为 16.6750 年,随后是太阳、月亮、火星、罗睺。金星大运的九个子运长度之和恰为 20 年;第三层(金星-金星子运中的再分)之和为 10/3 年。最短的子运是太阳-太阳,0.3000 年,约 109.6 天。这种自相似的切分使每一层的长度之和都等于上一层。

固定年龄的人群处于哪个大运

一个常见的说法是:在任意年龄的人群中,处于某一大运的人口比例正比于该大运的长度 Ti/120T_i/120。程序检验这一说法。

月亮的恒星黄经在人群中是均匀的,所以出生时每位主星各占三个宿,概率都是 1/9;在该主星的周期中已经走过的比例 ee 在 0 到 1 之间均匀。年龄为 aa 时,此人在 120 年循环中的位置是 Ci+eTi+a(mod⁡120)C_i + e\,T_i + a \pmod{120},CiC_i 是主星 ii 的起点。把这些区间逐一求交,就得到精确的比例。

推导

# Chapter 6. p12: Which mahadasha is a person of age a in? Not T/120.
# The Moon's sidereal longitude is uniform, so at birth each lord has
# probability 1/9 (three nakshatras each) and the elapsed share e of that
# lord's period is uniform on [0, 1). Phase in the 120-year cycle at age
# a: C_i + e T_i + a (mod 120), C_i the start of lord i. We compute
# P(lord j at age a) exactly by intersecting intervals.
from fractions import Fraction

LORDS = ("Ketu", "Venus", "Sun", "Moon", "Mars", "Rahu", "Jupiter",
         "Saturn", "Mercury")
T = (7, 20, 6, 10, 7, 18, 16, 19, 17)
C = [sum(T[:i]) for i in range(9)]

def overlap(a0, a1, b0, b1):
    return max(Fraction(0), min(a1, b1) - max(a0, b0))

def share(j, age):
    total = Fraction(0)
    for i in range(9):
        lo = (C[i] + Fraction(age)) % 120
        pieces = [(lo, lo + T[i])] if lo + T[i] <= 120 else \
            [(lo, Fraction(120)), (Fraction(0), lo + T[i] - 120)]
        hit = sum(overlap(p0, p1, C[j], C[j] + T[j]) for p0, p1 in pieces)
        total += Fraction(1, 9) * hit / T[i]
    return total

if __name__ == "__main__":
    print("   lord      T/120   age 0   age 30  age 40  age 60  mean 0-120")
    worst = 0
    for j in range(9):
        row = [share(j, a) for a in (0, 30, 40, 60)]
        grid = [share(j, Fraction(k, 4)) for k in range(480)]
        mean = sum(grid) / len(grid)
        worst = max(worst, max(abs(g - Fraction(T[j], 120)) for g in grid))
        print("   {:8s}  {:.4f}  ".format(LORDS[j], T[j] / 120) +
              "  ".join("{:.4f}".format(float(x)) for x in row) +
              "  {:.4f}".format(float(mean)))
    print("   1/9 = {:.4f}; largest gap from T/120 at any age: {:.4f}".format(
        1 / 9, float(worst)))
    print("   the shares repeat every 120 years: {}".format(
        all(share(j, 7) == share(j, 127) for j in range(9))))
#    lord      T/120   age 0   age 30  age 40  age 60  mean 0-120
#    Ketu      0.0583  0.1111  0.0409  0.0453  0.0432  0.0583
#    Venus     0.1667  0.1111  0.1266  0.1197  0.1348  0.1667
#    Sun       0.0500  0.1111  0.0672  0.0392  0.0351  0.0500
#    Moon      0.0833  0.1111  0.0968  0.0934  0.0585  0.0833
#    Mars      0.0583  0.1111  0.0389  0.0802  0.0458  0.0583
#    Rahu      0.1500  0.1111  0.2056  0.1130  0.1820  0.1500
#    Jupiter   0.1333  0.1111  0.1914  0.2196  0.0889  0.1333
#    Saturn    0.1583  0.1111  0.1211  0.1755  0.2389  0.1583
#    Mercury   0.1417  0.1111  0.1115  0.1142  0.1728  0.1417
#    1/9 = 0.1111; largest gap from T/120 at any age: 0.1190
#    the shares repeat every 120 years: True

结果否定了这一说法。出生时(年龄 0),九个大运各占 0.1111,不论长短。此后比例随年龄变化:30 岁时罗睺大运占 0.2056(周期比例 0.1500),木星占 0.1914(0.1333);40 岁时木星占 0.2196;60 岁时土星占 0.2389(0.1583)。在任何年龄,与 Ti/120T_i/120 的最大差距可达 0.1190。只有把比例对 0 到 120 岁取平均,才恰好等于 Ti/120T_i/120。

四个大运在各年龄的人口比例(实线)与周期比例 T/120(虚线);点线为 1/9(p12)。

证据

为什么更新过程定理在这里不适用。 平稳更新过程中「某一时刻处于长度为 TT 的区间的概率正比于 TT」,需要过程已经平稳,或区间长度随机且不格点化。维姆肖塔里运限的长度是固定的,各人的起点也不是平稳分布(出生时各主星各占九分之一,而不是按长度加权),循环又严格以 120 年为周期,所以横截面比例永远不收敛,只是以 120 年为周期重复。程序也验证了这一点:7 岁与 127 岁的比例完全相同。

假说 · 尚未验证

作者的假说(尚未验证): 以「某一大运的人特别多」来解释某个年龄段的普遍经验,所依据的人口比例是本章的横截面比例,而不是周期比例;这种解释因此在不同年龄段会指向不同的大运。什么会证明它错: 若在某一出生队列中实际统计的大运分布与本章的精确比例显著不同(例如因为出生时刻在月亮黄经上不均匀),这一推理就需要修正。

小结

维姆肖塔里运限是 120 年的自相似嵌套切分,每一层的长度之和都守恒。固定年龄的人群中处于各大运的比例在出生时都是九分之一,此后以 120 年为周期变化,与周期比例的差距可达 0.1190;只有对年龄取平均才等于 Ti/120T_i/120。

参考文献

Parashara. 1984. Brihat Parasara Hora Sastra. Translated by R. Santhanam. Ranjan Publications.

Fan, Y. (2026). Horary Dignity Scoring, Sidereal Nakshatra Precession and Vimshottari Dasha Chains: Reception Matrix Algebra, Ayanamsha Drift Kinetics and Non-Uniform Planetary Period Partitions [古典卜卦尊贵度积分、恒星二十七宿岁差与维姆肖塔里运限链] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090195 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).