Home » Health & Self‑Engineering
Category Archives: Health & Self‑Engineering
Sleep as Attractor Maintenance: Glymphatic Clearance, Synaptic Rescaling, and Dynamical Resilience
Author: Robert Galida
Date: May 2026
Preprint available at: https://fantasyattractor.com/
Abstract
Sleep is often called “hardware maintenance” (deep sleep) and “software maintenance” (REM sleep).
This paper re‑interprets sleep using the attractor framework, where your mind is a dissipative attractor of your whole body.
We propose that different sleep stages are different attractor regimes:
- Deep (NREM) sleep – a slow, relaxing state that clears waste and dials down brain connections.
- REM sleep – a fast, high‑dimensional attractor that updates your brain’s internal model.
We review evidence for:
- Glymphatic clearance (waste removal)
- Synaptic homeostasis (downscaling of connections)
- Slow‑oscillation/spindle coupling
- Sleep–immune interactions
We also show how sleep fragmentation, ageing, chronotypes, and sleep disorders can be understood as changes in attractor depth, stability, and corrective permeability.
The framework introduces a persistence functional P(x) – a single number that measures basin depth – which could be estimated from EEG or wearables to predict resilience to sleep loss and guide closed‑loop interventions.
1. Introduction
In the attractor framework, your mind is a dissipative attractor of your whole body – a pattern that needs constant energy, can be disturbed, and can adapt.
Sleep is a natural, periodic disturbance that lets the system reset, repair, and reorganise. It is not passive; it is an active attractor maintenance process.
We focus on two major sleep stages:
- NREM sleep, especially deep slow‑wave sleep (NREM 3) – a slow constraint relaxation that brings the brain and body back to a low‑energy baseline.
- REM sleep – a fast, high‑dimensional attractor for active reorganisation, memory consolidation, and predictive coding updates.
This paper bridges sleep neuroscience with the attractor framework.
What does the framework add?
- Integration – a common language across scales.
- A unified quantitative biomarker P(x) from EEG or wearables.
- Novel predictions (e.g., wearable early‑warning signals, REM‑emotional rebound) that are not obvious from the individual component theories.
This is generative integration – a scientific contribution even without claiming new mechanisms.
2. The Attractor Framework Primer
- Conservative attractors (the “six metronomes”) – eternal, time‑symmetric, provide steady rhythms. They are the floor, not part of maintenance.
- Dissipative attractors (life, mind, society) – need energy flow, have finite lifetimes, can evolve. The brain is a nested stack of dissipative attractors.
- Persistence under perturbation – a resilient system returns quickly to its attractor after a disturbance.
- Self‑engineering – using small, repeated disturbances to reshape your own attractor. Sleep is a natural self‑engineering cycle.
Sleep moves you through: wake → NREM → REM → wake.
3. NREM Deep Sleep – Slow Constraint Relaxation
3.1 Glymphatic clearance – flushing out waste
Deep slow‑wave sleep (NREM 3) is essential for clearing brain waste.
Studies show that the glymphatic system (which removes waste) works best during deep NREM (Iliff et al., 2012). Norepinephrine drops during sleep, expanding the space around cells and improving fluid flow (Balkrishnan et al., 2023, conference abstract).
In attractor terms: The deep‑sleep attractor (high delta power) relaxes the metabolic constraints that build up during the day. Waste clearance rate scales with attractor depth (measured by slow‑wave activity, SWA). Shallow or broken sleep leads to waste buildup.
3.2 Synaptic homeostasis – resetting brain connections
The synaptic homeostasis hypothesis (SHY) says:
- Wakefulness strengthens synapses (deepens attractor basins).
- NREM sleep downscales synapses (shallows basins) (Tononi & Cirelli, 2006).
SWA reflects this – it is high after waking and declines across the night.
In attractor terms: The persistence functional P(x) would be high after waking, then drop during NREM as synapses downscale. The rate is steep early and plateaus later – compatible with critical slowing down near awakening (though direct evidence is mixed).
3.3 Slow‑oscillation–spindle coupling – nested rhythms
Memory consolidation during sleep depends on the tight coordination of:
- Cortical slow oscillations (<1 Hz)
- Thalamocortical spindles (12–15 Hz)
This is best described as nested oscillatory coupling (Ngo et al., 2013) – the slow oscillation modulates excitability, creating windows for spindles.
We interpret this as different timescales within a single attractor manifold (parsimonious). (Two coupled attractors could also produce phase locking; the question is subtle, but we take the simpler view.)
Stronger phase‑locking between spindles and slow oscillations predicts better memory. Closed‑loop stimulation (auditory or electrical) timed to the up‑phase enhances both slow waves and spindles – showing that the attractor can be externally reinforced.
4. REM Sleep – Fast, High‑Dimensional Attractor
REM sleep has activated EEG (low voltage, fast rhythms) and vivid dreaming.
From a predictive coding view (Friston, 2010), REM updates the brain’s generative model by resolving prediction errors.
Dynamically, the NREM → REM transition is a phase bifurcation:
- NREM is a low‑dimensional attractor (regular slow oscillations).
- REM is higher‑dimensional (complex, desynchronised EEG).
Indeed, EEG complexity (e.g., Lempel‑Ziv complexity) is higher in REM and wake than in NREM.
If REM dreaming implements predictive coding, then nights with stronger REM (longer, more intense periods) should show greater emotional memory consolidation. (The idea of lucid dreaming as a “meta‑attractor” is not pursued here.)
5. Sleep Fragmentation and Attractor Instability
Frequent awakenings (fragmentation) repeatedly disturb the sleep attractor.
Each arousal is a temporary escape from the NREM or REM basin, reducing effective depth and slowing re‑entry. This is a state of reduced attractor stability with critical slowing down (Scheffer et al., 2009): recovery takes longer.
Recent work (de Mooij et al., 2020) found that EEG change‑points – transitions between stages – are often preceded by early‑warning signals (rising variance and autocorrelation).
Grossman et al. (2025) showed that the wake‑to‑sleep transition follows a bifurcation dynamic, detectable minutes before sleep onset.
Wearables (HRV, actigraphy) could detect similar signs – rising movement variance, increasing HRV autocorrelation – before a failed sleep transition. Closed‑loop auditory tones could then reinforce the desired attractor.
6. Inter‑individual Differences, Aging, Chronotypes, and Immune Coupling
Resilience to sleep loss
People vary widely. The PER3 clock gene polymorphism is a paradox:
- PER3⁵/⁵ individuals have more slow‑wave sleep and higher delta power, yet they suffer greater performance declines under sleep loss (Viola et al., 2011).
This shows that a deeper baseline attractor does not guarantee resilience. The framework says resilience requires not only depth but also corrective permeability – the ability to re‑enter deep sleep after an awakening and to update the attractor under stress (see Section 7).
Aging
Slow‑wave sleep drops dramatically with age. In a community study, each 1% annual reduction in SWS was linked to a 27% higher risk of dementia (Himali et al., 2023).
In attractor terms: the deep‑sleep basin erodes with age, and corrective permeability weakens. Exercise, light therapy, and melatonin may help a little, but only modestly.
Chronotypes
Morning larks and night owls differ mainly in the phase of the sleep–wake attractor relative to the light–dark cycle. Both can have similar basin depths, but misalignment may weaken the attractor.
Sleep–immune coupling
Sleep deprivation increases pro‑inflammatory cytokines (IL‑6, TNF‑α) and reduces T‑cell activity (Irwin et al., 2016; Besedovsky et al., 2012).
A shallow or fragmented sleep basin destabilises the immune attractor, leading to slower recovery from infection (Cohen et al., 2009) and blunted vaccine responses (Spiegel et al., 2002).
Immune challenge (e.g., infection) also disrupts sleep, increasing SWS – a “sickness behaviour” attractor shift (Krueger et al., 2013). This is bidirectional coupling between two attractor landscapes.
Framework‑specific prediction: Corrective permeability κ should be lower on nights following an immune challenge, independently of changes in delta power.
(Statistical test: partial correlation or regression of κ on immune challenge, controlling for PEEG.) This prediction is not deducible from the cytokine model alone.
7. Sleep Disorders as Maladaptive Attractors and Corrective Permeability
7.1 Defining corrective permeability κ
κ measures how quickly a system returns to its primary attractor after a disturbance and how easily it updates under chronic stress.κ=τrecovery1
where τrecovery (minutes) is the time from an awakening back to stable deep NREM (stage 3).
- High κ>0.2 min⁻¹ → fast recovery (<5 min).
- Low κ<0.05 min⁻¹ → poor recovery (>20 min).
These thresholds are provisional – for empirical calibration.
Heart‑rate recovery slope after awakenings is a candidate wearable proxy (hypothesis, not yet validated).
7.2 Disorder taxonomy
- Insomnia – abnormally shallow sleep attractor (low depth) and/or low κ. Hyperarousal prevents settling into deep sleep.
- Narcolepsy – blurred boundary between wake and REM attractors (orexin loss).
- REM behaviour disorder – failure of REM attractor to suppress muscle activity; dream movements “leak out”.
7.3 Falsification conditions
Falsification of the “shallow basin” explanation
If an insomnia patient shows normal delta power (PEEG>0.7) and normal corrective permeability (κ>0.1) but still has non‑restorative sleep, the “shallow basin” model is falsified for that patient.
The framework would be incomplete, not wrong. But to prevent this clause from making the theory unfalsifiable, we add a provisional bound:
If more than 30% of diagnosed insomnia cases need such additional mechanisms, the framework’s descriptive utility for insomnia would be in question, and the core hypothesis would be falsified.
Falsification of the attractor framework itself
If sleep stage transitions show no evidence of basin‑crossing dynamics (no rise in variance/autocorrelation, no attractor dimensionality difference between NREM and REM, no critical slowing down before awakening), then the attractor framework should be abandoned in favour of a purely stochastic or oscillator‑based model.
Specifically, a well‑powered study using the methods of de Mooij et al. (2020) that finds null results would constitute strong falsification. (We require convergent null evidence across multiple measures.)
8. The Persistence Functional P(x)
P(x) measures attractor depth – the ability to resist disturbance and return to stable state.
We base it on the dominant Lyapunov exponent λ1.
Primary definition (fixed τ=1 s):Praw=e−λ1⋅τ
For a stable attractor, λ1<0, so Praw>1. Deeper attractors (more negative λ1) give larger Praw.
To get a bounded [0,1] measure:Pnorm=1+eλ1τ1
- Values near 1 → deep basin.
- 0.5 → neutral.
- Near 0 → unstable/chaotic.
EEG‑practical approximations:
- Correlation dimension D2D2 – in sleep EEG, deeper stages have lower D2. This is a sleep‑specific approximation. Then P∝1/(1+D2).
- Delta power ratio (simplest):
PEEG=δwake+⟨δ(t)⟩⟨δ(t)⟩
where ⟨δ(t)⟩ is mean delta power (0.5–4 Hz) in the epoch, and δwake is the same during relaxed wakefulness.
Deep sleep → value close to 1; shallow sleep → near 0.
We recommend PEEG for practical sleep research. All three definitions should correlate under the framework’s assumptions, but empirical validation is needed.
9. Testable Predictions
| Prediction | Type | Proposed Test Protocol | Source / Support |
|---|---|---|---|
| Glymphatic clearance correlates with SWA | Retrodiction | – | Iliff et al., 2012 |
| EEG complexity decreases across NREM | Retrodiction | – | Tononi & Cirelli, 2006 |
| SO–spindle coupling predicts memory | Retrodiction | – | Ngo et al., 2013 |
| Sleep fragmentation preceded by rising variance/autocorrelation | Novel | Re‑analyse existing sleep EEG datasets | de Mooij et al., 2020; Grossman et al., 2025 |
| Wearable early‑warning signals (HRV lag‑1 autocorrelation) predict night‑to‑night sleep quality | Novel | Pilot N=1 wearable study (30+ nights); confirm with larger cohort | Proposed here |
| REM rebound scales with emotional load during wake | Plausible | Daily stress diary (1–10) + actigraphy/PSG for REM% | Proposed here |
| Immune challenge reduces next‑night κ independently of delta power | Novel (framework‑specific) | Controlled immune challenge (e.g., vaccine) with wearable/PSG κ; partial correlation controlling for PEEG | Proposed here |
Falsification of core framework: If no evidence of basin‑crossing dynamics (rising variance/autocorrelation, difference in attractor dimensionality) is found in a well‑powered EEG study using de Mooij et al.’s methods, the attractor framework for sleep should be abandoned.
10. Conclusion
Sleep is not passive – it is a dynamic, bifurcated process of attractor maintenance.
- Deep NREM sleep – slow constraint relaxation, clearing waste and downscaling synapses.
- REM sleep – fast, high‑dimensional attractor, updating the brain’s generative model.
Fragmentation, aging, and sleep disorders can be understood as changes in attractor depth, stability, and corrective permeability.
The persistence functional P(x) gives a quantitative language for sleep engineering.
The dance of sleep is the dance of maintenance – and we can learn to engineer it.
References
- Balkrishnan, S., et al. (2023). Glymphatic function maintains sleep‑sensitive cognitive performance and predicts overnight changes in plasma amyloid β in humans. Alzheimer’s & Dementia, 19(S2), e083169. [Conference abstract.]
- Besedovsky, L., Lange, T., & Born, J. (2012). Sleep and immune function. Pflügers Archiv – European Journal of Physiology, 463(1), 121–137.
- Cohen, S., et al. (2009). Sleep habits and susceptibility to the common cold. Archives of Internal Medicine, 169(1), 62–67. (Note: journal renamed to JAMA Internal Medicine in 2013.)
- de Mooij, S. M., et al. (2020). Dynamics of sleep: Exploring critical transitions and early warning signals. Computer Methods and Programs in Biomedicine, 193, 105448.
- Friston, K. (2010). The free‑energy principle: a unified brain theory? Nature Reviews Neuroscience, 11(2), 127–138.
- Grossman, N., et al. (2025). Falling asleep follows a predictable bifurcation dynamic. Nature Neuroscience, 28, 2515–2525.
- Himali, J. J., et al. (2023). Association of slow‑wave sleep with incident dementia: The Framingham Heart Study. JAMA Neurology, 80(6), 589–598.
- Iliff, J. J., et al. (2012). A paravascular pathway facilitates CSF flow through the brain parenchyma and the clearance of interstitial solutes. Science Translational Medicine, 4(147), 147ra111.
- Irwin, M. R., et al. (2016). Sleep deprivation and activation of the inflammatory response. Biological Psychiatry, 80(3), 229–235.
- Krueger, J. M., et al. (2013). The role of cytokines in sleep regulation. Current Pharmaceutical Design, 19(27), 4908–4915.
- Ngo, H. V., Martinetz, T., Born, J., & Mölle, M. (2013). Auditory closed‑loop stimulation of the sleep slow oscillation enhances memory. Neuron, 78(3), 545–553.
- Scheffer, M., et al. (2009). Early‑warning signals for critical transitions. Nature, 461(7260), 53–59.
- Spiegel, K., Sheridan, J. F., & Van Cauter, E. (2002). Effect of sleep deprivation on response to immunization. JAMA, 288(12), 1471–1472.
- Tononi, G., & Cirelli, C. (2006). Sleep function and synaptic homeostasis. Sleep Medicine Reviews, 10(1), 49–62.
- Viola, A. U., et al. (2011). Interindividual differences in circadian rhythmicity and sleep homeostasis in older people: effect of a PER3 polymorphism. Neurobiology of Aging, 32(7), 1270–1279.
Suggested citation: Galida, R. S. (2026). Sleep as Attractor Maintenance: Glymphatic Clearance, Synaptic Rescaling, and Dynamical Resilience (Reader‑Friendly Version). Fantasy Attractor.
Whirling as Attractor Engineering: Chirality, Shared Resonance, and a Minimal‑Dose Protocol for Whole‑Body Resilience
Author: Robert Galida
Date: May 2026 (Revised June 2026)
📌 Note (June 2026): This paper’s description of conservative attractors has been updated to reflect the refined framework in Metronome, Memory, and the Threefold Anchor: A Relational Account of Time [F] (2026). The health and self‑engineering content is unchanged.
Abstract
Whirling – the spinning practice of Mevlevi dervishes – is often seen as a mystical ritual. This paper reinterprets it through the attractor framework, where the mind is a dissipative attractor of the whole body.
Whirling is a controlled, repeated perturbation. It trains your balance, nervous system, and heart to settle into a stable, coherent pattern – a form of attractor engineering.
We discuss two additional ideas:
- Chirality alignment – spinning counter‑clockwise may symbolically align with the universe’s handedness (e.g., left‑handed neutrinos), but this is speculative and not needed for health benefits.
- Shared resonance – group whirling synchronises heartbeats, creating a collective attractor.
We review scientific evidence showing that whirling improves heart rate variability (HRV), sleep quality, anxiety, brain plasticity, and physical fitness. A minimal effective dose is 5–15 minutes per day, 3–4 times per week. A graduated protocol is provided.
The health benefits are real. The chirality interpretation is optional.
1. Introduction
In the attractor framework, your mind is a dissipative attractor of your whole body – a pattern that needs energy flow to stay stable, can be disturbed, and can adapt. Self‑engineering means using small, repeated disturbances to reshape your own attractor towards greater resilience.
Whirling is a sustained, counter‑clockwise spin performed by Mevlevi dervishes for centuries. It is spiritual, but modern science has found clear physical and mental benefits.
This paper argues that whirling is a powerful attractor engineering practice: a rhythmic whole‑body disturbance that forces your system to become more stable and coherent. We also explore two extra ideas:
- Chirality (spinning with the universe’s “handedness” – speculative)
- Shared resonance (heartbeat synchronisation in groups – well supported).
2. The Attractor Framework Primer (Very Brief)
- Conservative attractors are eternal, time‑symmetric, and require no energy input. They form the eternal skeleton. The three most fundamental conservative attractors – the metronomes – are the electron, neutrino mass eigenstates (collectively), and proton. (The photon is a signal carrier, not a metronome; see Metronome, Memory, and the Threefold Anchor for details.)
- Dissipative attractors (life, mind, society) need energy flow, have finite lifetimes, and can change. Your body is a stack of dissipative attractors.
- Persistence under disturbance is the basic mark of reality. A resilient system returns to its attractor after a knock.
- Self‑engineering uses small, repeated nudges to reshape your own attractor basin.
- Whirling is a strong, repeated disturbance. Your body must adapt. That adaptation is the engineering.
3. Chirality Alignment – A Speculative Interpretation
3.1 What do we know about universal handedness?
- Weak interactions: Neutrinos produced in weak decays are always left‑handed (Wu experiment, 1956). This is a fact. But electrons and protons do not have a universal spin direction.
- Astronomical rotations: From the north pole, Earth, the solar system, and the Milky Way rotate counter‑clockwise. From the south pole, they appear clockwise. That’s just a viewpoint – there is no privileged direction in space.
- Cosmic Microwave Background: Some studies suggested a preferred axis (“axis of evil”), but these results are contested and likely statistical artifacts. No clear evidence.
3.2 The speculative claim
The dervish’s counter‑clockwise spin can be seen as a heuristic alignment with these physical handednesses (neutrino helicity, frame‑dependent rotation). In our attractor framework, we propose that spinning with the majority direction (as seen from the northern hemisphere) may resonate symbolically and phenomenologically with the invariant rhythms of the conservative substrate – the three metronomes.
Crucially, there is no known physical mechanism linking a rotating body (~1–2 rpm) to particle spin or photon polarisation. The scale difference is huge. So this alignment is presented as a speculative metaphysical claim within our framework, not as proven physics. It’s a way to frame the practice, not a testable hypothesis. The health benefits of whirling do not depend on this speculation.
3.3 Clockwise vs. counter‑clockwise
No study has compared clockwise and counter‑clockwise whirling for health effects. The idea that clockwise spinning “needs more energy” or “opposes the Tao” is unsupported – we label it as speculation. You can try both directions, but the traditional counter‑clockwise spin is recommended for alignment with our framework’s interpretive preferences.
4. Shared Resonance: Heartbeat Synchronisation
A published study measured heart rates during a group Sufi whirling ritual. It found that participants’ heartbeats became synchronised – the biological data matched the spiritual goal of unity.
In attractor terms: the shared rhythm creates a common basin of attraction across people. Each body locks onto the same external rhythm (the group spin), and through mutual coupling, their cardiac oscillators fall into step.
This is like metronomes placed on a movable platform – they eventually synchronise (a classic demonstration from Huygens, 1665). Here, the “platform” is the shared sound and feel of the group whirling. The result is a collective attractor – a stable shared state where heart rates align, possibly amplifying resilience.
Note: The term “collective attractor” simply means a stable pattern in a coupled system. The 2019 study showed cardiac synchronisation, but the idea that whirling together increases resilience beyond what you can do alone is still a plausible hypothesis that needs testing.
5. Evidence for Health Benefits
5.1 Heart Rate Variability (Autonomic Resilience)
A 2012 study on “Whirling‑Kung” (5–15 minutes, three times per week) found the practice prevented a decline in key HRV measures (SDNN, total power) seen in a control group. Higher HRV means a wider attractor basin, faster recovery, and greater resilience.
5.2 Sleep Quality and Stress Markers
A 2022 study on whirling dervishes found significantly better sleep quality and much lower anxiety (p < 0.001) compared to non‑whirling controls. The dervishes also had lower levels of VEGF, BDNF, and GDNF – markers often elevated by chronic stress.
Note on BDNF: Lower BDNF is usually linked to depression, not less stress. The authors of the study interpreted this as a possible protective effect, but the relationship is complex. We simply report the finding without endorsing a specific interpretation.
5.3 Neuroplasticity – Reshaping the Brain’s Attractor Landscape
An MRI study found that long‑term dervishes have cortical thinning in the default mode network (DMN) and motion‑perception areas (right DLPFC, lingual gyrus, visual area V5). This thinning is experience‑dependent neuroplasticity: the brain prunes inefficient connections to become more specialised.
5.4 Physical Fitness and VO₂max
A 12‑week whirling training programme improved body composition, leg strength, flexibility, grip strength, and both anaerobic and aerobic power (VO₂max). Whirling is effective whole‑body cardiovascular exercise.
5.5 Mental Health – Less Anxiety, Better Self‑Regulation
Multiple studies confirm lower anxiety. Participants report better mind‑body focus, self‑regulation, positive feelings, and a “quietness in the centre of the vortex” – the subjective experience of a stable core attractor.
Finding the original studies: The papers cited here (2012 HRV, 2022 sleep/anxiety, MRI, 12‑week fitness, and the 2019 heartbeat study) can be found by searching terms like “whirling dervish heart rate variability,” “whirling kung HRV,” “Dursun whirling MRI,” “Karakaya whirling sleep,” or “Genc whirling VO2max.”
6. The Minimal Effective Dose
Based on the 2012 study and traditional practice:
- 5–15 minutes per session
- 3–4 times per week
- Counter‑clockwise rotation (traditional; clockwise not harmful but lacks evidence)
- Gradual progression
| Phase | Duration | Frequency | Goal |
|---|---|---|---|
| Adaptation (weeks 1–2) | 5 min | 3–4x/week | Get used to the spin |
| Consolidation (weeks 3–4) | 10–15 min | 3–4x/week | Find the rhythm, notice calm |
| Expansion (week 5+) | 20–30 min | 3–4x/week | Explore deeper states |
7. Practical Instructions
- Space: A large, empty room. Bare feet.
- Posture: Start with arms crossed on your chest. Begin turning counter‑clockwise. After a few revolutions, open your arms: right hand up (palm to sky), left hand down (palm to earth).
- Gaze: Soft, unfocused – don’t fixate on a single point.
- Safety: Stop if you feel severe nausea. Use a wall for support if needed.
- Afterward: Rest lying down for 5–10 minutes to let your balance system settle.
8. Conclusion
Whirling produces real, measurable benefits: better HRV, sleep, anxiety, brain plasticity, and fitness. A minimal dose of 5–15 minutes a day, three to four times a week, is enough.
The shared resonance (heartbeat synchronisation in groups) is empirically supported.
The chirality alignment (spinning counter‑clockwise to align with the universe) is a speculative interpretation – not required for the health benefits.
The dervish’s spin is a dance of persistence under perturbation – a transient dancer humming along with the eternal skeleton. The dance has a new step.
Suggested citation: Galida, R. S. (2026). Whirling as Attractor Engineering: Chirality, Shared Resonance, and a Minimal‑Dose Protocol for Whole‑Body Resilience (Revised June 2026). Fantasy Attractor.

