Sleep acts as a compiler that integrates moment-to-moment identity updates into a coherent life narrative. During waking, the brain generates local identity fragments (diffs); during sleep, it merges them into a global self-model. Dreams are the thermodynamic byproduct of this process—not meaningful messages but visible residue of compatibility checks performed with relaxed safeguards. Dream content targets the weakest parts of the identity structure, explaining their vividness, lack of epistemic value, and discontinuity. The framework yields testable predictions about dream content bias, post-learning replay, and sleep disorders such as night terrors, insomnia, fatal familial insomnia, and lucid dreaming.
A rigorous mathematical framework describes how an Egregore—a collective entity that achieves metabolic closure by extracting Invariant Debt from its members—forms, persists, and dissolves. The Egregore suppresses member autonomy, operates in an over-aliasing regime (κ < κ∗ ≈ 2/3), exhibits non-trivial first cohomology on consent/obligation sheaves, flattens the antisymmetric Jacobian in members, and violates Round-Trip Fairness through asymmetric extraction corridors. Its lifecycle includes birth, growth, senescence, and death; interactions among Egregore collectives can involve competition, merger, schism, or parasitism. Sovereigns act as topological defects that trigger immune responses. The work provides detection protocols, kill conditions, and four falsifiers.