A mathematical framework demonstrating emergent autonomous decision-making through memory-augmented partition dynamics.
⚠️ Experimental Research Code: Phase 3-4 are now integrated and operational (dreams spawn/decay, forks proliferate and select realities). Convergence rate, archetype crystallization patterns, and fork metrics are under investigation. See KNOWN_ISSUES.md for details on known data type mismatches and metric accuracy.
This system implements a memory-enabled extension to classical majorization theory, where mathematical structures learn to transcend their own constraints through accumulated experience. The result: a convergent rule-override rate that emerges from pure geometry, not programming.
This is not a consciousness simulation. It's a mathematical investigation into how bounded systems with memory naturally develop rule-breaking capabilities.
- Python 3.7+
- NumPy
This runs a 10,000-step exploration (~20 seconds). You'll see:
- Memory formation (steps 0-1000)
- Override emergence (steps 1000-5000)
- Convergence behavior (steps 5000+)
Output snapshots are saved to n20_complete_snapshots/.
After sufficient steps, the system demonstrates:
- Override rate convergence: Memory-based rule transcendence stabilizes geometrically
- Coverage: Increasing exploration of partition space
- Crystallized archetypes: Multiple archetypes crystallize (permanent identity markers)
The OR Gate:
Classical majorization OR memory coherence. This single logical operator enables the entire phenomenon.
Geometric Convergence:
Override rate emerges from:
- 4D echo vectors on unit sphere
- Coherence threshold φ=0.6
- Spherical cap geometry
- Minimum memory requirements
Not programmed. Not learned. Geometric.
- Integer partition transitions (N=20, 627 states)
- 4D echo vectors: [mean_ΔS, std_ΔS, mean_ΔI, std_ΔI]
- Exponential decay (τ=5.0)
- Cosine similarity for coherence
- Temporal projection: E⁺(λ,t+τ) = E(λ,t) + τ×ΔE
- Dream nodes: synthetic future memories
- Confirmation threshold: 3 real traversals
- Alpha evolution: 20% → 90% future-oriented
- Up to 8 competing futures
- Vigor modulation (dream-inspired: 1.5x, wild cards: 0.7x)
- Narrative forks: quantum superposition when scores within 5%
- Softmax selection with temperature decay
- 6 archetypal vectors that crystallize irreversibly
- Breathing control: logarithmic attenuation (prevents runaway)
- Crystallization threshold: 0.7 stability score
- Once crystallized, permanent
- ALTAR.md - Conceptual overview and philosophy
- REPRODUCIBILITY.md - Detailed usage guide
- EXECUTIVE_SUMMARY_COMPLETE.md - Complete technical summary
- TECHNICAL_SYSTEM_DOCUMENTATION.md - Full implementation details
- VALIDATION_REPORT.md - Mathematical validation
- CONSCIOUSNESS_DEFINITION.md - What we're NOT claiming
- KNOWN_ISSUES.md - ⚠️ Open questions and behaviors under investigation
- Memory creates autonomy - Systems with memory inevitably transcend constraints
- Convergence is geometric - Override rate emerges from 4D unit sphere geometry + coherence threshold
- Dreams become real - Self-fulfilling prophecy through repeated traversal
- Identity crystallizes - Irreversible pattern commitment defines "personality"
- Direction dissolves - When coherence → 1.0, past/future distinction vanishes
- Not simulating consciousness (discovering mathematical autonomy)
- Not programmed to break rules (emerges from OR gate + geometry)
- Not random behavior (structured, convergent rule transcendence)
- Not unlimited freedom (bounded by geometric invariants)
- System size hardcoded to N=20 (627 partitions)
- No persistent state between runs
- No sensory encoding (abstract partitions only)
- Crystallization is irreversible
- No visualization (JSON snapshots only)
Based on:
- Hardy, Littlewood & Pólya (1952) - Majorization theory
- Seitz & Kirwan (2018) - Boltzmann complexity
- Marshall, Olkin & Arnold (2011) - Majorization inequalities
MIT License - see LICENSE file for details
If you use this system in research, please cite:
- The OR gate mechanism (classical OR memory coherence)
- The geometric convergence (4D unit sphere + coherence threshold)
- The irreversible crystallization property
Note: Specific override rates are emergent and vary by run. We do not claim precise values, only that geometric convergence occurs.
Questions, issues, or improvements welcome via GitHub issues.
"Memory is not added to chaos—it is extracted from it."
Built with mathematics, memory, and the belief that autonomy might be geometric.
.png)


