5D Library › Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence · 中文
Preface: Ritual, Thresholds and the Self
Note
Health notice: please read this first. This book presents mathematical models and a review of the literature for teaching and research. It is not medical advice and cannot replace diagnosis and treatment by a doctor. Apart from published data with their sources given, every number in the book comes from synthetic data generated by the programs; none comes from real patients, research participants or community members. No breathing, ritual, listening or spatial-transition practice discussed in the book, and none of the acupuncture or press-needle methods it mentions, is a treatment for any disease, and none can replace medication, surgery or other validated treatment. People after a stroke, people with cardiovascular disease, pregnant women, people with epilepsy, people under psychiatric treatment and anyone with an underlying condition must decide whether to try any practice under the guidance of a licensed physician; slow breathing and breath-holding can cause dizziness and, in some people, discomfort. Press needles are medical devices and should be applied only by qualified practitioners. The book makes no promise to “cure”, “guarantee” or “improve by X %”; its models hold only under the assumptions stated, and every “proof” holds only inside the model. Any symptom should first be assessed by a doctor.
Before an exam, a speech or a match, people often perform small fixed actions: they straighten a pen, clap three times, repeat a familiar phrase. Many cultures set thresholds at important moments: one fasts before entering the ancestral hall, and speaks differently after crossing a certain door. People also say that walking home from the office, or simply moving to another room, changes their mood, and that a few slow, deep breaths steady the heart. The author’s framework places these experiences in one picture: ritual suppresses anxiety by lowering the uncertainty of action; spatial boundaries clear stressful context from working memory; multisensory ritual input switches the brain from self-referential rumination to bodily presence; and slow breathing restores endocrine and immune function through the vagus nerve. This book asks which of these claims are supported by mathematics and evidence, which need qualifying, and which are wrong.
Answering means keeping three things apart. The first is human evidence: experiments and observations in people, with their sample sizes, effect sizes and replication record. The second is animal and mechanistic evidence: studies in rats, mice or isolated cells, and conjectures about how neural circuits work; these can show that a mechanism may exist but not that a practice works in people. The third is the author’s models: sketches written as differential equations, Bayesian inference and network models, whose conclusions hold only inside the models. Every chapter keeps the three apart.
What the book covers
Chapter 1 discusses ritual and anxiety: Lang and colleagues’ 2015 finding that anxiety makes spontaneous movements more repetitive and rigid, Brooks and colleagues’ 2016 report that rituals reduce performance anxiety, and the author’s precision-weighting model of when a rigid action sequence can damp a top-down bias, together with the model’s “dark room” loophole. Chapter 2 solves an illustrative model of the hypothalamic–pituitary–adrenal axis with fourth-order Runge–Kutta, discusses the diurnal cortisol slope, and uses a baroreflex-loop model to discuss resonance breathing, RMSSD and the cholinergic anti-inflammatory pathway, keeping animal and human evidence apart. Chapter 3 discusses the doorway effect, event segmentation theory, grid cells, border cells and hippocampal remapping, comparing a context-reinstatement and an event-model account. Chapter 4 writes Menon’s triple-network model as Wilson–Cowan-type rate equations and discusses the switching role of the salience network and rumination. Chapter 5 discusses open and hidden administration, a Bayesian placebo model, regression to the mean, Rescorla–Wagner learning and conditioned immunosuppression. Chapter 6 discusses inverse effectiveness in multisensory integration and its statistical artefacts, the olfactory pathways, respiration-locked oscillations and the measurement traps of phase–amplitude coupling, and a screening model of costly signals. Chapter 7 reads the Suwen chapters “Shifting the Essence and Changing the Qi” and “On Pain”, the Lingshu chapter “The Root of the Spirit”, and the “Meaning of Sacrifices” and “Summary Account of Sacrifices” in the Book of Rites, and gives a two-dimensional boundary model of “organic load × functional load”. Chapter 8 gives a four-step checklist and a pre-registered three-arm randomised controlled trial.
The book borders on several other books in 5D Library; overlaps are only briefly recalled with their source and their programs are not repeated. Book 2, Turning Hearing Inward, discussed listening training and the perception of one’s own voice; Book 8, The Default Mode Network, the Entropic Brain and Neural Oscillations, discussed the energy budget and hubs of the default mode network and its deactivation in experienced meditators (only recalled in Chapter 4); Book 14, Dynamical Systems of Neurotransmitters and Hormones, discussed HPA negative feedback and bistability, allostatic-load indices, and baroreflex resonance at about six breaths a minute (only recalled in Chapter 2); Book 15, Sand Trays, Fate and Active Inference, discussed precision weighting, variational and expected free energy and Markov blankets (only recalled in Chapter 1); Book 24, Attention Networks, Working-Memory Bottlenecks and Self-Determination Theory, discussed Posner’s three networks, working-memory capacity and task switching (only recalled in Chapters 3 and 4); Book 33, Scientific Methodology, Falsifiability and the Mathematical Statistics of the Replication Crisis, discussed pre-registration, power and decision rules (followed in Chapters 1 and 8); Book 34, Psychophysics, the Weber–Fechner Law and Multisensory Bayesian Integration, discussed maximum-likelihood integration and causal inference (only recalled in Chapter 6); Book 35, Evolutionary Games, Direct and Indirect Reciprocity and the Emergence of Cooperation, discussed cooperation and reputation (only recalled in Chapter 6); and Book 44, Collective Dynamics, Coupled-Oscillator Synchrony and Distributed Consensus, discussed synchrony and collective ritual (only recalled in Chapter 6).
Claims corrected after checking
Several points in the author’s framework needed correcting, supplementing or qualifying after checking. Each chapter says so where it arises, and the points are collected in the accompanying editorial notes.
- The direction of ritual and anxiety. The 2015 experiment of Lang, Krátký, Shaver, Jerotijević and Xygalatas showed that people made anxious cleaned an object with more repetitive and rigid movements (Lang et al. 2015): anxiety elicits ritualised behaviour, which is not the same as ritual reducing anxiety. The second direction rests on other experiments, by Brooks and colleagues in 2016 and Norton and Gino in 2014 (Brooks et al. 2016; Norton and Gino 2014); their samples are small, their effects moderate, and large independent replications are still scarce (Hobson et al. 2018); the 2018 pre-registered study of Karl and Fischer replicated “anxiety elicits repetitive movement” but found essentially null results for stress reduction (Karl and Fischer 2018). “Ritual is more than superstition” can be defended, but not over-corrected (Chapter 1).
- “H → 0” and precision weighting. That the entropy of an action sequence goes to zero, proprioceptive precision rises and top-down bias is damped is the author’s model, not a measured neural fact; the mathematics of precision weighting and free energy was covered in Book 15 and is only recalled here (Friston 2010). The model damps the bias when ; the same model also underestimates the uncertainty of the world because of the predictable input it generates itself, a version of the “dark room problem” (Friston et al. 2012) (Chapter 1).
- Allostatic load and the cortisol slope. Allostatic load is McEwen’s concept and a multi-marker index (McEwen 1998), not a variable that can be written directly into a differential equation; the book’s HPA equations are an illustrative model after Gupta and colleagues and Sriram and colleagues (Gupta et al. 2007; Sriram et al. 2012), with unfitted parameters. In a meta-analysis, flatter diurnal cortisol slopes were associated with poorer health with an average (80 studies, 179 associations) (Adam et al. 2017): an association, not a cause. In the book’s model the slope flattens mainly with an evening load, while “feedback resistance” actually steepens it (Chapter 2).
- “0.1-Hz Mayer-wave resonance”. Mayer waves are spontaneous blood-pressure oscillations at about 0.1 Hz (Julien 2006); resonance breathing exploits the delay of the baroreflex loop, and resonance frequencies differ between people (Vaschillo et al. 2006; Lehrer and Gevirtz 2014): in the model, lengthening the baroreflex delay from 2.5 to 4.5 s moves the resonance from 8.12 to 4.92 breaths a minute. RMSSD reflects beat-to-beat changes and is relatively insensitive to slow oscillations (it changes far less than heart-rate amplitude and SDNN), yet it still changes clearly with breathing during the recording: the same model person has an RMSSD of 38.3 ms when recorded while breathing six times a minute and 27.8 ms at fifteen (Chapter 2).
- The cholinergic anti-inflammatory pathway and endogenous peptides. The evidence that the vagus nerve inhibits TNF through α7 nicotinic receptors comes mainly from animal experiments and implanted vagus-nerve stimulators (Borovikova et al. 2000; Tracey 2002; Wang et al. 2003; Koopman et al. 2016); human evidence that “breathing exercises lower TNF-α and IL-6” is thin and inconsistent. The often-cited 2014 study by Kox and colleagues trained breathing, cold exposure and meditation together and found raised adrenaline with lower inflammatory cytokines, a mechanism closer to the sympatho-adrenal system than to the vagus (Kox et al. 2014). The “kinetics” of β-endorphin and oxytocin are written only as illustrative models (Chapter 2).
- The doorway effect. Radvansky’s doorway effect is about the reduced accessibility of memory for objects from the room just left (Radvansky and Copeland 2006; Radvansky et al. 2011); it is tied to event segmentation theory (Zacks et al. 2007) and is not “clearing stressful context from working memory”. Returning to the original room did not restore memory and passing into two new rooms was worst, so performance depends on the number of new rooms (new event models) entered, which favours an event-model account over context reinstatement (Radvansky et al. 2011); of four experiments by McFadyen and colleagues, only the one in virtual reality with a working-memory load showed a doorway effect, as more false alarms rather than forgetting, while the unloaded virtual-reality experiment and the loaded video and real-walking experiments found none (McFadyen et al. 2021). “Spatial transition relieves stress” is written as a hypothesis only (Chapter 3).
- Where the cells are. Grid cells and border cells were found in the rat medial entorhinal cortex (Hafting et al. 2005; Solstad et al. 2008); global remapping was observed in hippocampal place cells (Muller and Kubie 1987; Leutgeb et al. 2005); this is mainly rodent evidence. Linking it to forgetting at a doorway in people is the author’s model (Chapter 3).
- The triple network and “minimal embodied presence”. Menon’s 2011 triple-network model is an integrative theoretical framework (Menon 2011); Sridharan, Levitin and Menon (2008) used effective-connectivity analysis to propose a causal role for the right fronto-insular cortex in switching between networks (Sridharan et al. 2008), an inference from fMRI data rather than the result of a direct intervention. Switching “from narrative rumination to minimal embodied presence” is the author’s interpretation; the book’s Wilson–Cowan-type model shows only that, “in this model”, salient input can switch states (Chapter 4).
- Placebo and conditioned immunity. The classic open–hidden study is the joint work of Colloca, Lopiano, Lanotte and Benedetti (2004) (Colloca et al. 2004); the framework’s “Benedetti” alone is corrected. Ader and Cohen’s 1975 experiment on conditioned immunosuppression was done in rats with saccharin and cyclophosphamide (Ader and Cohen 1975); conditioned immunosuppression in humans was shown by Goebel and colleagues in 2002 (Goebel et al. 2002) in a small sample, and its size and replicability need more data. Effects of open-label placebos are seen mainly in self-reported outcomes (Kaptchuk et al. 2010; Wernsdorff et al. 2021) (Chapter 5).
- Smell, oscillations and inverse effectiveness. The main olfactory pathway reaches the piriform cortex, amygdala and entorhinal cortex without a thalamic relay, but there is also a route through the mediodorsal thalamus to the orbitofrontal cortex (Courtiol and Wilson 2015); terpene odorants have no special pathway. Zelano and colleagues (2016) recorded limbic oscillations entrained by nasal breathing (Zelano et al. 2016); this does not establish “respiration-locked theta–gamma phase–amplitude coupling” as the mechanism of ritual, and the modulation index can be faked by non-sinusoidal waveforms (Tort et al. 2010; Aru et al. 2015). Part of inverse effectiveness may be a statistical artefact (Holmes 2009) (Chapter 6).
- The classics. “By shifting the essence and changing the qi, invocation alone sufficed” is the Yellow Emperor’s report of “how the ancients treated illness”; Qibo answers at once that “the present age is not so … therefore invocation can no longer cure”: the text itself confines invocation to the “tranquil age” of antiquity. “Complete vigil within, relaxed vigil without” is in the “Meaning of Sacrifices” (Jiyi) of the Book of Rites; “seven days of relaxed vigil … three days of complete vigil” is in the “Summary Account of Sacrifices” (Jitong). In “On Pain” (Jutong lun) the question says “fear makes the qi descend” while the received answer says “therefore the qi does not move”, an inconsistency left for checking. The author’s two-dimensional boundary model must not be read as a guide to “when one can skip the doctor” (Chapter 7).
- The design of Chapter 8. The three-arm trial has a single primary comparison (“full spatial transition + ritual” versus “breathing in the same room”) and a single primary outcome (ln RMSSD in the 15–20-minute window after the stressor, by analysis of covariance with the baseline as covariate); the two comparisons with the waitlist arm are secondary and Holm-adjusted. Breathing is spontaneous throughout the recording window; otherwise a difference in RMSSD may be only a difference in breathing (Chapter 8).
How to read the boxes
As in the other books of 5D Library, different kinds of statement are marked separately.
Evidence
Evidence boxes report published research findings with their sources; where possible, human, animal and mechanistic studies are named as such.
Calculation
Calculation boxes give short Python programs. Each runs as is in a standard Python 3 environment, uses only the standard library, fixes its random seeds, prints identical output under Python 3.8 and 3.13, and is followed by its actual output. The people, heartbeats, hormone levels and neural activity in the book are synthetic, and the parameters are illustrative, not estimates for any real population.
Hypothesis · not established
Hypothesis boxes give the author’s own ideas, marked “not established”, together with the result that would show them wrong. The author’s own models and definitions are labelled “the author’s model” in the text.
Source text
Source boxes quote classical texts with a plain-language explanation.
Note
Note boxes give reminders and explain choices.
About this edition
This is version 1.0.0, the first complete edition: a preface and eight chapters, in Chinese and English. It contains 16 Python programs and 5 vector figures. The text, boxes and code were drafted with an AI writing tool from the author’s title, framework and notes; the author is responsible for reviewing and revising them and for checking every source. AI-drafted text can get bibliographic details wrong; corrections are welcome through the 5D Library website. The precision-cascade model of Chapter 1, the illustrative HPA model and baroreflex model of Chapter 2, the two doorway-effect models and the attractor model of Chapter 3, the triple-network model of Chapter 4, the placebo model of Chapter 5, the screening model of Chapter 6 and the two-dimensional boundary model of Chapter 7 are the author’s models; their mathematical properties are not evidence of predictions about real human bodies.
Disclosure
The author uses the works of 5D Library, including this book, as the methodological basis of his community courses, the 5D Ascension Cards (Dimensional Shift Card Decks) and the Yafu AI knowledge base, and therefore has a commercial interest in the subject of this book. The book promotes no course, card deck or service; the Chapter 8 trial is designed to be run and analysed by researchers independent of the author’s business and does not recruit from the author’s community, students or customers; all the code and the study protocol are published openly for anyone to check. The author teaches breathing, listening and practice-based content in his community courses, which is indirectly related to the subject of this book; the book promotes no course, practice or product, and uses no data from the author’s community as evidence.
References
Fan, Y. (2026). Neurobiology of Ritual, Spatial Boundary Transitions and Computational Biomedicine of Self-Transcendence: From Predictive-Coding Free-Energy Minimisation, Default-Mode Network Decoupling and Vagal–Endocrine Restoration to Classical Chinese Medicine on Shifting the Spirit (Yijing Bianqi) [仪式神经学、空间边界切换与自我转移的计算生物医学] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23839910 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).