Scientific & Philosophical Concepts
Reference documentation for the ODE-based biological and cognitive layers of the simulation. This engine attempts to model the emergence of self-consciousness through the tension between biological imperative and social recognition.
1. Metabolism & Homeostasis
The metabolic layer is governed by a system of ordinary differential equations (ODEs) simulating energy consumption relative to movement and basal existence. In the Hegelian sense, this represents the "Life" stage where the organism distinguishes itself from the environment through consumption.
Parameter Constraints
| Param | Range | Unit |
|---|---|---|
| basal_rate | 0.01 - 0.05 | J/s |
| move_cost | 0.1 - 0.5 | J/m |
| death_thresh | 0.0 | J |
2. CTRNN Architecture
Continuous Time Recurrent Neural Networks (CTRNNs) serve as the brain stem. Unlike discrete networks, CTRNNs model the temporal dynamics of neurons, allowing for smooth motor control and short-term memory without explicit recurrence loops in code.
Neuron State Equation
- τ Time constant (decay rate)
- w Synaptic weight from j to i
- σ Sigmoid activation function
3. Predictive Coding Networks
The agent minimizes free energy by predicting sensory inputs. Prediction errors are propagated up the hierarchy to update internal models (beliefs). High prediction error drives the organism to act to change the world to fit its model (Active Inference).
Input Layer
Raw sensory data (Distance sensors, Energy level)
Hidden Layer
Latent variables representing "Self" and "Other"
Error Units
Computes: Observation - Prediction
Hegelian Connection
This layer corresponds to the "Concept" stage. The organism is no longer just reacting; it is conceptualizing the external world. The error signal is the "negation" of the subject's internal certainty by objective reality.
4. Mutual Recognition
The highest layer of the simulation. Agents must not only survive but achieve a stable state of mutual acknowledgment. This is modeled as a game-theoretic payoff matrix where cooperation yields higher long-term energy stability than pure predation.
| State | Interaction | Energy Outcome (∆E) | Recognition Score |
|---|---|---|---|
| Indifference | Agents ignore each other | -0.01 (Basal) | 0.0 |
| Conflict | Agent A attacks Agent B | +10.0 / -50.0 | -0.5 |
| Recognition | Mutual signaling | +2.0 (Shared) | +1.0 |
"Self-consciousness exists in and for itself when, and by the fact that, it so exists for another; that is, it exists only in being acknowledged." - G.W.F. Hegel