关于「五节点循环有向图:循环矩阵谱、Hopf 分岔与对数和」,《五节点循环网络与黄经历表》给出的定量结论是什么?

结论:第二章写出五节点生成-隔一抑制环的循环矩阵谱,证明没有自身饱和时均匀状态总不稳定,Hopf 阈值为 c1·cos72° + c2·cos36°,耦合比等于黄金比 1.618 时没有振荡诞生;分岔是超临界的;对数和只在零和环中守恒(2,000 个时间单位漂移 4.71e-11),在生成-抑制环中一个周期变化 1.89。

数据口径:书中的五节点环只借用传统「相生」「相克」的图结构,不对它在医学、命理或任何真实系统中的含义作任何主张;除太阳位置与历法常数外,全部数据为程序生成的合成数据。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: -11, 1.89, 2000, 4.71

A. mu_c = 0.7135
   mu_c - mu   size (start 0.01)  size (start 0.5)  size^2/(mu_c-mu)  min x
     +0.200       0.51596           0.51596            1.331      0.0029
     +0.100       0.40632           0.40632            1.651      0.0201
     +0.050       0.31492           0.31492            1.984      0.0513
     +0.020       0.21251           0.21251            2.258      0.0957
     +0.010       0.15298           0.15299            2.340      0.1236
     -0.020       0.00000           0.00000              -      0.2000
B. H = sum ln x_i along 2,000 time units (step 0.02)
   antisymmetric ring     H in [-8.245226, -8.245226], range 4.71e-11
   ring, mu = mu_c - 0.1  H in [-10.137253, -8.245356], range 1.89
Reading: below mu_c a stable oscillation is born whose size
does not depend on the start, and size^2 / (mu_c - mu) settles
near a constant: a supercritical Hopf bifurcation. The log-sum
H is conserved only by the zero-sum (antisymmetric) ring; the
generation-inhibition ring with self-limitation does not keep
it.

核心公式

\[A = c_1 S - c_2 S^2 - \mu I .\]
查看完整验算程序
# Chapter 2. p05: Replicator dynamics on the ring: Hopf and the log-sum.
#     dx_i/dt = x_i ((A x)_i - x.A x),   A = c1 S - c2 S^2 - mu I
# integrated in log coordinates u_i = ln x_i (x = softmax u), RK4, step
# 0.1, which keeps every x_i positive however close it comes to 0.
# A. c1 = 1, c2 = 0.5, so mu_c = 0.7135 (p04). For mu below mu_c the
#    uniform state loses stability; the oscillation's size (max x - min
#    x over the cycle) is measured after 4,000 time units, from a small
#    and a large starting perturbation. A supercritical Hopf has
#    size^2 / (mu_c - mu) tending to a constant.
# B. The quantity H = sum_i ln x_i. Its rate is
#        dH/dt = sum_i (A x)_i - 5 x.A x .
#    For an antisymmetric (zero-sum) ring, A = c1 (S - S^T) - c2 (S^2 -
#    S^2T), both terms vanish and H is conserved. For the ring above it
#    is not.
import math

def soft(u):
    m = max(u)
    e = [math.exp(a - m) for a in u]
    s = sum(e)
    return [a / s for a in e]

def ring(c1, c2, mu, anti=False):
    a = [[0.0] * 5 for _ in range(5)]
    for i in range(5):
        a[i][(i - 1) % 5] += c1
        a[i][(i - 2) % 5] -= c2
        a[i][i] -= mu
        if anti:
            a[i][(i + 1) % 5] -= c1
            a[i][(i + 2) % 5] += c2
    return a

def rhs(u, a):
    x = soft(u)
    ax = [sum(a[i][j] * x[j] for j in range(5)) for i in range(5)]
    m = sum(p * q for p, q in zip(ax, x))
    return [v - m for v in ax]

def step(u, a, h):
    k1 = rhs(u, a)
    k2 = rhs([p + h / 2 * q for p, q in zip(u, k1)], a)
    k3 = rhs([p + h / 2 * q for p, q in zip(u, k2)], a)
    k4 = rhs([p + h * q for p, q in zip(u, k3)], a)
    return [p + h / 6 * (q + 2 * r + 2 * s + t)
            for p, q, r, s, t in zip(u, k1, k2, k3, k4)]

def settle(a, eps, burn=4000.0, look=400.0, h=0.1):
    u = [eps * math.cos(2 * math.pi * i / 5) for i in range(5)]
    for _ in range(int(burn / h)):
        u = step(u, a, h)
    size, low = 0.0, 1.0
    for _ in range(int(look / h)):
        u = step(u, a, h)
        x = soft(u)
        size, low = max(size, max(x) - min(x)), min(low, min(x))
    return size, low

if __name__ == "__main__":
    c1, c2 = 1.0, 0.5
    muc = (c1 * math.cos(math.radians(72))
           + c2 * math.cos(math.radians(36)))
    print("A. mu_c = {:.4f}".format(muc))
    print("   mu_c - mu   size (start 0.01)  size (start 0.5)"
          "  size^2/(mu_c-mu)  min x")
    for d in (0.2, 0.1, 0.05, 0.02, 0.01, -0.02):
        s1, _ = settle(ring(c1, c2, muc - d), 0.01)
        s2, low = settle(ring(c1, c2, muc - d), 0.5)
        ratio = "{:8.3f}".format(s1 * s1 / d) if d > 0 else "     -"
        print("   {:+8.3f}     {:9.5f}         {:9.5f}         {}"
              "      {:.4f}".format(d, s1, s2, ratio, low))
    print("\nB. H = sum ln x_i along 2,000 time units (step 0.02)")
    for name, a in (("antisymmetric ring", ring(1.0, 0.5, 0.0, True)),
                    ("ring, mu = mu_c - 0.1", ring(c1, c2, muc - 0.1))):
        u = [0.4 * math.cos(2 * math.pi * i / 5 + 0.3) for i in range(5)]
        hs = []
        for n in range(100000):
            u = step(u, a, 0.02)
            if n % 50 == 0:
                hs.append(sum(math.log(v) for v in soft(u)))
        r = max(hs) - min(hs)
        print("   {:<22} H in [{:+.6f}, {:+.6f}], range {}".format(
            name, min(hs), max(hs),
            "{:.2f}".format(r) if r >= 0.01 else "{:.2e}".format(r)))
    print("\nReading: below mu_c a stable oscillation is born whose size")
    print("does not depend on the start, and size^2 / (mu_c - mu) settles")
    print("near a constant: a supercritical Hopf bifurcation. The log-sum")
    print("H is conserved only by the zero-sum (antisymmetric) ring; the")
    print("generation-inhibition ring with self-limitation does not keep")
    print("it.")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《五节点循环网络动力学、黄经历表与多尺度振子扰动》第 2 章「五节点循环有向图:循环矩阵谱、Hopf 分岔与对数和」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090168

DOI: 10.5281/zenodo.24090168 · 阅读本章所在专著 · 5DL-B-060 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026060,
  author    = {Fan, Yafu},
  title     = {Five-Node Cyclic Network Dynamics, Solar-Longitude Ephemeris and Multi-Scale Oscillator Perturbations},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090168},
  url       = {https://doi.org/10.5281/zenodo.24090168}
}

本书其他章节结论