What does Four-Pillar Computation conclude, in numbers, about “Timing Errors and the Edges of the Double-Hours”?

Answer: Chapter 3 follows errors through: a quarter of an hour of error makes the hour pillar wrong with probability 0.06250 to 0.09974, the day, month and year pillars one to three orders of magnitude less often; it gives the conditional probabilities a "boundary check" needs; and the starting age of the luck cycles is a straight line of one year per three days between solar terms that jumps by as much as 10.48 years at a term.

Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.

中文版

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: 0.06250, 0.09974

error uniform with d5, 15, 30 minutes
pillar d5 d=15 d=30
hour0.02083 0.06250 0.12500
day0.00174 0.00521 0.01042
month0.00006 0.00017 0.00034
year0.00000 0.00001 0.00003
error normal with d5, 15, 30 minutes
pillar d5 d=15 d=30
hour0.03325 0.09974 0.19947
day0.00277 0.00831 0.01662
month0.00009 0.00027 0.00055
year0.00001 0.00002 0.00005
one degree of longitude4 minutes of solar time
normal error, s.d. 30 min: hour pillar wrong 0.199
boundary spacing in hours-of-two: hour 1, day 12, month 365, year 4,383
Reading: a quarter of an hour of uncertainty already changes
the hour pillar for one birth in ten under the normal model and
one in sixteen under the uniform; the day, month and year
pillars change far less often, because their boundaries are 12,
365 and 4,383 times as far apart.
Show the full program
# Chapter 3. How often a timing error changes a pillar.
# A pillar changes at boundaries spaced L minutes apart (hour: 120; day:
# 1,440; month: one solar term "jie" to the next, on average a twelfth of
# a tropical year; year: one tropical year, at the Beginning of Spring).
# If the true birth time is spread evenly and the recorded time is off
# by e, the pillar is wrong with probability E[min(|e|, L)] / L. Two
# error models: e uniform on [-d, d], and e normal with s.d. d.
import math

YEAR = 365.2422 * 1440
L = {"hour": 120, "day": 1440, "month": YEAR / 12, "year": YEAR}

def mean_abs(d, model):
    return d / 2 if model == "uniform" else d * math.sqrt(2 / math.pi)

if __name__ == "__main__":
    for model in ("uniform", "normal"):
        print("   error {} with d = 5, 15, 30 minutes".format(model))
        print("     pillar      d=5       d=15      d=30")
        for k, span in L.items():
            print("     {:6s}  ".format(k) + "  ".join(
                "{:8.5f}".format(min(mean_abs(d, model), span) / span)
                for d in (5, 15, 30)))
    print("   one degree of longitude = 4 minutes of solar time")
    d = 30
    hour = mean_abs(d, "normal") / 120
    print("   normal error, s.d. 30 min: hour pillar wrong {:.3f}".format(
        hour))
    print("   boundary spacing in hours-of-two: " + ", ".join(
        "{} {:,.0f}".format(k, v / 120) for k, v in L.items()))
    print("\nReading: a quarter of an hour of uncertainty already changes")
    print("the hour pillar for one birth in ten under the normal model and")
    print("one in sixteen under the uniform; the day, month and year")
    print("pillars change far less often, because their boundaries are 12,")
    print("365 and 4,383 times as far apart.")

Single source and citation

Fan, Y. (2026). Four-Pillar Calendrical Computation and Formal Rule Engines (Version 1.0.0), Chapter 3: Timing Errors and the Edges of the Double-Hours. 5D Library. https://doi.org/10.5281/zenodo.24090180

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

BibTeX
@book{fan2026066,
  author    = {Fan, Yafu},
  title     = {Four-Pillar Calendrical Computation and Formal Rule Engines},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090180},
  url       = {https://doi.org/10.5281/zenodo.24090180}
}

Other chapter answers in this book