Skip to content
View hcsn-theory's full-sized avatar
  • Joined Dec 17, 2025

Block or report hcsn-theory

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
HCSN-Theory/README.md

πŸŒ€ HCSN Theory β€” Holographic Computational Spin-Networks

DOI License ORCID

A computational approach to emergent spacetime, gravity, and quantum mechanics.


HCSN (Holographic Computational Spin-Network) explores the hypothesis that the universe is fundamentally computational β€” discrete events and causal relations give rise to spacetime, gravity, and quantum features.

✨ Highlights

  • Minimal, local rewrite rules drive evolution.
  • Diagnostics test emergence of time, dimensionality, and metric structure.
  • Designed as a research playground: toy universes, experiments, and visualization.

Table of Contents


Overview

HCSN proposes a discrete, causal, and computational substrate:

  • Events are vertices in a hypergraph; relations are (hyper)edges.
  • Dynamics are local rewrite rules (edge creation, vertex fusion).
  • Geometry, dimension, and time are emergent, not fundamental.

The long-term goal is to identify the minimal rule set that produces universes consistent with:

  • Lorentz invariance (emergent)
  • 4D spacetime structures
  • Holographic scaling of information
  • Quantum probabilistic behavior (Born rule)

Docs

This is full Documentation of this theory. Click here to read the Documentation


Axioms

Axiom Name Summary
1 Discreteness Reality is discrete β€” events (vertices) are fundamental.
2 Causality Events are partially ordered by causal relations.
3 Minimal Dynamics Local rewrite rules drive evolution: Edge Creation & Vertex Fusion.
4 Holography Information capacity scales with boundary (not volume).
5 Geometricity Stable geometry emerges when ⟨k⟩ β‰ˆ 8 (a dimensional attractor).
6 Persistence Hierarchical stability & error-correction via redundant causal loops.

Repository Structure

HCSN-Theory/
β”œβ”€β”€ engine/                # Core simulation engine
β”‚   β”œβ”€β”€ hypergraph.py      # Vertices, hyperedges, causality
β”‚   β”œβ”€β”€ rules.py           # Rewrite rules
β”‚   β”œβ”€β”€ rewrite_engine.py  # Acceptance dynamics
β”‚   └── observables.py     # Physical diagnostics
β”œβ”€β”€ experiments/           # Reproducible experiments
β”‚   β”œβ”€β”€ exp_phase_diagram.py
β”‚   β”œβ”€β”€ exp_critical_scan.py
β”‚   └── exp_worldline_interactions.py
β”œβ”€β”€ notebooks/             # Visualization & exploration (Jupyter)
β”œβ”€β”€ figures/               # Generated plots & assets
β”œβ”€β”€ theory/                # Conceptual documentation
β”‚   └── hcsn_summary.md
└── README.md

Quick Start

Requirements

  • Python 3.10 or later
  • No external dependencies by default (pure Python). If notebooks or plotting are used, consider: matplotlib, numpy, jupyter.

Clone and run:

git clone https://github.com/hcsn-theory/HCSN-Theory.git
cd HCSN-Theory
python3 run_simulation.py

This runs a toy universe and prints diagnostics every N steps (see config/flags in the engine if present).


How to Run a Toy Universe

  1. Configure parameters (if available) in engine or via command-line flags.
  2. Start the simulation:
    • python3 run_simulation.py
  3. Key printed diagnostics (periodic):
    • average coordination ⟨k⟩
    • causal depth (L)
    • interaction concentration (Ξ¦)
    • closure density (Ξ¨)
    • hierarchical stability (Ξ©)

Tip: Increase logging or enable snapshotting in rewrite_engine.py for analysis and visualization.


Diagnostics Explained

Symbol Name Meaning
⟨k⟩ Avg coordination Controls effective dimensionality; geometric attractor near 8.
L Causal depth Maximum causal chain length β€” emergent time scale.
Ξ¦ Interaction concentration Measures hub dominance (want small Ξ¦ for uniformity).
Ξ¨ Closure density Redundancy in causal closure (error correction).
Ξ© Hierarchical closure RG-like stability across scales (non-zero indicates persistence).

Interpretation guide:

  • ⟨k⟩ β‰ˆ 7.5–8.5 β†’ spacetime-like, stable geometry.
  • Small Ξ¦ β†’ suppressed hubs, more uniform interactions.
  • Non-zero Ξ© across scales β†’ hierarchical persistence and robustness.

Stable Spacetime-Like Behavior

Empirical indicators in simulations:

  • ⟨k⟩ stabilizes near 7.5–8.5
  • Ξ¦ remains small (no runaway hub formation)
  • Ξ© > 0 across multiple scales
  • Closure density Ξ¨ indicates sufficient redundancy for persistent structure

Negative results (failures) are equally valuable β€” they highlight missing axioms or rule constraints.


Current Research Focus

Active directions:

  • Prevent metric collapse under coarse-graining
  • Implement logarithmic information metrics (holographic tests)
  • Enforce holographic bounds dynamically in evolution
  • Search for Lorentz-invariant fixed points of the rule dynamics
  • Explore mechanisms that produce quantum probabilistic outcomes (Born rule)

Contributing

We welcome contributions from:

  • physicists (GR, QFT, quantum gravity)
  • mathematicians (graph theory, category theory)
  • programmers (simulation performance, visualization)
  • curious minds who can test assumptions

Getting started:

  1. Fork the repo, create a feature branch.
  2. Add reproducible experiments under experiments/.
  3. Document new rules, diagnostics, and observed behaviors.
  4. Open PRs with clear descriptions, expected behavior, and reproducibility notes.

Guidelines:

  • Write reproducible code and seed RNGs where appropriate.
  • Add tests or small example scripts demonstrating changes.
  • Keep changes modular β€” new rules or observables should live in engine/.

Examples & Notebooks

See notebooks/ for visualization experiments and step-by-step explorations. If a plotting stack is available, export snapshots to figures/ for inclusion in reports.


Acknowledgements

If you use HCSN-Theory in research, please cite the repo and include a reference to the simulation version/commit used. Consider adding a DOI via Zenodo for formal citation.

Please cite it as follows:

The HCSN Research Group, @hcsn. (2025). The Holographic Computational Spin-Network (HCSN): Theory & Simulation (Version 1.0.0) [Computer software]. https://github.com/hcsn-theory/HCSN-Theory

BibTeX Entry

For LaTeX/Overleaf users:

@software{HCSN2025,
  author = {The HCSN Research Group, @hcsn.},
  title = {The Holographic Computational Spin-Network (HCSN): Theory & Simulation},
  version = {1.0.0},
  year = {2025},
  url = {[https://github.com/hcsn-theory/HCSN-Theory](https://github.com/hcsn-theory/HCSN-Theory)}
}

License & Contact

This project is active research and published under Apache 2.0 licence. For collaboration or questions, open an issue or contact the maintainers via GitHub: hcsn-theory


πŸ›οΈ Governance

The HCSN Research Group is maintained by @hcsn.


Philosophy

β€œThe universe may not be described by computation β€” it may be computation.”


HCSN treats this as a testable hypothesis: build minimal computational rules and examine what emerges.

Enjoy exploring! 🧩

Popular repositories Loading

  1. HCSN-Theory HCSN-Theory Public

    The Holographic Computational Spin-Network (HCSN): A Python framework for emergent quantum gravity and hypergraph rewriting.

    Python 1

  2. hcsn-theory.github.io hcsn-theory.github.io Public