| Crates.io | fa_slow_ai |
| lib.rs | fa_slow_ai |
| version | 0.1.5 |
| created_at | 2025-08-24 18:15:46.524377+00 |
| updated_at | 2025-11-15 17:27:19.809448+00 |
| description | A slow AI implementation using fractal algebra. |
| homepage | |
| repository | https://github.com/Neil-Crago/fa_slow_ai |
| max_upload_size | |
| id | 1808646 |
| size | 51,726 |
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.
The project is built on a narrative of evolution, both for the AI and the simulation's physics.
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.
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.
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."
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.
The program will print the results of each of the five phases to the console.
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!
This crate is part of a collection of crates by the same author: These include:-
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.