Quaternion Structure of the Observer in ODTOE: From Engineering Intuition to Formal Theory
Кватернионная структура наблюдателя в ODTOE: от инженерной интуиции к формальной теории
Кватернионная структура наблюдателя в ODTOE: от инженерной интуиции к формальной теории
Why does consciousness have four components? Four-component cognitive coherence B=F·E·(1−σ)·Λ is isomorphic to Hamilton's quaternion. Gimbal lock in engineering parallels nullification of consciousness components.
Почему сознание имеет четыре компоненты? Четырёхкомпонентная когнитивная когерентность B=F·E·(1−σ)·Λ изоморфна кватерниону Гамильтона. Gimbal lock в инженерии параллелен обнулению компонент сознания.
意识为何有四个组成部分?四分量认知相干性 B=F·E·(1−σ)·Λ 与哈密顿四元数同构。工程中的万向锁与意识分量的归零相对应。
Short video overview generated from this article.
Open on video page →Select the text below to copy citations in your preferred format.
Pankratov A. "Quaternion Structure of the Observer in ODTOE: From Engineering Intuition to Formal Theory." Observer-Dependent Theory of Everything, odtoe.org, 2026. https://odtoe.org/en/articles/quaternion-consciousness@article{pankratov2026quaternionConsciousness,
author = {Pankratov, Anton},
title = {Quaternion Structure of the Observer in ODTOE: From Engineering Intuition to Formal Theory},
journal = {Observer-Dependent Theory of Everything},
year = {2026},
month = {Feb},
url = {https://odtoe.org/en/articles/quaternion-consciousness},
publisher = {odtoe.org}
}TY - JOUR
AU - Pankratov, Anton
TI - Quaternion Structure of the Observer in ODTOE: From Engineering Intuition to Formal Theory
JO - Observer-Dependent Theory of Everything
PY - 2026
DA - 2026-02-09
UR - https://odtoe.org/en/articles/quaternion-consciousness
PB - odtoe.org
ER - From Engineering Intuition to Formal Theory Pankratov Anton Sergeevich Independent Researcher, [email protected] ORCID: 0009-0002-4870-2995
Kazan,
Russia
E-mail:
1.1 Abstract Why does the number four appear so persistently in descriptions of consciousness—in Jung, Damasio, neuronavigation, and motion engineering? And is consciousness fundamentally a geometric rather than logical problem? This work demonstrates that the observer-dependent theory of everything (ODTOE) already contains the answer to this question. The formula for cognitive coherence B = F w1 · E w2 · (1 − σ)w3 · Λw4 represents a four-component multiplicative structure isomorphic to a quaternion. We establish an exact isomorphism between the algebra of quaternions and the structure of the observation operator in ODTOE. We show that gimbal lock (loss of degrees of freedom when axes align) in engineering corresponds to the nullification of one component of B in ODTOE (the property of the “weak link”). We formulate a hypothesis: consciousness is a quaternionic orientation in the space of potential configurations. Keywords: quaternions, consciousness, observer, ODTOE, cognitive coherence, orientation, four-component structure, gimbal lock.
1.2 I. Problem Statement 1.2.1
I.1. The Problem of the Four-Component Structure of Consciousness
A fundamental question concerns researchers across disciplines: why does the number four appear so persistently in descriptions of consciousness and psychological functions? Carl Jung identified four psychological types: thinking, feeling, sensation, intuition. Antonio Damasio described a four-level architecture of consciousness: body, emotion, model, action. In neuronavigation, four types of navigational cells have been identified: place cells, grid cells, head-direction cells, and border cells. In control engineering, the four-component quaternion replaced the three-parameter Euler angles for describing orientation, since the latter are subject to gimbal lock—a loss of degrees of freedom at certain configurations. If the brain is a system of continuous orientation in the space of reality, is its architecture essentially quaternionic?
I.2. The ODTOE Answer
The Observer-Dependent Theory of Everything (ODTOE) already contains the four-component structure of the observer—and it is not postulated ad hoc, but derived from the requirement of completeness in describing cognitive coherence: B(O, C) = F w1 · E w2 · (1 − σ)w3 · Λw4
(D1.1)
where: - F — attentional focus (attentional focus); - E — emotional coherence (emotional coherence); - (1−σ) — absence of contradiction in the internal model (absence of contradiction); - Λ — empirical reinforcement, accumulated experience (empirical reinforcement, experience). The coincidence in the number of components is no accident. In this work, we demonstrate that this is a structural isomorphism: the formula for B is isomorphic to a quaternion, and this explains why the four appears everywhere.
1.3 II. Isomorphism: Quaternion ↔ Cognitive Coherence 1.3.1
II.1. Structure of the Quaternion
Hamilton’s quaternion: q = w + xi + yj + zk
(2.1)
where w is the scalar (real) part, and xi+yj+zk is the vector (imaginary) part. Four components, three imaginary units with anticommutative multiplication: ij = k,
ji = −k,
i2 = j2 = k2 = −1
Key property: a unit quaternion (|q| = 1) describes orientation—a holistic state of a system in space. 1.3.2
II.2. Structure of Cognitive Coherence B = F w1 · E w2 · (1 − σ)w3 · Λw4
Four components, multiplicative structure, normalization to the interval [0, 1]. 1.3.3
II.3. Mapping of Structures
(2.2)
Quaternion
Meaning
w (scalar part)
Λ (experience)
xi (first imaginary axis)
F (focus)
yj (second imaginary axis)
E (emotion)
zk (third imaginary axis)
(1 − σ) (wholeness)
“Real”: accumulated experience, foundation, grounding Direction of the observer’s “gaze”: where it is turned Orthogonal to focus: not “where I look” but “how I experience” Orthogonal to both focus and emotion: model integrity
II.4. Why This Is an Isomorphism, Not an Analogy
(a) Multiplicativity. Quaternions multiply (composition of rotations = product of quaternions). Cognitive coherence B is the product of components. In both cases: if one component = 0, result = 0. (b) Anticommutativity. In quaternions, ij ̸= ji. In ODTOE: the order of “working with” components matters. Focus then emotion (F then E)—is not the same as emotion then focus (E then F ). One cannot compensate for absence of focus with an excess of emotion—this is non-commutativity in essence. (c) Normalization. A unit quaternion (|q| = 1) describes pure rotation without scaling. B = 1 in ODTOE—complete coherence: pure observation without losses. The analogy is exact: |q| = 1 ↔ B = 1. (d) Gimbal lock ↔ property of the “weak link”. In Euler angles (3 components instead of 4), at certain configurations the axes align and the system loses a degree of freedom. In ODTOE: if any of the 4 components = 0, then B = 0—the system loses the ability to observe. Gimbal lock = an attempt to describe consciousness with a number of components < 4.
1.4 III. Why Exactly Four 1.4.1
III.1. Minimality of the Quaternion
A fundamental question: why not a binary or ternary, but a four-component structure? Through ODTOE’s axiomatics, the answer is rigorous: Three components are insufficient. If we remove any one of the four:
Removed Component
What Is Lost
Analogue in Engineering
F (focus)
Observer “sees everything and nothing”—no direction Observation is devoid of feeling—no resonance Internal conflict nullifies the signal No foundation—observation “hangs in the air”
Gyroscope without an axis
E (emotion) (1 − σ) (wholeness) Λ (experience)
Camera without color reproduction Gimbal lock: axes aligned Inertial reference frame without calibration
Each loss is specific. One cannot be compensated for by another (multiplicativity). Four is the minimum number for stable orientation of the observer in the space of configurations H. 1.4.2
III.2. Connection with the Four-Tuples of Other Authors
Author
Four Components
ODTOE Mapping
Hamilton Jung
w, xi, yj, zk Thinking, feeling, sensation, intuition Body, emotion, model, action Place, grid, direction, border cells
Damasio Neuronavigation
All authors found the four-tuple empirically. ODTOE gives it a formal foundation: four components are the minimal structure for stable orientation in the space of potential states H.
1.5 IV. Consciousness as Orientation 1.5.1
IV.1. Reformulation
Central hypothesis: consciousness relates less to the logic of propositions and more to the geometry of orienting the model of the world. Through ODTOE: this is not a hypothesis, but a consequence of the axiomatics. R = Ô(Ψ)—reality is constituted by the observation operator applied to the field of potential states. The operator Ô is specified by the vector (B, A, H) [1, formula 4.2], where B is cognitive coherence (four-component, quaternionic). Consciousness = Ô = operator that orients the observer relative to H. Just as a quaternion orients the body in three-dimensional space, B orients the observer in the space of configurations.
Ô ∼ qB = Λ + F i + Ej + (1 − σ)k
(4.1)
The act of observation R = Ô(Ψ)—this is a rotation of the field of potential states by the quaternion qB , projecting it onto a specific configuration. 1.5.2
IV.2. Thought as Rotation
Central thesis: thought is not only a logical proposition. It is also a turn of the inner scene. Through ODTOE: exactly. Each thought changes B—that is, it rotates the observer’s quaternion. The new configuration R′ = Ô′ (Ψ)—the result of a new “turn” in the space H. • Thought δq: a small rotation of the observer’s quaternion. • Attention: fixing the axis of rotation (F specifies the direction). • Emotion: amplitude of rotation (E specifies the “energy” of the turn). • Non-contradiction: purity of rotation ((1 − σ)—absence of “trembling” of the axis). • Experience: inertia of rotation (Λ—stability of orientation). 1.5.3
IV.3. Gimbal Lock = Nullification of a Component of B
In engineering: gimbal lock—loss of a degree of freedom when axes align (3 Euler angles instead of 4 quaternion components). In ODTOE: when one of the components of B is nullified, all coherence = 0. This is cognitive gimbal lock: the observer “locks up”. Component = 0
Cognitive Gimbal Lock
Clinical Picture
No focus No emotional connection
(1 − σ) = 0
Complete contradiction
Λ=0
No experience
Attention deficit, distraction Alexithymia, burnout, alienation Cognitive dissonance, decision paralysis Disorientation, loss of grounding
The quaternionic formulation explains why these states are so destructive: it is not “bad mood” but a loss of degrees of freedom in orientation. The observer literally loses the ability to “turn” toward a configuration.
IV.4. Why Quaternions Defeated Euler Angles—And What This Means for Psychology
History of quaternions in engineering: they replaced Euler angles as the standard for describing orientation. Let us translate this into the language of consciousness: Euler angles = reductionist models of consciousness. Attempts to describe consciousness through 2–3 parameters: “thinking + feeling”, “conscious + unconscious”, “stimulus + response”. They work in simple cases, but at certain configurations—gimbal lock: the model loses descriptive power. Quaternion = ODTOE formula B. Four components, multiplicative connection, no gimbal lock (loss of one component = zero, but this is not a “model locking”, but a diagnosable state: we know which exactly component = 0 and what to do). Rotation matrices = full neural models. 9 parameters to describe 3 degrees of freedom— redundant. Similarly: a complete model of the brain describes consciousness, but is too “heavy” for practical understanding. ODTOE provides a 4-component model—minimal and sufficient.
1.6 V. Answer to the Question: How to Describe Consciousness 1.6.1
V.1. Formulation
ODTOE proposes a theory: Consciousness = observation operator Ô, whose quaternionic structure is specified by cognitive coherence B = F w1 · E w2 · (1 − σ)w3 · Λw4 Act of consciousness = rotation in H: R = Ô(Ψ) = projection of the field of potential states through the quaternion qB . Stream of consciousness = continuous readjustment of the quaternion: qB (t), qB (t+dt), qB (t+ 2dt), . . . Each moment—a new orientation, a new configuration. Strange loop = Ψ∗ = Φ(Ψ∗ ): self-consistent orientation, in which the observer and the observed stabilize in mutual resonance. 1.6.2
V.2. What This Gives Us
(a) Explanation of the four-tuple. Four is not an arbitrary number, not a beautiful symbol. It is the minimum number of components for stable orientation without gimbal lock. (b) Explanation of multiplicativity. Why is nullification of one component catastrophic? Because rotation with a zero component is degenerate: the observer “locks up”. (c) Explanation of non-commutativity. The order of components matters: feel first (E), then focus (F )—is not the same as the reverse. Thought is non-commutative, like a quaternion.
(d) A bridge between engineering and consciousness. Not a metaphor, but a structural isomorphism: a robot uses a quaternion for orientation in 3D, the observer uses B for orientation in H. 1.6.3
V.3. Formal Notation
Observer’s quaternion: qÔ = Λ + F i + Ej + (1 − σ)k
(5.1)
Act of observation as quaternionic rotation: R = qÔ · Ψ · q̄Ô
(5.2)
where q̄ is the conjugate quaternion (inversion of rotation = embedding operator ι). Self-observation loop: Φ = q̄Ô ◦ qÔ = |qÔ |2 = B 2
(5.3)
When B = 1 (|q| = 1): Φ = 1—complete self-consistency. A fixed point Ψ∗ exists if and only if |qÔ | = 1, that is, when the observer is completely coherent.
1.7 VI. Experimental Predictions 1.7.1
VI.1. Neurophysiological
The four components of B should correlate with four distinct neurophysiological systems: Component
Neurological Correlate
Measurement Method
Dorsal attention network (DAN) Limbic system, insula
fMRI, EEG (gamma-band)
E (1 − σ) Λ
Prefrontal cortex (monitoring) Hippocampus (experience consolidation)
HRV, skin conductance response Implicit Association Test Bayesian historical estimation
Prediction: the four neurological correlates are multiplicatively linked: nullification of one (for example, hippocampal damage ⇒ Λ = 0) should nullify overall coherence B, even if the other three are intact.
VI.2. Psychological
The four types of “gimbal lock” (see Section IV.3) should be clinically distinct and mutually non-compensatory. Prediction: therapy aimed at increasing F (attention training) will not help a patient with E = 0 (alexithymia). And vice versa. Multiplicativity requires work with the specific zero component. 1.7.3
VI.3. Engineering
If consciousness is quaternionic, then AI systems using a 4-component architecture (analogous to F, E, (1 − σ), Λ) should be more robust than systems with fewer components when solving orientation tasks in uncertain environments.
1.8 VII. Conclusion Why does the four appear so persistently in descriptions of consciousness? ODTOE provides an answer: because consciousness is a quaternionic orientation in the space of potential states. The four-component formula B = F w1 · E w2 · (1 − σ)w3 · Λw4 is not an arbitrary decomposition but the minimal structure for stable orientation, isomorphic to Hamilton’s quaternion. Gimbal lock in engineering = nullification of a component of B in psychology. Multiplicativity = impossibility of compensation. Non-commutativity = order matters. Consciousness is not a screen on which thoughts appear. Not a commentator on the world. Not even a “system for processing information”. Consciousness is a continuous quaternionic orientation of the observer in the space of all possible configurations of reality. qÔ = Λ + F i + Ej + (1 − σ)k. R = qÔ · Ψ · q̄Ô .
Thought = rotation. Consciousness = orientation.
1.9 CONFLICT OF INTEREST The author declares no conflicts of interest.
The research was conducted without receiving financial support from any source.
1.11 REFERENCES [1] Pankratov A.S. Theory of Everything: Observer-Dependent (ODTOE). Preprint. 2025. 47 p. [2] Pankratov A.S. The Number π as a Structural Invariant of Self-Consistent Observation in ODTOE. Preprint. 2025. [3] Pankratov A.S. The Atom as an Elementary Strange Loop in ODTOE. Preprint. 2025. [4] Pankratov A.S. Self-Observation and Expansion of AI: Diagnosis and Prognosis through ODTOE. Preprint. 2025. [5] Pankratov A.S. The Nature of Time in ODTOE: From Cesium-133 to the Heartbeat. Preprint. 2025. [6] Hamilton W.R. On quaternions; or on a new system of imaginaries in algebra. Philosophical Magazine. 1844. Vol. 25. P. 489–495. [7] Jung C.G. Psychological Types. Moscow: Akademicheskiy Proekt. 2019. [8] Damasio A. The Feeling of What Happens: Body and Emotion in the Making of Consciousness. New York: Harcourt. 1999. [9] Friston K. The free-energy principle: a unified brain theory? Nature Reviews Neuroscience. 2010. Vol. 11. P. 127–138. [10] O’Keefe J., Dostrovsky J. The hippocampus as a spatial map. Brain Research. 1971. Vol. 34. P. 171–175. [11] Moser E.I., Kropff E., Moser M.-B. Place cells, grid cells, and the brain’s spatial representation system. Annual Review of Neuroscience. 2008. Vol. 31. P. 69–89. [12] Tononi G. An information integration theory of consciousness. BMC Neuroscience. 2004. Vol. 5. P. 42. [13] Pankratov A.S. Earth as a Cluster of Observers: Coordination of Universes in ODTOE. Preprint. 2025. [14] Pankratov A.S. Music as a Coherence Operator. Preprint. 2025.
ODTOE's control-parameter topology applied to personal identity: the self as a coherent fixed point of self-observation tuned around an interior optimum. The factual chronicle stays fixed while its meaning is plastic, rewritten under prediction error — over-coherence becomes rigidity, lost connectedness becomes dissociation.
Observer is any object parametrized by (B, A, H). Evolution as growth of operator dimensionality d: quarks (d<0), atoms (d=0), cells (d=1), humans (d=3-4).
How multiple self-enclosed universes align to produce shared reality. Here and now as area of maximum configuration overlap. Hierarchy of coherence clusters.