Mathematics of Cognition
Abstract A world model functions as a true cognition engine when it enables artificial agents to calculate trajectories through state space, moving beyond the static pattern matching of standard auto-regressive language models 1 . To operate effectively and reason about reality, advanced architectures like the Joint Embedding Predictive Architecture (JEPA) evaluate abstract state transitions rather than reconstructing raw pixels 1 . This engine must navigate distinct mathematical and logical realms. According to Hurwitz’s theorem and the Frobenius theorem, there are only four finite-dimensional real division algebras (and only three that are associative): real numbers (), complex numbers (), quaternions (), and octonions () 1 . Because these are true division algebras lacking zero divisors, they preserve mathematical reversibility, making them stable substrates for structured logic and physical conservation laws 1 . Extending beyond these limits via the Cayley-Dickson construction introduces inherent mathematical instability 1 . This naturally forms a five-tier hierarchy of cognitive logic that spans from entropic chaos to decisive physical action.
1. The Realm of Knowledge (8-Dimensional: Octonions)
The foundational, unbroken rules of the universe operate within an 8-dimensional cognitive space modeled by the octonions (). Algebraically, the octonion realm is non-commutative and non-associative, yet it remains an alternative division algebra 1 . This realm holds the complex fundamental laws and raw physical geometry of the environment before they are projected into the localized sequences of standard spacetime.
2. The Realm of Reality (4-Dimensional: Quaternions)
Physical reality and geometric path-dependence emerge in the 4-dimensional realm of quaternions (). This space is associative but fundamentally non-commutative 1 . Non-commutativity is the critical mathematical feature required for world models because it natively captures the sequential, order-dependent nature of reality, such as 3D rigid-body rotations and chronological events. By modeling reality through quaternions, an agent maintains a stable associative identity (state) while simultaneously tracking the specific, non-commutative history of transformations it undergoes (path).
3. The Realm of Possibilities (2-Dimensional: Complex Numbers)
Before a decisive action is taken, cognitive agents evaluate a 2-dimensional realm of possibilities. Modeled by complex numbers (), this space is both associative and commutative. It represents the “complex world of doubt,” allowing agents to weigh alternate trajectories, evaluate superpositions of states, and parallelize hypotheses without violating the broader geometric laws established by the higher-dimensional realms.
4. The Realm of Decisive Action (1-Dimensional: Real Numbers)
To interact with the physical environment, an agent must collapse knowledge, reality, and possibility into a singular, fully ordered decision. Modeled by the 1-dimensional real numbers (), this realm represents decisive intelligence, known in classical texts as Nishchyatmika Buddhi 1 . Real numbers preserve complete mathematical order, commutativity, and associativity, translating higher-dimensional reasoning into a definitive, scalar action in the physical world.
5. The Realm of Entropy and Energy (16-Dimensional and Beyond)
When the Cayley-Dickson construction is extended beyond 8 dimensions to the 16-dimensional sedenions () and 32-dimensional trigintaduonions, the resulting mathematical structures systematically lose their logical properties 1 . These higher-dimensional algebras lose alternativity and cease to be division algebras 1 . Crucially, they introduce “zero divisors”—an anomaly where two completely non-zero elements multiply to produce a result of zero 1 .
In a cognition engine, these illogical dimensions represent the fifth realm: entropy, chaos, and raw potential energy. Geometrically, the presence of zero divisors implies that a series of non-zero transformations applied to an object in 16-dimensional space can cause it to annihilate and disappear into zero. This structural irreversibility represents a permanent loss of mathematical information, mapping directly to the physical concept of entropy. Furthermore, the complex geometry of these zero divisors is highly structured; for instance, the normalized zero divisors of sedenions form the Stiefel manifold , and specific cyclic slices can be modeled as a quadratic double cone 1 . The 32-dimensional trigintaduonions introduce 1,260 zero divisors, further compounding this chaotic geometry while retaining power associativity 1 . This overarching geometry acts as a superselection rule that prevents the formation of clean, stable linear superpositions, mirroring quantum physical constraints 1 .
Therefore, the 16-dimensional and 32-dimensional realms act as an entropic bath of pure, uncollapsed potential. For an agent to function coherently and make a physical choice, these chaotic dimensions cannot sustain action on their own; they must be collapsed into the stable, zero-divisor-free hierarchy of the 8D, 4D, 2D, and 1D realms.
Conclusion
A World Model is a dynamic system that allows agents to transition seamlessly across mathematical logics. By sensing the entropic potential of higher dimensions and filtering it down through the non-associative laws of 8-dimensional knowledge, the non-commutative sequences of 4-dimensional reality, and the commutative branches of 2-dimensional possibilities, an agent arrives at a 1-dimensional decisive action. This mathematical progression from chaotic energy to ordered action provides the structural framework necessary to bridge the gap between associative pattern matching and true physical reasoning.
Tips and Donations
If you enjoyed this research, consider supporting the project with a tip in Sats. It’s a simple, global way to support independent research.
To send Sats, you’ll need a lightning wallet.