fa_slow_ai

Crates.iofa_slow_ai
lib.rsfa_slow_ai
version0.1.5
created_at2025-08-24 18:15:46.524377+00
updated_at2025-11-15 17:27:19.809448+00
descriptionA slow AI implementation using fractal algebra.
homepage
repositoryhttps://github.com/Neil-Crago/fa_slow_ai
max_upload_size
id1808646
size51,726
Neil Crago (Neil-Crago)

documentation

https://docs.rs/fa_slow_ai

README

Slow AI: A Quantum Resonance & Spacetime Curvature Simulation

Crates.io Docs.rs License: MIT OR Apache-2.0 Rust Rust Version Project Status

This project is a computational exploration of a novel philosophical framework: the idea that quantum mechanics is the semantic residue of a dimensional transition. It simulates a "toy universe" where quantum-like effects (entanglement, resonance) and general relativistic effects (spacetime curvature) are not just parallel systems, but are part of a single, co-evolving feedback loop.

The simulation evolves an AI from a simple probabilistic guesser into a sophisticated signal processor, which then becomes a participant in a universe where its actions can warp the very fabric of the space it inhabits.


Core Concepts

The project is built on a narrative of evolution, both for the AI and the simulation's physics.

  1. From Guesser to Analyst: The AI begins as a "Slow AI," a probabilistic explorer that relies on thousands of random guesses to find a resonant frequency. It then evolves into a "Deterministic Analyst," using waveform analysis to deduce the system's underlying rules from a small data sample.

  2. Signal in the Noise: The analyst is upgraded to a "Virtual Signal Processor." Using a Fast Fourier Transform (FFT), it learns to deconstruct a complex, noisy signal into its constituent pure waves, isolating the primary signal from interference. This models the search for coherence in a chaotic environment.

  3. The QM ↔ GR Feedback Loop: The final stage implements a feedback loop inspired by John Wheeler's summary of general relativity: "Spacetime tells matter how to move; matter tells spacetime how to curve."

    • Quantum Mechanics (QM): Multiple wave sources create interference patterns, representing "matter" or "energy" hotspots on a graph.
    • General Relativity (GR): These energy hotspots then "curve spacetime" by dynamically modifying the graph's connections, creating new shortcuts.
    • This new structure then affects how future waves propagate, completing the loop.

The Five Phases of the Simulation

The application runs a comprehensive test suite that demonstrates the entire evolutionary journey in five distinct parts:

  • Part 1: The "Slow AI" A simple, brute-force search for a resonant frequency, demonstrating the initial inefficient approach.

  • Part 2: The Waveform Analyst A deterministic analysis of a clean signal. The AI takes a small sample and derives the wave's equation to predict the peak.

  • Part 3: The Signal Processor The AI is presented with a noisy, multi-frequency signal. It uses an FFT to decompose the signal and correctly identify the primary frequency from the interference.

  • Part 4: The Interference Engine A test of the precision targeting system. Two in-phase wave sources are created on a line graph, and the simulation correctly shows a "hotspot" of constructive interference at the equidistant center point.

  • Part 5: The Feedback Loop The grand finale. The interference hotspot generated in the previous step is used to actively "curve" the graph, creating new connections and demonstrating the full QM ↔ GR feedback loop.


Getting Started

Prerequisites

  • Rust (latest stable version recommended)
  • Git

Understanding the Output

The program will print the results of each of the five phases to the console.

  • You will see the initial random search, followed by the successful prediction from the simple analyst.
  • Next, the FFT report will show the successful decomposition of the noisy signal.
  • Finally, you will see the "before" and "after" state of the graph, showing a hotspot being created at the center and then the graph's connections being physically altered by that hotspot's energy.

This project serves as a conceptual pathfinder, using a "rough model" to explore profound ideas about the nature of physics, memory, and information. Enjoy the simulation!

Related Crates

This crate is part of a collection of crates by the same author: These include:-

  • MOMA
  • MOMA_simulation_engine
  • tma_engine
  • factorial_engine
  • fractal_algebra

Related ML (Python)

To support this work I made use of the Excellent libraries available on python, and the Google AI API, please see the 'Smarter AI' repository on GitHub, (https://github.com/Neil-Crago/Smarter-AI), to use it, it's best to use JupyterLab.

Commit count: 2

cargo fmt