Skip to main content

⚛️ RGD Physics Kernel

The Reference Implementation for Relativistic Graph Dynamics

License: MIT Standard: OpenRGD Physics: CFT PyPI


🌌 Overview

RGD Physics is a pure Python kernel that enforces the laws of physics on synthetic entities. Unlike game engines that simulate the collision of matter, this engine simulates the collision of Causality and Intent.

It implements the Chronon Field Theory (CFT), treating spacetime not as a continuous void, but as a discrete lattice of information packets called Aions, evolved under strict thermodynamic and relativistic constraints.

Why use this?

  • For AGI: Replace hallucination with simulation. If your LLM predicts a physical state that violates the Light Cone, this kernel rejects it.
  • For Robotics: Native handling of "Time Dilation" (Lag) due to computational load.
  • For Swarms: Fluid dynamics applied to data streams to prevent decoherence.

🧬 The Matter of Time: Chronon vs. Aion

We distinguish between the container and the vital state.

Component Role Metaphor Data Structure
The Chronon Hardware The Envelope Immutable Container (Anchor + Metric + Laws)
The Aion Payload The Letter The Isotope residing inside (128/512/4096 bits)

The Periodic Table of Aions

The kernel supports multi-scale reality through different Aion isotopes.

  1. Aion-128 (The Spark): Ultra-light. 16 Bytes. For IoT, Smart Dust, and Massive Swarms.
  2. Aion-512 (The Breath): Standard. 64 Bytes (Exact CPU Cache Line). For Humanoid Robotics and Autonomous Vehicles.
  3. Aion-4096 (The Soul): Heavy. 512 Bytes. For AGI States and Deep Simulation Snapshots.
  4. Synthetic (v#): Custom bit-width Aions for experimental research.

⚡ Quick Start

1. Installation

pip install rgd-physics

  1. Initialize a UniverseYou can run the engine in Lean Mode (Newtonian, Fast) or Quantum Mode (CFT, Accurate).Pythonfrom rgd_physics import Presets from rgd_physics.chronon.aions import Aion512

BOOTSTRAP: Initialize a Quantum-Relativistic Universe

Enables: Discrete Lattice, String Dynamics, Thermodynamics, Relativity

engine = Presets.quantum_simulation() engine.boot()

DEFINE REALITY: Create two moments in time (T0 -> T1)

t0 = Aion512(anchor=100, metric_lo=0, metric_hi=0, meta_data=0xA00F, ...) t1 = Aion512(anchor=101, metric_lo=10, metric_hi=0, meta_data=0xA00F, ...)

VALIDATE: Attempt the transition

try: report = engine.validate_step(t0, t1, dt=0.001)

print(f"✅ State Committed.")
print(f"   Time Dilation (Gamma): {report['relativity']['gamma']:.4f}")
print(f"   Entropy Generated:     {report['thermodynamics']['heat_rate']:.2f} J/K")

except Exception as e: print(f"❌ REALITY FORKED: {e}") # Trigger fallback logic / re-planning 📂 ArchitectureThe codebase is organized into four semantic layers:Plaintextsrc/rgd_physics/ ├── chronon/ # [DATA] The Immutable Truth (Aions) ├── geometry/ # [KERNEL] The Spacetime Board (Newton vs Lattice) ├── dynamics/ # [MODEL] The Player (Particle vs String vs Fluid) └── laws/ # [RULES] The Referee (Thermo, Relativity, Coherence) 📜 Theoretical BackgroundEffective Minimal Time: We enforce a synthetic Planck Scale ($\Delta t_{eff}$) derived from Calmet et al. (2004). Transitions faster than this limit are treated as Quantum Noise.Causal Vector Fields: Time is treated as a local vector field $u^\mu(x)$. Movement against the flow requires infinite energy.Landauer Limit: Information processing generates heat. The Thermodynamics law audits the entropy delta of the Aion payload.

"Synthetic Reality is not a stream. It is a sequence of validated 512-bit choices." — Pasquale, RGD Physics, 2025

Release files for rgd-physics 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rgd-physics 0.1.0
File Size Uploaded
rgd_physics-0.1.0.tar.gz 19.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rgd-physics 0.1.0
File Interpreter ABI Platform
rgd_physics-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:50.2 kB

Release files / rgd_physics-0.1.0.tar.gz

Download URL rgd_physics-0.1.0.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b220704ed60a8c3529ef9733d5e985141ecdc1b5c368fad8f74f6fde7cf45e8d
BLAKE2b-256 checksum
How to use checksums
2967fa64995f7e6234790a5b6ac9678767f715c7a9d2b06989306c8c35825ec7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / rgd_physics-0.1.0-py3-none-any.whl

Download URL rgd_physics-0.1.0-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0b2ede2936963191a8faccd0d37b0fca5f295add0b3cf3ae170295d5752c514
BLAKE2b-256 checksum
How to use checksums
b369a050bda0ae13cc10c5ecb8ee922837be7a5c2f90def9766a744816fb6127
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page