What does Dyadic Coupling and Grid Games conclude, in numbers, about “The Stopping Time of Separation and the "Danger Window"”?

Answer: Chapter 4 writes the breaking of a lock as a first-passage time: with noise alone the hazard is constant and there is no danger window; a window comes from an assumed yearly shock, the hazard ratio rising from 1.09 to 11.22; testing a window with hazard ratio 2 needs about 130 dated separations, and choosing the month afterwards manufactures a window in 0.432 of studies.

Scope of the numbers: All data are synthetic, generated by its programs, and wherever physics or game theory is applied to people it is marked as an analogy. Chapter 7 reads the Tuan commentary on Xian and Heng, the Rhapsody of the Old Fisherman and Yang Hui's magic squares; that Xian upside down is Heng is read, as marked interpretation, as a transposed matrix.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 1.09, 11.22

   kick A   mean wait (years)   share in month after kick   hazard ratio
    0.0            7.82                  0.090                 1.09
    0.5            6.32                  0.177                 2.37
    1.0            4.05                  0.323                 5.24
    1.5            2.35                  0.505                11.22
Reading: without kicks the date of a slip is spread evenly over
the year. A kick both shortens the wait and concentrates slips
in the month that follows it. The window is a property of the
assumed kick: the model puts it there, it does not discover it.

Key formula

\[d\phi = \big(\Delta\omega - K\sin\phi\big)\,dt + \sigma\, dW, \qquad K = k_{AB} + k_{BA}.\]
Show the full program
# Chapter 4. A yearly shock on top of the noise.
# Same locked pair as p07 (K = 1, dw = 0.5, dV/D = 3, mean first slip about
# 165 time units). Let one "year" be 20 time units. At the start of every
# year the phase receives a kick of size A towards the barrier (an outside
# event of fixed size, at a fixed date). For 400 runs each, the program
# records the date of the first slip - the last time phi crossed the top
# of the barrier, pi - phi*, before going on to phi* + 2 pi - and reports
# the mean waiting time in years, the share of slips in the first twelfth
# of a year after a kick (1/12 = 0.083 if the date did not matter), and
# the hazard in that month relative to the rest of the year.
import math
import random

K, DW = 1.0, 0.5
PHI = math.asin(DW / K)
DV = 2 * K * math.cos(PHI) - DW * (math.pi - 2 * PHI)
YEAR, DT = 20.0, 0.01

def first_slip(a, d, rng):
    s = math.sqrt(2 * d * DT)
    steps_per_year = int(round(YEAR / DT))
    top = math.pi - PHI
    x, i, crossed = PHI, 0, 0.0
    while True:
        if a and i % steps_per_year == 0 and i > 0:
            x += a
        prev = x
        x += (DW - K * math.sin(x)) * DT + s * rng.gauss(0, 1)
        i += 1
        if prev < top <= x:
            crossed = i * DT
        if x >= PHI + 2 * math.pi:
            return crossed

if __name__ == "__main__":
    d = DV / 3.0
    rng = random.Random(62008)
    print("   kick A   mean wait (years)   share in month after kick"
          "   hazard ratio")
    for a in (0.0, 0.5, 1.0, 1.5):
        ts = [first_slip(a, d, rng) for _ in range(400)]
        mean_y = sum(ts) / len(ts) / YEAR
        frac = [(t / YEAR) % 1.0 for t in ts]
        early = sum(f < 1 / 12 for f in frac) / len(ts)
        ratio = (early / (1 / 12)) / ((1 - early) / (11 / 12))
        print("    {:3.1f}          {:6.2f}                  {:5.3f}"
              "                {:5.2f}".format(a, mean_y, early, ratio))
    print("\nReading: without kicks the date of a slip is spread evenly over")
    print("the year. A kick both shortens the wait and concentrates slips")
    print("in the month that follows it. The window is a property of the")
    print("assumed kick: the model puts it there, it does not discover it.")

Single source and citation

Fan, Y. (2026). Dyadic Phase Coupling, Bilinear Compatibility Tensors and Spatiotemporal Grid Games (Version 1.0.0), Chapter 4: The Stopping Time of Separation and the "Danger Window". 5D Library. https://doi.org/10.5281/zenodo.24090172

DOI: 10.5281/zenodo.24090172 · Read the monograph · 5DL-B-062 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026062,
  author    = {Fan, Yafu},
  title     = {Dyadic Phase Coupling, Bilinear Compatibility Tensors and Spatiotemporal Grid Games},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090172},
  url       = {https://doi.org/10.5281/zenodo.24090172}
}

Other chapter answers in this book