A computational framework where physics emerges from information dynamics
From just 3 fields (energy, potential, information) and local rules, Reality Engine generates:
| Phenomenon | Detection Rate | Confidence | Status |
|---|---|---|---|
| βοΈ Quantum mechanics | 2,081 events | 79.1% | Superposition, tunneling, entanglement |
| π Modified gravity | 41,606 orbits | 90.1% | F β r^0.029 (explains galaxies without dark matter) |
| π Periodic table | 24 mass levels | 85.0% | Discrete quantization like real elements |
| β±οΈ Relativity | 5000 steps | 99.7% | Time dilation from interaction density |
| π₯ Thermodynamics | β | 98.3% | 2nd law compliance, Landauer principle |
This is pre-alpha research software:
- β Results are preliminary and need peer review
- β Not a "theory of everything" - an exploration framework
- β Based on Dawn Field Theory information-theoretic principles
- β Core architecture still evolving - breaking changes expected
For researchers: See theory/ for mathematical foundations
For developers: See ARCHITECTURE.md for implementation details
Not accepting contributions yet: See CONTRIBUTING.md
git clone https://github.com/dawnfield-institute/reality-engine.git
cd reality-engine
pip install -r requirements.txt# Watch atoms form, gravity emerge, quantum effects manifest
python examples/field_visualizer.py
# Test all 6 analyzers (gravity, conservation, atoms, quantum, stars, galaxies)
python scripts/test_analyzers.py
# Run physics discovery pipeline (5000 steps)
python scripts/discover_physics.py --steps 5000Reality Engine is a physics discovery platform where fundamental laws emerge from three simple principles:
- MΓΆbius Geometry: Self-referential topology with anti-periodic boundaries
- Thermodynamic-Information Duality: Energy β Information (two views of one field)
- Equilibrium-Seeking: Universe drives toward balance from disequilibrium
Reality Engine is a physics discovery platform where fundamental laws emerge from three simple principles:
- MΓΆbius Geometry: Self-referential topology with anti-periodic boundaries
- Thermodynamic-Information Duality: Energy β Information (two views of one field)
- Equilibrium-Seeking: Universe drives toward balance from disequilibrium
We don't program physics - we discover it!
- What Emerges - Observed phenomena
- Quick Start - Run in 30 seconds
- Core Principles - How it works
- Key Insights - Theoretical foundations
- Example Code - Full walkthrough
- Validation - Testing framework
- Architecture - System design
- Documentation - Deep dives
- Contributing - Get involved
- Citation - Academic use
The universe is an equilibrium-seeking engine. Time emerges from the pressure to balance. Matter emerges from information crystallizing. Gravity emerges from interaction density. Quantum mechanics emerges from discrete collapse events.
All of physics is the universe trying to reach equilibrium on a MΓΆbius manifold.
Critical: This is NOT pure information theory (which would freeze into static patterns).
The universe has full thermodynamic-information duality:
- Information fields carry thermal energy
- Collapse generates heat (entropy production)
- Temperature gradients drive information flow
- Thermal fluctuations prevent freezing
- Landauer principle: Information erasure costs energy (kT ln(2) per bit)
The "hot-cold balance" creates the edge where complex structures emerge!
Time is NOT fundamental - it emerges from disequilibrium:
Big Bang State: Equilibrium-Seeking: Result:
- Pure entropy β Disequilibrium β Pressure β Time crystallizes
- No structure β SEC Collapses β Interactions β Matter forms
- Maximum pressure β Dense regions = more events β Relativity emerges
Why time slows near mass:
- Dense regions = More interactions per volume
- More interactions = More SEC collapses
- More collapses = Slower local time
- Result: Time dilation without programming GR!
Speed of light emerges as maximum interaction propagation rate.
from core.reality_engine import RealityEngine
from tools.emergence_observer import EmergenceObserver
from analyzers.laws.gravity_analyzer import GravityAnalyzer
from analyzers.matter.atom_detector import AtomDetector
# 1. Initialize Reality Engine
engine = RealityEngine(size=(96, 24))
engine.initialize()
# 2. Set up observers and analyzers
observer = EmergenceObserver()
# Unit calibration for atomic scale
gravity = GravityAnalyzer(
length_scale=1e-10, # 1 Γ
ngstrΓΆm
mass_scale=1.67e-27, # Proton mass
time_scale=1e-15 # 1 femtosecond
)
atoms = AtomDetector()
# 3. Evolution loop - watch physics emerge!
for step in range(1000):
state = engine.step()
structures = observer.observe(engine.current_state)
# Prepare state for analyzers
analyzer_state = {
'actual': engine.current_state.actual,
'potential': engine.current_state.potential,
'memory': engine.current_state.memory,
'temperature': engine.current_state.temperature,
'step': step,
'structures': structures,
'field_E': engine.current_state.actual,
'field_I': engine.current_state.memory
}
# Update analyzers
gravity_detections = gravity.update(analyzer_state)
atom_detections = atoms.update(analyzer_state)
# Print discoveries
if step % 100 == 0:
print(f"\nStep {step}:")
print(f" Structures: {len(structures)}")
print(f" PAC: {engine.current_state.pac_metric:.3f}")
print(f" Gravity detections: {len(gravity_detections)}")
print(f" Atom detections: {len(atom_detections)}")
# Get comprehensive reports
print("\n" + "="*70)
print("GRAVITY ANALYSIS")
print("="*70)
gravity.print_summary()
print("\n" + "="*70)
print("MATTER ANALYSIS")
print("="*70)
mass_dist = atoms.get_mass_distribution()
print(f"Total structures: {mass_dist['total_structures']}")
print(f"Distinct mass levels: {mass_dist['num_mass_levels']}")# Watch atoms and molecules emerge (1500 steps)
python spikes/universe_evolution/universe_evolution.py --steps 1500
# Visualize field dynamics in real-time
python examples/field_visualizer.py
# Run comprehensive physics discovery (5000 steps)
python scripts/discover_physics.py --steps 5000 --width 96 --height 24Reality Engine includes 6 independent analyzers that observe and quantify emergent physics: Reality Engine now includes 6 independent analyzers that observe and quantify emergent physics:
- GravityAnalyzer: Measures forces, compares to Newton's law, detects orbital motion
- ConservationAnalyzer: Tracks E+I, PAC, momentum conservation
- AtomDetector: Identifies stable structures, detects mass quantization (periodic table!)
- StarDetector: Finds stellar objects, fusion processes, generates H-R diagrams
- QuantumDetector: Detects entanglement, superposition, tunneling, wave-particle duality
- GalaxyAnalyzer: Measures rotation curves, dark matter, cosmic web, Hubble expansion
Key Discoveries (from 1000-step test):
- π 41,606 orbital motions detected (90.1% confidence)
- π 439 gravitational collapses observed
- βοΈ 2,081 wave-particle duality events (quantum phenomena!)
- π 24 distinct mass levels (periodic table-like quantization)
- π¬ Gravity law: F β r^0.029 (not Newton's r^-2!)
- β‘ Force strength: Scale-dependent, 10^33x Newton at atomic calibration
- 5000+ step stability with QBE-driven gamma adaptation
- PAC Conservation: 99.7-99.8% maintained over long runs
- No NaN or manual intervention - framework self-regulates
- Framework validation: Sticking to PAC/SEC principles ensures stability
- Landauer Principle: Information erasure costs energy
- 2nd Law: 98.3% compliant (emerges from SEC, not programmed!)
- Heat Flow: Fourier's law from temperature gradients
- T-M Coupling: r=0.920 (temperature-memory correlation)
- InformationβHeat: Heat increases 51Γ as memory grows 293Γ
- Wave-Particle Duality: Detected with 79.1% confidence
- Mass Quantization: 24 discrete levels like periodic table
- Superposition Detection: Bi-modal energy distributions
- Entanglement Framework: Distant correlation tracking
- Quantum Tunneling: Barrier penetration observed
- Born Rule: Probability from field amplitude squared
- Time Dilation: Dense regions evolve slower
- c (Speed of Light): Maximum interaction propagation rate
- Equivalence: Interaction density = gravitational field
- No Programming GR: Emerges from interaction counting!
- Stable Structures: 13-22 particles per simulation
- Mass Hierarchy: Discrete levels with dominant structures
- Atoms: Hydrogen-like structures emerging naturally
- Molecules: Hβ formation observed
- Gravity Wells: Information density clustering
- No Particle Physics Input: Pure field dynamics!
- Force Law: F β r^0.029 (nearly distance-independent!)
- Information-Driven: Gravity from information density, not just mass
- Non-Local: Force doesn't fall off with r^2
- Orbital Motion: Despite different force law, orbits still detected
- Scale-Dependent: Force strength calibrates to any physical scale
Reality Engine v2 uses a 6-layer stack:
βββββββββββββββββββββββββββββββββββββββ
β Visualization Layer β
β (Field viz, particle tracking) β
βββββββββββββββββββββββββββββββββββββββ
β²
βββββββββββββββββββββββββββββββββββββββ
β Law Discovery Layer β
β (Pattern detection, classification)β
βββββββββββββββββββββββββββββββββββββββ
β²
βββββββββββββββββββββββββββββββββββββββ
β Emergence Layer β
β (Particle detection, structures) β
βββββββββββββββββββββββββββββββββββββββ
β²
βββββββββββββββββββββββββββββββββββββββ
β Dynamics Layer β
β (SEC, Time Emergence, Confluence) β
βββββββββββββββββββββββββββββββββββββββ
β²
βββββββββββββββββββββββββββββββββββββββ
β Conservation Layer β
β (Thermodynamic PAC, Landauer) β
βββββββββββββββββββββββββββββββββββββββ
β²
βββββββββββββββββββββββββββββββββββββββ
β Substrate Layer β
β (MΓΆbius Manifold + Temperature) β
βββββββββββββββββββββββββββββββββββββββ
See ARCHITECTURE.md for complete documentation.
- Self-referential topology (potential β actual on same surface)
- Anti-periodic boundaries: f(x+Ο) = -f(x)
- 4Ο holonomy (not 2Ο!)
- Ξ = 1.0571 emerges from geometry
- Fields carry BOTH information AND energy
- Collapse generates heat (entropy production)
- Landauer erasure costs tracked
- Temperature field prevents "freezing"
- 2nd law emerges automatically
- Time from disequilibrium pressure (not external clock)
- Interaction density creates local time rates
- Time dilation emerges (relativity!)
- Big Bang = max disequilibrium
- Heat death = equilibrium (time stops)
- PAC kernel: error < 1e-12
- Automatic violation detection and correction
- Energy-information conversion tracking
- Thermodynamic consistency enforced
- Particles form without programming
- Quantum mechanics emerges from discrete collapses
- Gravity emerges from interaction density
- Relativity emerges from time emergence
- Novel laws discovered automatically
- Automatically detects stable patterns
- Classifies laws (conservation, force, symmetry, thermodynamic)
- Validates across conditions
- Reports confidence and discovery time
Reality Engine v2 must reproduce these empirical signatures:
- Landauer principle: ΞE = k_T ln(2) Ξbits
- 2nd law: dS/dt β₯ 0 always
- Heat flow: Fourier's law
- No heat death: thermal fluctuations maintained
- Energy-information conversion correct
- Time rate β disequilibrium pressure
- Dense regions β slower time
- c emerges as universal constant
- Relativistic effects without GR programming
- Ξ β 1.0571 (geometric balance)
- 0.020 Hz fundamental frequency
- Half-integer modes (MΓΆbius signature)
- Particles form naturally
- Quantum Born rule compliance >90%
- 100,000+ steps without explosion
- PAC error < 1e-12 throughout
- Smooth field evolution
- No collapse to zero (thermal protection)
Current Phase: Architecture & Documentation Complete
Next: Implement thermodynamic PAC kernel
See STATUS.md for detailed implementation status.
- β 3D Cartesian grid (should be MΓΆbius)
- β Manual conservation (PAC error >1.0)
- β Threshold-based collapse (arbitrary)
- β Imposed physics (not emergent)
- β Pure information (cold, frozen)
- β MΓΆbius manifold substrate
- β PAC kernel (error <1e-12)
- β Energy functional evolution
- β Law discovery (detect emergence)
- β Thermodynamic coupling (hot + cold)
- β Time emergence (not imposed)
Q: Is this claiming to replace established physics?
A: No. This explores how physics-like behavior can emerge from computational principles. It's a research tool, not a replacement for tested theories.
Q: Has this been peer-reviewed?
A: Not yet. This is v0.1.0 research software. We welcome academic collaboration and independent verification.
Q: Why should I trust results from a simulation?
A: You shouldn't blindly. Download it, run it yourself, vary parameters, test predictions. Science requires reproducibility.
Q: How is this different from cellular automata or Wolfram Physics?
A: Key differences: thermodynamic coupling, MΓΆbius topology, emergent conservation laws, and multi-scale analyzer framework.
Q: What about the modified gravity (F β r^0.029)?
A: This is a preliminary observation that needs validation. If it holds, it could explain galaxy rotation without dark matter, but requires extensive testing.
Q: Can I use this in my research?
A: Yes! It's AGPL3 licensed. Please cite appropriately and share your findings.
Status: Not accepting contributions yet.
This is pre-alpha research software with an evolving architecture. Code contributions are not being accepted at this time.
However, we welcome:
- π Bug reports and issue tracking
- π¬ Feedback on results and observations
- οΏ½ Independent verification and validation
- οΏ½ Theoretical suggestions and discussions
See CONTRIBUTING.md for full details on how to engage with the project.
Contributions will open once the core framework stabilizes (tentatively Q2 2026).
If you use Reality Engine in your research, please cite:
@software{reality_engine,
title = {Reality Engine: A Computational Framework for Emergent Physics},
author = {Groom, Peter Lorne},
year = {2025},
version = {pre-alpha},
license = {AGPL-3.0},
url = {https://github.com/dawnfield-institute/reality-engine},
note = {Based on Dawn Field Theory principles}
}Related Work:
- Dawn Field Theory: github.com/dawnfield-institute/dawn-field-theory
- Fracton SDK: github.com/dawnfield-institute/fracton
See LICENSE for details.
reality-engine/
βββ core/ # Core field operators (SEC, PAC, Time)
βββ substrate/ # MΓΆbius manifold substrate
βββ conservation/ # Conservation laws (ThermodynamicPAC)
βββ dynamics/ # Evolution operators (SEC, Confluence, Time)
βββ emergence/ # Structure detection (particles, atoms)
βββ laws/ # Physics law discovery
βββ tools/ # Analysis tools (AtomicAnalyzer, etc.)
βββ examples/ # Production-ready demonstrations
β βββ field_visualizer.py # Basic field visualization
βββ spikes/ # Research experiments (organized by topic)
β βββ thermal_validation/ # InfoβHeat discovery validation
β βββ atomic_emergence/ # H, Hβ detection experiments
β βββ law_discovery/ # Automated physics discovery
β βββ universe_evolution/ # Long-term structure formation
β βββ big_bang/ # Initialization experiments
βββ tests/ # Test suite
βββ docs/ # Full documentation
βββ ARCHITECTURE.md # System design
βββ STATUS.md # Implementation progress (detailed!)
βββ ROADMAP.md # Phase 2-5 development plan
βββ README.md # This file
Each spike folder contains focused experiments exploring specific phenomena:
-
thermal_validation/ - Validates "Without information, there can be no heat"
- Heat spike verification (T increases 51Γ as M grows 293Γ)
- Temperature-memory correlation (r=0.920)
-
atomic_emergence/ - Atoms and molecules from pure dynamics
- 6 H atoms detected, 1 Hβ molecule formed
- No atomic physics programmed!
- Quantum states from radial patterns
-
law_discovery/ - Automated physics law extraction
- 300-step runs analyzing field correlations
- Conservation law validation (PAC < 1e-12)
- Spatial pattern detection (1/rΒ², exponential)
-
universe_evolution/ - Long-term simulations (500-1500 steps)
- Gravity wells, stellar regions, dark matter detection
- Periodic table builder
- Structure formation tracking
-
big_bang/ - Initialization mode comparison
- Pure entropy vs density perturbations vs info seeds
- Info seeds β 2.7Γ faster atom formation!
Each spike has its own README with detailed results and next steps.
- ARCHITECTURE.md - Complete system design
- STATUS.md - Implementation progress with Phase 2-5 roadmap
- ROADMAP.md - Detailed development plan (6+ months)
- docs/theory/ - Theoretical foundations
- examples/ - Production-ready demonstrations
- spikes/*/README.md - Research experiment documentation
Phase: Structure Emergence - Atoms & Molecules Detected! β¨
Achievements:
- β Foundation complete (7 production steps, Nov 1-5)
- β Hydrogen atoms emerge naturally (mass ~0.14, stability 0.67-0.73)
- β Hβ molecules form via proximity bonding
- β Gravity wells detected from density clustering
- β Heat generation validated (infoβheat correlation r=0.920)
- β PAC conservation at machine precision (<1e-12)
- β 2nd law compliance: 98.3%
Next: Phase 2 - Structure Stabilization (6 weeks, Nov 6 - Dec 15)
- Make atoms persist >1000 steps
- Detect heavier elements (He, Li, C)
- Complete periodic table (first 10 elements)
- Implement energy wells for stability
See STATUS.md for weekly task breakdown and ROADMAP.md for full vision.
Last Updated: November 6, 2025
Version: 2.0.0-alpha (thermodynamic rebuild complete)
Status: Foundation complete, atoms & molecules detected, Phase 2 beginning
Reality emerges. Physics discovers itself. Time crystallizes from balance.