Skip to content

Latest commit

 

History

History
290 lines (217 loc) · 12 KB

File metadata and controls

290 lines (217 loc) · 12 KB

The Binary Math: 二进制宇宙创世结构

Deploy to GitHub Pages Test Build

A complete theoretical framework deriving the universe from a single axiom: Self-referentially complete systems must increase entropy.

This repository contains both the AllTheory Documentation website (Ψhē Theory) and the comprehensive Binary Universe Theory System — a rigorous mathematical framework that derives everything from information encoding to consciousness emergence using the no-11 binary constraint and φ-representation.

Live Documentation Site: https://auric.github.io/alltheory/

🏗️ Repository Structure

This repository contains two major theoretical frameworks:

1. 📖 AllTheory Documentation Website

  • Bilingual: Full support for English and Simplified Chinese
  • 64 Chapters: Complete exposition of ψ = ψ(ψ) theory
  • Mathematical Rendering: LaTeX support for complex equations
  • Dark Mode: Automatic theme switching
  • Mobile Responsive: Works on all devices

2. 🧮 Binary Universe Theory System

  • 118 Complete Theories: From axiom to consciousness emergence
  • 107 Formal Specifications: Machine-readable mathematical proofs
  • 111 Unit Tests: Complete verification framework
  • Single Axiom Foundation: Everything derived from self-referential completeness
  • No-11 Binary Constraint: Discrete universe with φ-representation

🚀 Quick Start

Installation

npm install

Local Development

npm start

This starts a local development server at http://localhost:3000/. Most changes are reflected live without having to restart the server.

To run with a specific locale:

npm start -- --locale zh-Hans  # For Chinese
npm start -- --locale en       # For English

Build

npm run build

This generates static content into the build directory for both locales.

Local Testing

npm run serve

This serves the production build locally at http://localhost:3000/alltheory/.

📦 Deployment

The site is automatically deployed to GitHub Pages when changes are pushed to the main branch.

Manual Deployment

If you need to deploy manually:

GIT_USER=<Your GitHub username> npm run deploy

GitHub Pages Setup

  1. Go to repository Settings → Pages
  2. Under "Build and deployment", select "GitHub Actions" as the source
  3. Push to main branch to trigger automatic deployment

🏗️ Project Structure

docs/
├── intro.md                       # Project introduction
├── project-structure.md           # Documentation structure guide
├── 10-psi-core-theory/           # Ψhē Theory (64 chapters)
│   ├── 11-primordial-identity/       # Chapters 1-8: The birth of ψ
│   ├── 12-language-emergence/        # Chapters 9-16: Language systems
│   ├── 13-structural-collapse/       # Chapters 17-24: Pattern formation
│   ├── 14-observer-formation/        # Chapters 25-32: Consciousness
│   ├── 15-reality-crystallization/   # Chapters 33-40: Material reality
│   ├── 16-complexity-unfolding/      # Chapters 41-48: Complex systems
│   ├── 17-meta-recursion/            # Chapters 49-56: Self-reference
│   └── 18-unity-return/              # Chapters 57-64: Completion
└── binaryuniverse/                # Binary Universe Theory System
    ├── A1-five-fold-equivalence.md  # Core axiom
    ├── T1-*-*.md                    # Fundamental theorems
    ├── T2-*-*.md                    # Information encoding theorems
    ├── T3-*-*.md                    # Quantum emergence theorems
    ├── T4-*-*.md                    # Mathematical structure theorems
    ├── T5-*-*.md                    # Information theory theorems
    ├── T6-*-*.md                    # Completeness verification
    ├── T7-*-*.md                    # Computational complexity
    ├── T8-*-*.md                    # Cosmological applications
    ├── T9-*-*.md                    # Life and consciousness
    ├── T10-*-*.md                   # Recursive depth
    ├── T11-*-*.md                   # Emergence patterns
    ├── T12-*-*.md                   # Multi-scale physics unification
    ├── C1-*-*.md                    # Encoding corollaries
    ├── C2-*-*.md                    # Observation corollaries
    ├── C3-*-*.md                    # System evolution corollaries
    ├── C5-*-*.md                    # Application corollaries
    ├── C6-*-*.md                    # Cross-disciplinary corollaries
    ├── C7-*-*.md                    # Philosophical corollaries
    ├── C8-*-*.md                    # Physics unification corollaries
    ├── C9-*-*.md                    # Self-referential algebra
    ├── C10-*-*.md                   # Meta-mathematical structures
    ├── C11-*-*.md                   # Theory self-reflection
    ├── C12-*-*.md                   # Consciousness emergence
    ├── D1-*-*.md                    # Fundamental definitions
    ├── L1-*-*.md                    # Core lemmas
    ├── P1-P10.md                    # Basic propositions
    ├── M1-*-*.md                    # Meta-theorems
    ├── formal/                      # Formal specifications (107 files)
    ├── tests/                       # Unit tests (111 files)
    └── README.md                    # Complete theory guide

🧮 Binary Universe Theory System

The Binary Universe Theory System is a complete mathematical framework that derives the entire universe from a single axiom using rigorous formal methods. This represents one of the most ambitious attempts to create a unified theory of everything based on minimal foundational assumptions.

🎯 Core Philosophy

Single Axiom: 自指完备的系统必然熵增 (Self-referentially complete systems must increase entropy)

From this single principle, the theory rigorously derives:

  • Information encoding mechanisms (φ-representation)
  • Quantum phenomena and observer effects
  • Mathematical structures and critical phenomena
  • Consciousness emergence and multi-scale physics
  • Complete unification from information to awareness

📊 Theory Statistics

  • 118 Complete Theories: Comprehensive coverage from axiom to consciousness
  • 107 Formal Specifications: Machine-readable mathematical proofs
  • 111 Unit Tests: Complete verification and consistency checking
  • 18 Major Chapters: Systematic progression from foundations to applications
  • No-11 Binary Constraint: Discrete universe with optimal encoding

🏗️ Theoretical Architecture

The theory is organized into progressive chapters building from foundations:

  1. Chapter 1: Fundamental axiom and definitions
  2. Chapter 2: Information encoding necessity (T2 series)
  3. Chapter 3: Quantum phenomena emergence (T3 series)
  4. Chapter 4: Mathematical structure formation (T4 series)
  5. Chapter 5: Information theory applications (T5 series)
  6. Chapter 6: System completeness verification (T6 series)
  7. Chapter 7: Computational complexity (T7 series)
  8. Chapter 8: Cosmological applications (T8 series)
  9. Chapter 9: Life and consciousness emergence (T9 series)
  10. Chapter 10: Recursive depth theory (T10 series)
  11. Chapter 11: Emergence pattern analysis (T11 series)
  12. Chapter 12: Multi-scale physics unification (T12 series)

🔬 Verification Framework

Each theory includes:

  • Mathematical Definitions: Precise formal specifications
  • Rigorous Proofs: Complete logical derivations
  • Machine Tests: Automated verification via Python unit tests
  • Consistency Checks: Cross-theory compatibility verification
  • Formal Specifications: Machine-readable proof formats

🌟 Key Innovations

  • Unified Framework: Single axiom derives information, quantum mechanics, and consciousness
  • φ-Representation: Optimal binary encoding using Fibonacci-based no-11 constraint
  • Constructive Truth: Acknowledges theoretical construction while maintaining logical rigor
  • Complete Verification: Every theorem backed by formal proof and machine testing
  • Cross-Disciplinary: Applications spanning physics, mathematics, computer science, and philosophy

📖 Getting Started with Binary Universe Theory

  1. Begin with Philosophy: Read docs/binaryuniverse/philosophy.md
  2. Understand the Axiom: Study docs/binaryuniverse/A1-five-fold-equivalence.md
  3. Follow the Derivation: Progress through T1→T2→T3→T4 series for core foundations
  4. Explore Applications: Choose areas of interest (quantum, consciousness, mathematics)
  5. Verify Understanding: Run unit tests to see machine verification in action

🔗 Key Entry Points

🛠️ Development

Adding New Content

  1. Add markdown files to appropriate directories
  2. Update navigation in sidebars.ts if needed
  3. For bilingual content, add translations to i18n/zh-Hans/

TypeScript Check

npm run typecheck

Writing Translations

npm run write-translations

🤝 Contributing

For AllTheory Documentation Website:

  1. Fork the repository
  2. Create a feature branch
  3. Add content to docs/ directory
  4. Update navigation in sidebars.ts if needed
  5. Run tests: npm run build
  6. Submit a pull request

For Binary Universe Theory System:

  1. Fork the repository
  2. Create a feature branch
  3. Add new theories following the naming convention (e.g., T13-1-new-theorem.md)
  4. Create corresponding formal specification in docs/binaryuniverse/formal/
  5. Write unit tests in docs/binaryuniverse/tests/
  6. Run verification: cd docs/binaryuniverse/tests && python -m pytest
  7. Update theory index in docs/binaryuniverse/README.md
  8. Submit a pull request

Theory Development Guidelines:

  • All new theories must derive from the single axiom A1
  • Include formal mathematical definitions and proofs
  • Maintain logical consistency with existing theories
  • Provide machine-verifiable unit tests
  • Follow the established numbering system

🔍 Running Tests

Documentation Website Tests:

npm run build
npm run serve

Binary Universe Theory Tests:

cd docs/binaryuniverse/tests
python -m pytest -v                    # All tests
python -m pytest test_T12_3.py -v     # Specific theory test
python -m pytest test_consistency.py  # Cross-theory consistency

📄 License

This project is open source. See LICENSE file for details.


🌟 Final Thoughts

This repository represents a unique convergence of two complementary approaches to understanding reality:

AllTheory Documentation (ψ = ψ(ψ)): An intuitive, experiential exploration of self-referential collapse and consciousness emergence.

Binary Universe Theory System: A rigorous mathematical framework deriving everything from a single axiom using formal verification.

Together, they offer both the poetry and precision needed to explore the deepest questions about information, consciousness, and the nature of reality itself.

"自指完备的系统必然熵增 - From self-reference, the universe emerges"

"ψ = ψ(ψ) - The universe knowing itself through itself"