关于「子女一行:情欲、孩子与共同造物的十六格」,《钦天双人合盘飞化》给出的定量结论是什么?
结论:本章写完了子女一行的十六格。子女宫在两人之间同时是情欲、孩子与共同造物;禄是 A 白给的拉力,权是 A 的掌舵,科是 A 给的体面,忌是 A 留下的钩子。精确枚举表明,十六格每一格都恰好是十二分之一(0.0833),没有哪一格罕见;但同一行的四支箭会成团落下:一支都不落进 B 这四个宫的只有 0.1639,孤钩占 0.1118,禄忌同落进这四个宫的占 0.0972。读每一格的关键,不在稀有,而在内容是否真的发生在你们之间;本章给出了两项可以预先登记的检验与所需样本量。
数据口径:全部计算由书中程序生成;本书不是婚姻、心理、法律或投资建议。 书中以标注框区分已发表的证据、可运行的 Python 计算、原典与作者的假说。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.0833, 0.0972, 0.1118, 0.1639
| pairs: 1866240000 | |
| 0 of the four arrows land in B's four palaces: 0.1639 | (if independent 0.1975) |
| 1 of the four arrows land in B's four palaces: 0.4181 | (if independent 0.3951) |
| 2 of the four arrows land in B's four palaces: 0.3428 | (if independent 0.2963) |
| 3 of the four arrows land in B's four palaces: 0.0713 | (if independent 0.0988) |
| 4 of the four arrows land in B's four palaces: 0.0039 | (if independent 0.0123) |
| mean arrows landing: 1.3333 | |
| lu and ji both land in B's four palaces: 0.0972 | (if independent 1/9 = 0.1111) |
| lone hook (ji lands, lu quan ke all miss): 0.1118 | |
| lu and ji in the same palace of B: 0.0333 | of which inside the four: 0.0111 |
| stem Yi | : lu TianJi and ji TaiYin share a palace in 0.1667 of B charts |
| stem Ji | : lu WuQu and ji WenQu share a palace in 0.0833 of B charts |
| stem Xin | : lu JuMen and ji WenChang share a palace in 0.0833 of B charts |
查看完整验算程序
# Chapter 4. p21: How the four arrows of A's Children row land together in one random pair.
# The four stars of one stem sit at fixed distances from each other in chart B, so the
# arrows are not independent even though each cell alone is exactly 1/12 (p20). Over all
# 43200 x 43200 pairs (A contributes only the stem of its Children palace, B the palace of
# every star) we count: how many of the four arrows land in B's four relational palaces
# (Self, Spouse, Children, Property); lu and ji both landing there; lu and ji landing in
# the very same palace of B; and the "lone hook": ji lands there while lu, quan, ke do not.
NAYIN = "310231423042104" * 2
BUREAU = {4: 2, 0: 3, 3: 4, 2: 5, 1: 6}
SIHUA = [["LianZhen", "PoJun", "WuQu", "TaiYang"], ["TianJi", "TianLiang", "ZiWei", "TaiYin"],
["TianTong", "TianJi", "WenChang", "LianZhen"], ["TaiYin", "TianTong", "TianJi", "JuMen"],
["TanLang", "TaiYin", "YouBi", "TianJi"], ["WuQu", "TanLang", "TianLiang", "WenQu"],
["TaiYang", "WuQu", "TaiYin", "TianTong"], ["JuMen", "TaiYang", "WenQu", "WenChang"],
["TianLiang", "ZiWei", "ZuoFu", "WuQu"], ["PoJun", "JuMen", "TaiYin", "TanLang"]]
HUA = ["lu", "quan", "ke", "ji"]
TARGET = {0: "Self", 2: "Spouse", 3: "Children", 9: "Property"}
def charts():
"""Yield (stem of the Yin palace, Ming branch, {star: palace index}) for all 43200 cases."""
for ys in range(10):
y0 = (ys % 5 * 2 + 2) % 10
for month in range(1, 13):
for hour in range(12):
ming = (2 + month - 1 - hour) % 12
st = (y0 + (ming - 2) % 12) % 10
bu = BUREAU[int(NAYIN[((6 * st - 5 * ming) % 60) // 2])]
for day in range(1, 31):
k = 0
while (day + k) % bu:
k += 1
zw = (2 + (day + k) // bu - 1 + (k if k % 2 == 0 else -k)) % 12
tf = (4 - zw) % 12
pos = {"ZiWei": zw, "TianJi": zw - 1, "TaiYang": zw - 3, "WuQu": zw - 4,
"TianTong": zw - 5, "LianZhen": zw - 8, "TianFu": tf, "TaiYin": tf + 1,
"TanLang": tf + 2, "JuMen": tf + 3, "TianXiang": tf + 4, "TianLiang": tf + 5,
"QiSha": tf + 6, "PoJun": tf + 10, "WenChang": 10 - hour, "WenQu": 4 + hour,
"ZuoFu": 4 + month - 1, "YouBi": 10 - (month - 1)}
yield y0, ming, {s: (ming - b) % 12 for s, b in pos.items()}
def stem_of(y0, ming, palace):
"""Five-tiger stem of the palace that sits `palace` steps counter-clockwise from Ming."""
return (y0 + ((ming - palace) % 12 - 2) % 12) % 10
from math import comb
SOURCE = 3
NAMES = "Jia Yi Bing Ding Wu Ji Geng Xin Ren Gui".split()
if __name__ == "__main__":
charts_b = list(charts())
n = len(charts_b)
stem_n = [0] * 10
for y0, ming, pal in charts_b:
stem_n[stem_of(y0, ming, SOURCE)] += 1
dist, both, same, same4, lone = [0] * 5, 0, 0, 0, 0
same_by_stem = [0] * 10
for y0, ming, pal in charts_b:
for s in range(10):
w = stem_n[s]
ps = [pal[SIHUA[s][h]] for h in range(4)]
inside = [p in TARGET for p in ps]
dist[sum(inside)] += w
both += w * (inside[0] and inside[3])
lone += w * (inside[3] and not any(inside[:3]))
if ps[0] == ps[3]:
same += w
same4 += w * inside[0]
same_by_stem[s] += 1
t = n * n
print(" pairs: {}".format(t))
for k in range(5):
print(" {} of the four arrows land in B's four palaces: {:.4f} (if independent {:.4f})".format(
k, dist[k] / t, comb(4, k) * (1 / 3) ** k * (2 / 3) ** (4 - k)))
print(" mean arrows landing: {:.4f}".format(sum(k * dist[k] for k in range(5)) / t))
print(" lu and ji both land in B's four palaces: {:.4f} (if independent 1/9 = {:.4f})".format(
both / t, 1 / 9))
print(" lone hook (ji lands, lu quan ke all miss): {:.4f}".format(lone / t))
print(" lu and ji in the same palace of B: {:.4f} of which inside the four: {:.4f}".format(
same / t, same4 / t))
for s in range(10):
if same_by_stem[s]:
print(" stem {:5s}: lu {} and ji {} share a palace in {:.4f} of B charts".format(
NAMES[s], SIHUA[s][0], SIHUA[s][3], same_by_stem[s] / n))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《钦天双人合盘与宿命情缘飞化母典》第 4 章「子女一行:情欲、孩子与共同造物的十六格」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-120 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026120,
author = {Fan, Yafu},
title = {The Qintian Synastry Codex of Cross-Flying Transformations},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}