What does Ritual, Space and the Self conclude, in numbers, about “Stress Axis, Breathing and Inflammation: Which Parts Are Equations and Which Are Evidence”?
Answer: Allostatic load is a multi-marker index, not a variable in an equation; the book's HPA equations are an illustrative model, and the RK4 numerical error is negligible. In this model the diurnal cortisol slope flattens mainly with an evening load (from −0.137 to −0.030), while feedback resistance steepens it; in human meta-analysis a flatter slope is associated with poorer health with \(r = 0.147\), an association. Resonance breathing comes from the delay of the baroreflex loop; it is close to, but not the same as, Mayer waves, and resonance frequencies differ between people; RMSSD is relatively insensitive to slow oscillations (it changes far less than SDNN), yet breathing during the recording still changes it clearly. Evidence for the cholinergic anti-inflammatory pathway comes mainly from animals and implanted stimulators; evidence that breathing practice lowers inflammatory cytokines in people is thin; the kinetics of endogenous peptides in this book are only illustrative.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.
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
| cortisol in units of baseline F(08:00) = 100 | |||||
| scenario | F(08h) | F(22h) | ratio | slope (ln/h) | mean F |
| baseline | 100.0 | 28.6 | 3.50 | -0.137 | 66.7 |
| constant extra drive S = 0.5 | 117.3 | 40.6 | 2.89 | -0.122 | 81.3 |
| evening load 17-23 h (+1.0) | 100.0 | 85.0 | 1.18 | -0.030 | 80.9 |
| feedback resistance Ki x 2 | 143.9 | 30.0 | 4.80 | -0.160 | 89.2 |
| S = 0.5 and Ki x 2 | 176.2 | 44.0 | 4.01 | -0.147 | 114.0 |
| RK4 check: largest change in F when the step is halved: 5.7e-10 units |
Key formula
Show the full program
# A three-variable HPA-axis model solved with fourth-order Runge-Kutta (Chapter 2).
# The author's simplified model in the spirit of Gupta et al. (2007) and Sriram et al.
# (2012); it is NOT their model and its parameters are illustrative, not fitted.
# dC/dt = D(t) (1 + S) / (1 + (F/Ki)^2) - C/tc CRH, circadian drive D(t)
# dA/dt = C / (1 + (F/Ki)^2) - A/ta ACTH
# dF/dt = A - F/tf cortisol
# D(t) = 1 + 0.9 cos(2 pi (t - 6.5)/24). Time in hours; half-lives about 4 min (CRH),
# 10 min (ACTH) and 65 min (cortisol). Diurnal slope: least-squares slope of ln F
# against clock time from 07:00 to 22:00, as in many field studies (ln units per hour).
import math
TC, TA, TF = 4 / 60 / math.log(2), 10 / 60 / math.log(2), 65 / 60 / math.log(2)
def rhs(t, y, S, Ki, evening):
c, a, f = y
d = 1 + 0.9 * math.cos(2 * math.pi * (t - 6.5) / 24)
if evening and 17 <= t % 24 < 23:
d += evening # stress load late in the day
fb = 1 / (1 + (f / Ki) ** 2)
return (d * (1 + S) * fb - c / TC, c * fb - a / TA, a - f / TF)
def rk4(S=0.0, Ki=0.04, evening=0.0, days=8, dt=0.005):
y, t, out = (0.1, 0.1, 0.1), 0.0, []
for _ in range(round(days * 24 / dt)):
f = lambda tt, yy: rhs(tt, yy, S, Ki, evening)
k1 = f(t, y)
k2 = f(t + dt / 2, tuple(v + dt / 2 * k for v, k in zip(y, k1)))
k3 = f(t + dt / 2, tuple(v + dt / 2 * k for v, k in zip(y, k2)))
k4 = f(t + dt, tuple(v + dt * k for v, k in zip(y, k3)))
y = tuple(v + dt / 6 * (p + 2 * q + 2 * r + s)
for v, p, q, r, s in zip(y, k1, k2, k3, k4))
t += dt
if t > (days - 1) * 24 - 1e-9:
out.append((t - (days - 1) * 24, y[2]))
return out
def slope(day):
pts = [(t, math.log(f)) for t, f in day if 7 <= t <= 22]
mt = math.fsum(t for t, _ in pts) / len(pts)
my = math.fsum(v for _, v in pts) / len(pts)
return (math.fsum((t - mt) * (v - my) for t, v in pts)
/ math.fsum((t - mt) ** 2 for t, _ in pts))
def at(day, h):
return min(day, key=lambda p: abs(p[0] - h))[1]
SCEN = (("baseline", {}), ("constant extra drive S = 0.5", {"S": 0.5}),
("evening load 17-23 h (+1.0)", {"evening": 1.0}),
("feedback resistance Ki x 2", {"Ki": 0.08}),
("S = 0.5 and Ki x 2", {"S": 0.5, "Ki": 0.08}))
print("cortisol in units of baseline F(08:00) = 100")
print("scenario F(08h) F(22h) ratio slope (ln/h) mean F")
res = {}
for name, kw in SCEN:
day = rk4(**kw); res[name] = day
u = 100 / at(res["baseline"], 8)
print(f"{name:30s} {u * at(day, 8):6.1f} {u * at(day, 22):7.1f}"
f" {at(day, 8) / at(day, 22):6.2f} {slope(day):11.3f}"
f" {u * math.fsum(f for _, f in day) / len(day):8.1f}")
fine = rk4(dt=0.0025)
err = max(abs(a[1] - b[1]) for a, b in zip(res["baseline"], fine[0::2]))
print(f"RK4 check: largest change in F when the step is halved:"
f" {err * 100 / at(res['baseline'], 8):.1e} units")Single source and citation
Fan, Y. (2026). Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence (Version 1.0.0), Chapter 2: Stress Axis, Breathing and Inflammation: Which Parts Are Equations and Which Are Evidence. 5D Library. https://doi.org/10.5281/zenodo.23839910
DOI: 10.5281/zenodo.23839910 · Read the monograph · 5DL-B-051 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026051,
author = {Fan, Yafu},
title = {Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23839910},
url = {https://doi.org/10.5281/zenodo.23839910}
}Other chapter answers in this book
- Chapter 1 · More Than Superstition, Less Than a Cure-All: Anxiety, Rigid Action and Precision Weighting
- Chapter 3 · Walking Through a Door: the Doorway Effect, Event Boundaries and the Maps of the Hippocampus
- Chapter 4 · From Rumination to the Present: the Triple-Network Model and Salience-Network Switching
- Chapter 5 · Expectation and Learning: Open and Hidden Administration, Placebo and Conditioned Immunity
- Chapter 6 · Incense, Sound and Cost: Multisensory Integration, Breathing Rhythms and Costly Signals
- Chapter 8 · Practice and a Pre-Registered Test