This repository contains the Python code and dynamic simulation results for the Trinity Geometric Model (TGM), providing computational validation for the core mechanisms described in the corresponding manuscript.
[Link to the Zenodo Paper: Trinity Geometric Model: Conceptual Foundations (Catrambone, 2025)]
The trinity_sim.py script implements the lattice-based dynamics described in Section 7 of the TGM paper. Its primary goal is to demonstrate that the two fundamental interaction axioms—Curvature Mismatch Collapse and Selector Phase Synchronization—can spontaneously generate and maintain stable, particle-like structures from a state of random geometric variation.
The simulation successfully shows:
- Emergence: Stable, localized clusters (particles) forming from noise.
- Confinement: Sharp, persistent boundaries between clusters and the background.
- Interaction: Observable movement, clustering, and shape-changing dynamics, simulating forces.
The simulation uses a 2D toroidal (wrapped) lattice of
| Variable | Physical Meaning (TGM) | Role in Simulation |
|---|---|---|
| Curvature ( |
Local expansion rate (Analog of Energy/Mass) | Determines stability and collapse probability. |
| Selector Phase ( |
Internal rotational state (Analog of Spin/Charge) | Drives long-range interaction and coherence. |
The simulation runs on a time step that simultaneously executes two mechanisms:
-
Curvature Mismatch Collapse (Eq. 48): Trinities with similar curvatures average their
$R$ values based on an exponential probability. This enforces local uniformity and forms the particle's internal structure. -
Phase Synchronization (Eq. 50): The
$\phi$ phase of a trinity is pulled toward the average phase of its neighbors, simulating a collective, relational influence (the basis for TGM forces).
Through iterative tuning, a set of parameters was found that successfully demonstrates all three target phenomena: Emergence, Confinement, and Dynamic Interaction.
| Parameter | Symbol | Value | Description |
|---|---|---|---|
| Grid Size | 50 | Lattice resolution. | |
| Total Steps | 500 | Total time steps executed. | |
| Confinement Sensitivity | 40.0 | Governs the strictness of geometric stability; determines particle size and boundary sharpness. | |
| Phase Coupling Strength | 8.0 | Governs the strength of interaction between particles (simulates forces). |
The following three time-lapse images illustrate the system's evolution from a random field to a stable, interacting ensemble.
Interpretation (Emergence & Confinement): The initial frame shows the rapid formation of distinct, localized clusters. The Curvature Collapse mechanism forces local uniformity, while the sensitivity of
Interpretation (Dynamic Interaction): By the 4-minute mark, the clusters have begun slow, visible movement and shape-changing (e.g., slight elongation and clustering). This demonstrates the Phase Synchronization (
Interpretation (Long-Term Stability): The final frame confirms that the formed structures are stable and persistent. The TGM system does not collapse back to chaos, nor does it dissolve into a single uniform crystal, validating the relational symmetry axioms necessary for enduring physical structure.
To replicate this simulation:
- Prerequisites: Ensure you have Python 3.x installed (use
python3 --versionto check). - Install Dependencies: Open your terminal and install the required libraries:
pip3 install numpy matplotlib
- Run the Script: Download the
trinity_sim.pyfile and execute it using the terminal:python3 trinity_sim.py
The following variables in trinity_sim.py can be adjusted to explore different confinement or interaction regimes:
| Variable | Effect | Recommended Range |
|---|---|---|
COLLAPSE_SENSITIVITY |
Controls particle stability. Lower values lead to dissolution (chaos); Higher values lead to frozen crystals (no dynamics). |
|
COUPLING_STRENGTH |
Controls force strength. Lower values show no interaction; Higher values lead to faster, more violent merging. |
|


