What does Moon Blocks, Holy Casts and Temple Verses conclude, in numbers, about “Closing the Loop: Randomness Statements, a Controlled Experiment on Satisfaction and a Pre-Registered Protocol”?
Answer: Chapter 8 gives a randomness statement, a controlled experiment on satisfaction and universality, a pre-registered protocol and the Moon Block Probability Simulator. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs. Chapter 7 examines the entry on divination cups in Cheng Dachang's Yanfanlu and Cicero's De Divinatione, setting the illustrative Venus throw of four knucklebones, 0.0384, beside three holy casts.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only
| shape h/w p holy q^3 1 in wait sim | ||||||
| segment | 0.300 0.5769 | 0.4882 | 0.1163 | 8.60 | 14.84 | 0.1145 |
| segment | 0.500 0.6278 | 0.4674 | 0.1021 | 9.80 | 16.51 | 0.1043 |
| cap | 0.327 0.6128 | 0.4745 | 0.1069 | 9.36 | 15.91 | 0.1089 |
| cap | 0.500 0.6756 | 0.4384 | 0.0842 | 11.87 | 19.36 | 0.0820 |
| shell | 0.500 0.7236 | 0.4000 | 0.0640 | 15.62 | 24.37 | 0.0651 |
| pair 0.70/0.30 | holy 0.5800 | q^3 0.1951 | sim 0.1935 | |||
Show the full program
# Chapter 8. p82: the core of the Moon Block Probability Simulator.
# Model: the same functions as distill/tool.py. A shape (2-D segment
# of p11, solid cap of p12, thin shell of p72) and a height-to-width
# ratio give each block's chance p of landing flat face up under the
# quasi-static rule; two blocks (p1, p2) give holy, laughing and yin
# shares; three holy in a row is holy^3; the mean wait for a run of
# three is (1 - q^3) / ((1 - q) q^3). A seeded simulation of 20000
# three-cast sessions checks the exact numbers. Shapes illustrative.
import math
import random
SESSIONS = 20000
def cap_h(ratio):
# unit-sphere cap height h whose height-to-width h / (2a) = ratio
lo, hi = 1e-9, 1.0
for _ in range(80):
mid = (lo + hi) / 2.0
if mid / (2.0 * math.sqrt(mid * (2.0 - mid))) < ratio:
lo = mid
else:
hi = mid
return (lo + hi) / 2.0
def p_flat_up(shape, ratio):
if shape == "segment":
al = 2.0 * math.atan(2.0 * ratio)
yc = 4.0 * math.sin(al) ** 3 / (3.0 * (2.0 * al
- math.sin(2.0 * al)))
return 1.0 - math.atan(math.sin(al) / (yc - math.cos(al))) / math.pi
h = cap_h(ratio)
a = math.sqrt(h * (2.0 - h))
zg = h / 2.0 if shape == "shell" else h * (4.0 - h) / (4.0 * (3.0 - h))
return 1.0 - (1.0 - zg / math.hypot(zg, a)) / 2.0
def shares(p1, p2):
holy = p1 * (1.0 - p2) + p2 * (1.0 - p1)
return holy, p1 * p2, (1.0 - p1) * (1.0 - p2)
def wait_run(q, k=3):
return (1.0 - q ** k) / ((1.0 - q) * q ** k)
def simulate(p1, p2, rng, sessions=SESSIONS):
three = 0
for _ in range(sessions):
ok = True
for _ in range(3):
a = rng.random() < p1
b = rng.random() < p2
if a == b:
ok = False
three += ok
return three / sessions
if __name__ == "__main__":
rng = random.Random(20261112)
print(" shape h/w p holy q^3 1 in wait sim")
for shape, ratio in (("segment", 0.3), ("segment", 0.5),
("cap", 0.327), ("cap", 0.5), ("shell", 0.5)):
p = p_flat_up(shape, ratio)
q, _, _ = shares(p, p)
print(" {:<7s} {:.3f} {:.4f} {:.4f} {:.4f} {:5.2f} {:5.2f}"
" {:.4f}".format(shape, ratio, p, q, q ** 3, 1.0 / q ** 3,
wait_run(q), simulate(p, p, rng)))
q, _, _ = shares(0.7, 0.3)
print(" pair 0.70/0.30 holy {:.4f} q^3 {:.4f} sim {:.4f}"
.format(q, q ** 3, simulate(0.7, 0.3, rng)))Single source and citation
Fan, Y. (2026). Rigid-Body Landing Probabilities of Moon Blocks, the Likelihood of Three Consecutive Holy Casts and Barnum Effects in Temple Oracle Verses (Version 1.0.0), Chapter 8: Closing the Loop: Randomness Statements, a Controlled Experiment on Satisfaction and a Pre-Registered Protocol. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-225 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026225,
author = {Fan, Yafu},
title = {Rigid-Body Landing Probabilities of Moon Blocks, the Likelihood of Three Consecutive Holy Casts and Barnum Effects in Temple Oracle Verses},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Flat Face and Convex Face: the Rigid-Body Resting Stability of a Single Moon Block
- Chapter 2 · Three Holy Casts in a Row: One Eighth Is a Ceiling, Not a Miracle
- Chapter 3 · A Logbook of Three Hundred Casts: Three-Way Counts, a Test of Independence and the Mismatched Pair
- Chapter 4 · How Universal a Temple Verse Is: Scoring Barnum Statements and a Model of Acceptance
- Chapter 5 · Matching After the Fact: Ambiguous Clauses, Time Windows and Selective Memory
- Chapter 6 · The Rite as a Protocol: Restart Rules, Stopping Rules and the Evenness of the Lot Tube
- Chapter 7 · Classical Sources East and West: the Entry on Divination Cups in the Yanfanlu and Cicero's De Divinatione